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

Move Python upper bound to internal Poetry metadata #249

Merged
merged 1 commit into from
Feb 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ classifiers = [
# https://pypi.org/classifiers/
"Private :: Do Not Upload",
]
# Some packages, such as scipy, constrain their upper bound of Python versions they support.
# Without also constraining the upper bound here, Poetry will not select those versions and will
# result in an old version being resolved/locked.
requires-python = ">=3.9, <3.14"
requires-python = ">=3.9"
dependencies = [
"rich",
"typer-slim[standard]"
Expand All @@ -47,6 +44,13 @@ requires-poetry = ">=2.0.1"
# and replace it with:
# package-mode = false

[tool.poetry.dependencies]
# Some packages, such as scipy, constrain their upper bound of Python versions they support.
# Without also constraining the upper bound during resolution, Poetry will not select those
# versions and will result in an old version being resolved/locked.
# https://python-poetry.org/docs/pyproject/#requires-python
python = ">=3.9,<3.14"

[tool.poetry.requires-plugins]
poetry-plugin-export = ">=1.8"

Expand Down