-
-
Notifications
You must be signed in to change notification settings - Fork 646
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
Lockfiles: figure out invalidation for additional_lockfile_args
like manylinux
#12832
Comments
I think it's buggy that we have not been including The issue is users may not realize they need to manually run All other args are accounted for: interpreter constraints, requirements, and constraints files. |
Sounds right. |
… more powerful `[python].resolves_to_only_binary` and `[python].resolves_to_no_binary` (#16513) Part of the per-resolve config project at https://docs.google.com/document/d/1HAvpSNvNAHreFfvTAXavZGka-A3WWvPuH0sMjGUCo48/edit. We already with multiple resolves allow you to have conflicting versions of the same requirement, e.g. Django 2 vs Django 3. So, it's useful to also allow those resolves to set different options for `--no-binary` and `--only-binary`, as you might only need it for certain versions of a project or for certain contexts. This only works with Pex lockfiles, with similar reasoning to why we closed #16476. This adds the options to the lockfile header, making progress on #12832.
Prework for: 1) Adding per-resolve options for `[python-repos].{repos,indexes}` and `[python].manylinux` 2) Wiring up these 3 options to lockfile header metadata #12832 End behavior is the same. [ci skip-rust] [ci skip-build-wheels]
…16525) Closes #12832. It was a bug that changing `[python-repos].{indexes,repos}` and `[python].resolver_manylinux` did not invalidate lockfiles -- those options could impact the lock result! V2 of lockfile metadata will continue to work the same as before. Next time someone runs `generate-lockfiles` though, they will get the new v3 lockfile header. [ci skip-rust] [ci skip-build-wheels]
… more powerful `[python].resolves_to_only_binary` and `[python].resolves_to_no_binary` (pantsbuild#16513) Part of the per-resolve config project at https://docs.google.com/document/d/1HAvpSNvNAHreFfvTAXavZGka-A3WWvPuH0sMjGUCo48/edit. We already with multiple resolves allow you to have conflicting versions of the same requirement, e.g. Django 2 vs Django 3. So, it's useful to also allow those resolves to set different options for `--no-binary` and `--only-binary`, as you might only need it for certain versions of a project or for certain contexts. This only works with Pex lockfiles, with similar reasoning to why we closed pantsbuild#16476. This adds the options to the lockfile header, making progress on pantsbuild#12832.
Prework for: 1) Adding per-resolve options for `[python-repos].{repos,indexes}` and `[python].manylinux` 2) Wiring up these 3 options to lockfile header metadata pantsbuild#12832 End behavior is the same. [ci skip-rust] [ci skip-build-wheels]
…antsbuild#16525) Closes pantsbuild#12832. It was a bug that changing `[python-repos].{indexes,repos}` and `[python].resolver_manylinux` did not invalidate lockfiles -- those options could impact the lock result! V2 of lockfile metadata will continue to work the same as before. Next time someone runs `generate-lockfiles` though, they will get the new v3 lockfile header. [ci skip-rust] [ci skip-build-wheels]
See #12807.
The text was updated successfully, but these errors were encountered: