Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poetry refuses to install isort > 5. #2764

Closed
3 tasks done
sfermigier opened this issue Aug 3, 2020 · 2 comments
Closed
3 tasks done

Poetry refuses to install isort > 5. #2764

sfermigier opened this issue Aug 3, 2020 · 2 comments
Labels
status/duplicate Duplicate issues

Comments

@sfermigier
Copy link

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

The project won't install, complaining that "isort requires Python >=3.6,<4.0", even when we are using Python 3.7 or Python 3.6.

@sfermigier sfermigier added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Aug 3, 2020
@finswimmer
Copy link
Member

Hello @sfermigier,

you've defined that your project is compatible to python>=3.7. So there is no upper boundary. But isort has one. Change

[tool.poetry.dependencies]
python = ">=3.7"

to

[tool.poetry.dependencies]
python = "^3.7"

Please see also my comment in #1930 (comment)

fin swimmer

@finswimmer finswimmer added status/duplicate Duplicate issues and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Aug 3, 2020
Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

2 participants