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

Conversation

@bjones1
Copy link
Contributor

@bjones1 bjones1 commented Apr 3, 2023

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

… 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
@bjones1 bjones1 marked this pull request as ready for review April 3, 2023 19:48
@bjones1 bjones1 merged commit f9d32ee into RunestoneInteractive:master Apr 12, 2023
@bjones1 bjones1 deleted the fix-python-version branch April 12, 2023 14:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant