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

python312Packages.check-manifest: missing runtime dependency on setuptools #325565

Closed
con-f-use opened this issue Jul 8, 2024 · 0 comments · Fixed by #325567
Closed

python312Packages.check-manifest: missing runtime dependency on setuptools #325565

con-f-use opened this issue Jul 8, 2024 · 0 comments · Fixed by #325567
Labels
0.kind: bug Something is broken

Comments

@con-f-use
Copy link
Contributor

Describe the bug

The Python package check-manifest has a runtime-dependency on setuptools that is not reflected in the nix expression.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Install check-manifest
  2. Run code that invokes any of the methods that use translate_pattern
Traceback (most recent call last):
  File "/nix/store/hv31qwd035iafm0xjc96dxf6qs91bf1r-devpi-client-7.0.2/bin/.devpi-wrapped", line 9, in <module>
    sys.exit(main())
             ^^^^^^
  File "/nix/store/hv31qwd035iafm0xjc96dxf6qs91bf1r-devpi-client-7.0.2/lib/python3.11/site-packages/devpi/main.py", line 42, in main
    hub, method = initmain(argv)
                  ^^^^^^^^^^^^^^
  File "/nix/store/hv31qwd035iafm0xjc96dxf6qs91bf1r-devpi-client-7.0.2/lib/python3.11/site-packages/devpi/main.py", line 54, in initmain
    mod = __import__(mod, None, None, ["__doc__"])
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/hv31qwd035iafm0xjc96dxf6qs91bf1r-devpi-client-7.0.2/lib/python3.11/site-packages/devpi/upload.py", line 9, in <module>
    import check_manifest
  File "/nix/store/22rfm3zfgazv7zpdw8aylwd2p7iw4akp-python3.11-check-manifest-0.49/lib/python3.11/site-packages/check_manifest.py", line 43, in <module>
    from setuptools.command.egg_info import translate_pattern
ModuleNotFoundError: No module named 'setuptools'

Notify maintainers

@nlewo


Add a 👍 reaction to issues you find important.

@con-f-use con-f-use added the 0.kind: bug Something is broken label Jul 8, 2024
con-f-use added a commit to con-f-use/nixpkgs that referenced this issue Jul 8, 2024
@con-f-use con-f-use changed the title python: check_manifest as a missing runtime dependency on setuptools python312Packages.check-manifest: missing runtime dependency on setuptools Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant