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

missing dependency on packaging #702

Closed
asottile opened this issue Aug 25, 2023 · 1 comment
Closed

missing dependency on packaging #702

asottile opened this issue Aug 25, 2023 · 1 comment
Assignees

Comments

@asottile
Copy link
Contributor

#696 contains an unconditional import of packaging which is not depended on by autopep8:

Traceback (most recent call last):
  File "/home/asottile/.cache/pre-commit/repoanrqz_f1/py_env-python3.10/bin/autopep8", line 5, in <module>
    from autopep8 import main
  File "/home/asottile/.cache/pre-commit/repoanrqz_f1/py_env-python3.10/lib/python3.10/site-packages/autopep8.py", line 87, in <module>
    from packaging.version import parse as parse_version
ModuleNotFoundError: No module named 'packaging'
@paugier
Copy link
Contributor

paugier commented Aug 26, 2023

Note that autopep8 2.0.3 is broken by this bug. It would be nice to quickly have a new release containing the fix.

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.

3 participants