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

make allow-prereleases a tri-state setting to really forbid pre-releases if the setting is false and keep default behavior to allow pre-releases only if necessary #9798

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

radoering
Copy link
Member

Pull Request Check List

Resolves: #8194
Requires: python-poetry/poetry-core#783

  • Added tests for changed code.
  • Updated documentation for changed code.

Values of allow-prereleases:

  • not set (default): only use pre-release versions if no stable version satisfies the constraint
  • false: do not allow pre-release versions even if this means there is no solution
  • true: do not distinguish between stable and pre-release versions

This PR does not change the default behavior or the behavior for true, but only the behavior for false.

Copy link

github-actions bot commented Nov 17, 2024

Deploy preview for website ready!

✅ Preview
https://website-7jrs01s7j-python-poetry.vercel.app

Built with commit 11d8ec4.
This pull request is being automatically deployed with vercel-action

@radoering radoering requested a review from a team November 17, 2024 21:05
…eases if the setting is `false` and keep default behavior to allow pre-releases only if necessary
@abn abn force-pushed the allow-pre-releases-tri-state branch from 380dc09 to 11d8ec4 Compare November 18, 2024 00:18
@abn abn enabled auto-merge (rebase) November 18, 2024 00:19
@abn abn disabled auto-merge November 18, 2024 00:24
@abn abn merged commit 4ea63a2 into python-poetry:main Nov 18, 2024
74 checks passed
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
impact/docs Contains or requires documentation changes
Projects
None yet
2 participants