Skip to content

can't install pypacker

When I try to install pypacker I get the following error.

$ pip install pypacker
Collecting pypacker
  Using cached pypacker-5.1.tar.gz (625 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in pypacker setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.3.*'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I am using pip 22.3.1 and setuptools 67.0.0.

It looks like the invalid version specification stopped working with setuptools 66.0.0: https://github.com/pypa/setuptools/issues/3772

It looks like a problem in setup.py which has since been fixed. Are there plans to release 5.2?