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

WARNING: isort 5.12.0 does not provide the extra.... #2088

Closed
kad99kev opened this issue Feb 8, 2023 · 4 comments · Fixed by #2089
Closed

WARNING: isort 5.12.0 does not provide the extra.... #2088

kad99kev opened this issue Feb 8, 2023 · 4 comments · Fixed by #2089

Comments

@kad99kev
Copy link

kad99kev commented Feb 8, 2023

Hello!

I apologise if this issue was already raised, I couldn't find anything on this topic so I decided to raise one myself.

Whenever I try to install the extras - pipfile_deprecated_finder and requirements_deprecated_finder, I get an warning saying:

WARNING: isort 5.12.0 does not provide the extra 'pipfile_deprecated_finder'
WARNING: isort 5.12.0 does not provide the extra 'requirements_deprecated_finder'

This doesn't stop installation, however, I get this error later:

pkg_resources.UnknownExtra: isort 5.12.0 has no such extra feature 'pipfile_deprecated_finder'

Can you please advice on why this might be happening? Thanks!

System info:

  • Windows platform
  • Ubuntu 22.04.1 LTS on WSL 2
  • Miniconda3
@staticdev
Copy link
Collaborator

staticdev commented Feb 9, 2023

Hello @kad99kev, these in fact were removed from latest versions. pyproject.toml has become basically the new standard for python dependencies so removal for a decision to make isort maintenance simpler. I see there is still some references on the readme, so I will make sure it is cleaned up. Thanks for alerting.

@kad99kev
Copy link
Author

Thanks for this @staticdev!

I am assuming, if there is another library that tries to install it via isort[requirements_deprecated_finder,pipfile_deprecated_finder], then pkg_resources would raise an issue? So the advice would be to simple do pip install isort?

Thanks once again!

@staticdev
Copy link
Collaborator

Exactly! pip install isort or if you use poetry poetry add isort

@staticdev
Copy link
Collaborator

@kad99kev I would even recommend to replace the files MANIFEST.in, requirements.txt, setup.cfg and setup.py in this project with pyproject.toml as recommended by PEP 517 and 518. This was done in isort project in 2019.

Some good references:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants