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

Stop pinning zipp by default in [pytest].pytest_plugins to reduce risk of issues with pip's new resolver #11512

Merged
merged 1 commit into from
Feb 2, 2021

Conversation

Eric-Arellano
Copy link
Contributor

Pip's new resolver now errors when a constraints.txt value != an explicit requirement, such as one provided via [pytest].pytest_plugins. This means that if a user has zipp in their constraints.txt, they must either pin to the old 2.1.0 or they must override the default for [pytest].pytest_plugins. Both are very non-obvious what to do.

We had pinned zipp as a convenience because it was unstable for some time, but it seems to have become more stable. It's been working robustly to use zipp 3.* in Toolchain. Now, this is likely to be much more of a gotcha and nuisance than a value-add to users. So, we stop pinning.

[ci skip-rust]
[ci skip-build-wheels]

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano merged commit 7a4952f into pantsbuild:master Feb 2, 2021
@Eric-Arellano Eric-Arellano deleted the zipp branch February 2, 2021 23:49
@benjyw
Copy link
Contributor

benjyw commented Feb 3, 2021

Iirc we had a performance issue with zipp. Was that why we pinned it?

@Eric-Arellano
Copy link
Contributor Author

I think. Also they blithely dropped Py2 support. But we haven't noticed any performance issues and TC has been using it for a while now thanks to the constraints file.

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