Skip to content
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

Remove flake8-noqa from test-requirements.txt #138

Merged
merged 2 commits into from
Apr 12, 2023
Merged

Conversation

AlexWaygood
Copy link
Member

@AlexWaygood AlexWaygood commented Apr 12, 2023

flake-noqa depends on typing_extensions: https://github.com/plinss/flake8-noqa/blob/96577399165432b72dbb4b28049d273df595f264/pyproject.toml#L26-L29

That means that, following #133, running pip install -r test-requirements.txt installs an old version of typing_extensions from PyPI into site-packages, which then takes precedence over your local version of typing_extensions when you run a script that does import typing_extensions locally. This caused me a fair bit of confusion while testing #137 locally :)

@srittau srittau merged commit 4dfc5c5 into python:main Apr 12, 2023
@AlexWaygood AlexWaygood deleted the noqa branch April 12, 2023 12:23
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