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

Feat: select correct pre-releases #4

Closed
tdejager opened this issue Sep 25, 2023 · 1 comment
Closed

Feat: select correct pre-releases #4

tdejager opened this issue Sep 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@tdejager
Copy link
Contributor

Description

We want to select pre-releases if:

  • They are specified in a VersionSet like described in PEP440 e.g foo >= 2.0a1.

But we will not select them if:

  • The same dependency is used somewhere in the resolution that does not depend on pre-releases. In that case even though another candidate does depend on it we will not use it.

We will also add a global setting that specifies whether we want to allow pre-releases for a specific package, this entails that it might break some packages that do not support this, but you will not really know until you try it.

Execution

Add support for the pre-releases to PypiVersionSet, this means checking the global parameter and change reading of the verision bounds to allow pre-releases as described in PEP440.

@tdejager
Copy link
Contributor Author

Does not make a lot sense anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant