FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Adds `bdist_wininst` definition by sobolevn · Pull Request #7249 · python/typeshed · GitHub

Repository navigation

Adds bdist_wininst definition - #7249

Merged
JelleZijlstra merged 14 commits into
python:masterfrom
sobolevn:add-bdist_wininst
Feb 21, 2022
Merged

JelleZijlstra merged 14 commits into
python:masterfrom
sobolevn:add-bdist_wininst

Conversation

Copy link
Copy Markdown
Member

boolean_options: ClassVar[list[str]]
def initialize_options(self) -> None: ...
def finalize_options(self) -> None: ...
@abstractmethod

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I've also removed several redefinitions of run abstract method. It is defined in Command

from _typeshed import StrOrBytesPath
from typing import Any, ClassVar

if sys.version_info < (3, 10):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Instead of using this guard, the file should be added to VERSIONS.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It is already there:

distutils.command.bdist_wininst: 2.7-3.9

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

See my comments below 🙂

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'm not sure I see the comments you're referring to, but cf python/mypy#12083

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This comment has been minimized.

1 similar comment

This comment has been minimized.

This comment has been minimized.

1 similar comment

This comment has been minimized.

This comment has been minimized.

Copy link
Copy Markdown
Member Author

Ok, looks like this commit finally passes: ebca810

I pushed one more to test things without if sys.version_info: d2506c8

Copy link
Copy Markdown
Member Author

Yes, it failed 🎉

This comment has been minimized.

2 similar comments

This comment has been minimized.

This comment has been minimized.

Copy link
Copy Markdown
Member

We now run stubtest from mypy master with the VERSIONS fix, could you merge master and try removing the version check again?

This comment has been minimized.

1 similar comment

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Copy link
Copy Markdown
Member Author

Done!

JelleZijlstra merged commit 4d169ea into python:master Feb 21, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL