Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3.1k
Description
Bug Report
The changes in #13445 introduced a lot of additional build-system requirements for environments that use PEP517 build environments (e.g. pypa/build and pypa/installer). This finds application in downstream distributions of mypy (i.e. all Linux distributions are affected by this).
If my understanding of PEP0517, PEP0518 and PEP0621 are correct, then apart from setuptools and wheel none of the other entries should be listed and instead be moved to other places in the pyproject.toml file.
To Reproduce
Run the following in e.g. this repo in a clean environment (only build, installer, setuptools and wheel installed) in this repository with release-0.980 or above:
python -m build --wheel --no-isolationExpected Behavior
The build process does not require test or runtime requirements to be installed.
Actual Behavior
* Getting build dependencies for wheel... running egg_info writing mypy.egg-info/PKG-INFO writing dependency_links to mypy.egg-info/dependency_links.txt writing entry points to mypy.egg-info/entry_points.txt writing requirements to mypy.egg-info/requires.txt writing top-level names to mypy.egg-info/top_level.txt reading manifest file 'mypy.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no directories found matching 'scripts' no previously-included directories found matching 'docs/build' no previously-included directories found matching 'docs/source/_build' warning: no previously-included files found matching '.gitmodules' warning: no previously-included files found matching 'CONTRIBUTING.md' warning: no previously-included files found matching 'CREDITS' warning: no previously-included files found matching 'ROADMAP.md' warning: no previously-included files found matching 'tox.ini' warning: no previously-included files found matching 'action.yml' warning: no previously-included files found matching '.editorconfig' warning: no previously-included files found matching '.git-blame-ignore-revs' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '.DS_Store' found anywhere in distribution adding license file 'LICENSE' writing manifest file 'mypy.egg-info/SOURCES.txt' ERROR Missing dependencies: types-psutil types-typed-ast<1.6.0,>=1.5.8 types-setuptools Your Environment
- Mypy version used: >= 0.981
- Mypy command-line flags: n/a
- Mypy configuration options from
mypy.ini(and other config files): n/a - Python version used: 3.10.8