Skip to content

Conversation

@henryiii
Copy link
Contributor

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

@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