Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit ddd9706

Browse files
committed
Fix: Keep Python version in sync with the Python version specified by the BookServer. This avoids the following Poetry dependency resolution error:
root@aa3d58697a6d:/srv/web2py/applications/runestone# poetry update Updating dependencies Path /srv/bookserver-dev for bookserver-dev does not exist Path /srv/runestone-dev for runestone-dev does not exist Resolving dependencies... (1.6s) The current project's Python requirement (>=3.8.5,<4.0.0) is not compatible with some of the required packages Python requirement: - bookserver requires Python ^3.9.0, so it will not be satisfied for Python >=3.8.5,<3.9.0 Because runestone-poetry-project depends on bookserver (1.5.1) @ file:///srv/BookServer which requires Python ^3.9.0, version solving failed. • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties For bookserver, a possible solution would be to set the `python` property to ">=3.9.0,<4.0.0" https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies, https://python-poetry.org/docs/dependency-specification/#using-environment-markers
1 parent 4f4ede1 commit ddd9706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Paver = ">= 1.2.4"
4444
pgcli = "^3.0.0"
4545
psycopg2-binary = "^2.0.0"
4646
pylint = ">= 1.2.1"
47-
python = ">= 3.8.5, < 4.0.0"
47+
python = "^3.9.0"
4848
python-dateutil = ">= 2.4.2"
4949
pytz = ">= 2016.6.1"
5050
requests = ">= 2.10.0"

0 commit comments

Comments
 (0)