This repository was archived by the owner on Jun 30, 2024. It is now read-only.
Commit ddd9706
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-markers1 parent 4f4ede1 commit ddd9706
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments