Skip to content

Commit

Permalink
Move Python upper bound to internal Poetry metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthagen committed Feb 2, 2025
1 parent b0ff818 commit 261aa9e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
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

0 comments on commit 261aa9e

Please sign in to comment.