8000 fix: add missing distribution to distutils cmd by henryiii · Pull Request #9893 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

fix: add missing distribution to distutils cmd #9893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

henryiii
Copy link
Contributor

This is the first thing __init__ does with distribution, and it was missing.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

sphinx (https://github.com/sphinx-doc/sphinx)
- sphinx/setup_command.py:107:26: error: "BuildDoc" has no attribute "distribution"  [attr-defined]
+ sphinx/setup_command.py:107:26: error: "Distribution" has no attribute "verbose"  [attr-defined]

isort (https://github.com/pycqa/isort)
- isort/setuptools_commands.py:34: error: "ISortCommand" has no attribute "distribution"; maybe "distribution_files"?  [attr-defined]
- isort/setuptools_commands.py:35: error: "ISortCommand" has no attribute "distribution"; maybe "distribution_files"?  [attr-defined]
- isort/setuptools_commands.py:36: error: "ISortCommand" has no attribute "distribution"; maybe "distribution_files"?  [attr-defined]
- isort/setuptools_commands.py:44: error: "ISortCommand" has no attribute "distribution"; maybe "distribution_files"?  [attr-defined]
- isort/setuptools_commands.py:45: error: "ISortCommand" has no attribute "distribution"; maybe "distribution_files"?  [attr-defined]
+ isort/setuptools_commands.py:34: error: "Distribution" has no attribute "packages"  [attr-defined]
+ isort/setuptools_commands.py:35: error: "Distribution" has no attribute "package_dir"  [attr-defined]
+ isort/setuptools_commands.py:36: error: "Distribution" has no attribute "packages"  [attr-defined]
+ isort/setuptools_commands.py:44: error: "Distribution" has no attribute "py_modules"  [attr-defined]
+ isort/setuptools_commands.py:45: error: "Distribution" has no attribute "py_modules"  [attr-defined]

@AlexWaygood AlexWaygood merged commit ed1fd8f into python:main Mar 16, 2023
@henryiii henryiii deleted the henryiii/chore/distribution branch March 16, 2023 20:22
@henryiii
Copy link
Contributor Author

The missing attribute stuff should be fixed by #9895.

@henryiii
Copy link
Contributor Author

FYI, these PRs caught a mistake already: https://github.com/scikit-build/scikit-build-core/pull/231/files#r1140613496 :)

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.

2 participants
0