-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When trying to add maxi-lib to a project, and the project is simply set up with python 3.8, poetry will raise an error. Related to #16
Steps to reproduce the behavior
Create a repo and initialize with poetry
poetry init(and accept default, without adding main and development dependencies)
And then add maxi-lib:
poetry add git+https://github.com/dailab/MAXi-XAI-lib.gitYou should get following error:
The current project's Python requirement (>=3.8,<4.0) is not compatible with some of the required packages Python requirement:
- maxi requires Python >=3.8.0,<3.10, so it will not be satisfied for Python >=3.10,<4.0
Because <repo-name> depends on maxi (0.4.2) @ git+https://github.com/dailab/MAXi-XAI-lib.git@HEAD which requires Python >=3.8.0,<3.10, version solving failed.
• Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
For maxi, a possible solution would be to set the `python` property to ">=3.8,<3.10"
Minimum Acceptance Criteria
- When following the steps above, poetry should not raise an error when adding maxi-lib
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working