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
(and accept default, without adding main and development dependencies)
And then add maxi-lib:
poetry add git+https://github.com/dailab/MAXi-XAI-lib.git
You 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
Description
When trying to add
maxi-libto a project, and the project is simply set up with python 3.8, poetry will raise an error. Related to #16Steps to reproduce the behavior
Create a repo and initialize with
poetry(and accept default, without adding main and development dependencies)
And then add maxi-lib:
You should get following error:
Minimum Acceptance Criteria