Skip to content

Cannot initialize project with poetry #501

Closed
@cbrnr

Description

@cbrnr

I just wanted to start developing, and after cloning the repo I did poetry install. After more than a minute, I received the following error(s):

❯ poetry install
Updating dependencies
Resolving dependencies... (66.6s)

The current project's supported Python range (>=3.7) is not compatible with some of the required packages Python requirement:
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.7.1, so it will not be satisfied for Python >=3.7,<3.7.1
  - pandas requires Python >=3.7.1, so it will not be satisfied for Python >=3.7,<3.7.1
  - pandas requires Python >=3.7.1, so it will not be satisfied for Python >=3.7,<3.7.1
  - pandas requires Python >=3.7.1, so it will not be satisfied for Python >=3.7,<3.7.1
  - pandas requires Python >=3.7.1, so it will not be satisfied for Python >=3.7,<3.7.1
  - pandas requires Python >=3.7.1, so it will not be satisfied for Python >=3.7,<3.7.1
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.8, so it will not be satisfied for Python >=3.7,<3.8
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9
  - pandas requires Python >=3.9, so it will not be satisfied for Python >=3.7,<3.9

Because no versions of pandas match >1.3.0,<1.3.1 || >1.3.1,<1.3.2 || >1.3.2,<1.3.3 || >1.3.3,<1.3.4 || >1.3.4,<1.3.5 || >1.3.5,<1.4.0 || >1.4.0,<1.4.1 || >1.4.1,<1.4.2 || >1.4.2,<1.4.3 || >1.4.3,<1.4.4 || >1.4.4,<1.5.0 || >1.5.0,<1.5.1 || >1.5.1,<1.5.2 || >1.5.2,<1.5.3 || >1.5.3,<2.0.0 || >2.0.0,<2.0.1 || >2.0.1,<2.0.2 || >2.0.2,<2.0.3 || >2.0.3,<2.1.0 || >2.1.0,<2.1.1 || >2.1.1,<2.1.2 || >2.1.2,<2.1.3 || >2.1.3,<2.1.4 || >2.1.4,<2.2.0 || >2.2.0,<2.2.1 || >2.2.1,<2.2.2 || >2.2.2,<2.2.3 || >2.2.3
 and pandas (1.3.0) requires Python >=3.7.1, pandas is forbidden.
And because pandas (1.3.1) requires Python >=3.7.1
 and pandas (1.3.2) requires Python >=3.7.1, pandas is forbidden.
And because pandas (1.3.3) requires Python >=3.7.1
 and pandas (1.3.4) requires Python >=3.7.1, pandas is forbidden.
And because pandas (1.3.5) requires Python >=3.7.1
 and pandas (1.4.0) requires Python >=3.8, pandas is forbidden.
And because pandas (1.4.1) requires Python >=3.8
 and pandas (1.4.2) requires Python >=3.8, pandas is forbidden.
And because pandas (1.4.3) requires Python >=3.8
 and pandas (1.4.4) requires Python >=3.8, pandas is forbidden.
And because pandas (1.5.0) requires Python >=3.8
 and pandas (1.5.1) requires Python >=3.8, pandas is forbidden.
And because pandas (1.5.2) requires Python >=3.8
 and pandas (1.5.3) requires Python >=3.8, pandas is forbidden.
And because pandas (2.0.0) requires Python >=3.8
 and pandas (2.0.1) requires Python >=3.8, pandas is forbidden.
And because pandas (2.0.2) requires Python >=3.8
 and pandas (2.0.3) requires Python >=3.8, pandas is forbidden.
And because pandas (2.1.0) requires Python >=3.9
 and pandas (2.1.1) requires Python >=3.9, pandas is forbidden.
And because pandas (2.1.2) requires Python >=3.9
 and pandas (2.1.3) requires Python >=3.9, pandas is forbidden.
And because pandas (2.1.4) requires Python >=3.9
 and pandas (2.2.0) requires Python >=3.9, pandas is forbidden.
And because pandas (2.2.1) requires Python >=3.9
 and pandas (2.2.2) requires Python >=3.9, pandas is forbidden.
So, because pandas (2.2.3) requires Python >=3.9
 and wfdb depends on pandas (>=1.3.0), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For pandas, a possible solution would be to set the `python` property to ">=3.9"
    For pandas, a possible solution would be to set the `python` property to ">=3.9"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.7.1"
    For pandas, a possible solution would be to set the `python` property to ">=3.7.1"
    For pandas, a possible solution would be to set the `python` property to ">=3.7.1"
    For pandas, a possible solution would be to set the `python` property to ">=3.7.1"
    For pandas, a possible solution would be to set the `python` property to ">=3.7.1"
    For pandas, a possible solution would be to set the `python` property to ">=3.7.1"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.8"
    For pandas, a possible solution would be to set the `python` property to ">=3.9"
    For pandas, a possible solution would be to set the `python` property to ">=3.9"
    For pandas, a possible solution would be to set the `python` property to ">=3.9"
    For pandas, a possible solution would be to set the `python` property to ">=3.9"
    For pandas, a possible solution would be to set the `python` property to ">=3.9"
    For pandas, a possible solution would be to set the `python` property to ">=3.9"
    For pandas, a possible solution would be to set the `python` property to ">=3.9"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

So the version range of pandas does not match the one from this project.

However, Poetry has several issues that make it a suboptimal choice for managing a Python project (the most serious is that is completely ignores standards agreed upon by the Python community). Therefore, would you be open to using a different tool that does support the official pyproject.toml specifications?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions