Skip to content

Daily tests failed on Thu Feb 23 2023 #9799

Closed

Description

@github-actions

Activity

  1. added
    help wantedAn actionable problem of low to medium complexity where a PR would be very welcome
    on Feb 23, 2023
  2. AlexWaygood commented on Feb 23, 2023

    @AlexWaygood
    Member

    setuptools:

    error: setuptools._distutils.core.Distribution.announce is inconsistent, runtime argument "level" has a default value of 20, which is different from stub argument default 2
    Stub: at line 106 in file /home/runner/work/typeshed/typeshed/stubs/setuptools/setuptools/_distutils/core.pyi
    def (self: distutils.dist.Distribution, msg: Any, level: Any =)
    Runtime: at line 960 in file /tmp/tmpdwtx47d7/lib/python3.10/site-packages/setuptools/_distutils/dist.py
    def (self, msg, level=20)
    

    #9795 would fix it.

    Or we could remove the default value here, and that would also fix it:

    def announce(self, msg, level=2) -> None: ...

    Or we could change this line, so that we no longer pretend that setuptools's Distribution class is the same as the stdlib's Distribution class:

    from distutils.dist import Distribution as Distribution

  3. added a commit that references this issue on Feb 23, 2023
    897ede1
  4. added a commit that references this issue on Feb 23, 2023
    f6df5b5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedAn actionable problem of low to medium complexity where a PR would be very welcome

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions