Subject: python-peachpy is broken

From: Sebastian Gibb <[email-masked]>
Date: Fri, 27 May 2022 07:24:19 +0200

Hi,

the python-peachpy package fails to build in the current available version
python-peachpy-0.2.0-1.906d578, see
http://ci.guix.gnu.org/build/851814/details

Please find the error message below. While I don't understand python I believe
the problem is fixed upstream with the following commit:
https://github.com/Maratyszcza/PeachPy/commit/eaa2eaef5e4f00bc61d0bc9dafbfda13518c7c57

It would be great if the python-peachpy package could be updated to the latest
upstream version.

Thanks in advance,

Sebastian

---
[...]
running "python setup.py" with command "build" and parameters ()
running build
running generate
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 50, in <module>
    setup(
  File "/gnu/store/w0g4h4qilvi99ypg9kn9j3sw0qv4lmsc-python-setuptools-62.0.0/lib/python3.9/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
  File "/gnu/store/w0g4h4qilvi99ypg9kn9j3sw0qv4lmsc-python-setuptools-62.0.0/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 148, in setup
    return run_commands(dist)
  File "/gnu/store/w0g4h4qilvi99ypg9kn9j3sw0qv4lmsc-python-setuptools-62.0.0/lib/python3.9/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
    dist.run_commands()
  File "/gnu/store/w0g4h4qilvi99ypg9kn9j3sw0qv4lmsc-python-setuptools-62.0.0/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
    self.run_command(cmd)
  File "/gnu/store/w0g4h4qilvi99ypg9kn9j3sw0qv4lmsc-python-setuptools-62.0.0/lib/python3.9/site-packages/setuptools/dist.py", line 1214, in run_command
    super().run_command(command)
  File "/gnu/store/w0g4h4qilvi99ypg9kn9j3sw0qv4lmsc-python-setuptools-62.0.0/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "setup.py", line 17, in run
    self.run_command("generate")
  File "/gnu/store/w0g4h4qilvi99ypg9kn9j3sw0qv4lmsc-python-setuptools-62.0.0/lib/python3.9/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/gnu/store/w0g4h4qilvi99ypg9kn9j3sw0qv4lmsc-python-setuptools-62.0.0/lib/python3.9/site-packages/setuptools/dist.py", line 1214, in run_command
    super().run_command(command)
  File "/gnu/store/w0g4h4qilvi99ypg9kn9j3sw0qv4lmsc-python-setuptools-62.0.0/lib/python3.9/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
    cmd_obj.run()
  File "setup.py", line 41, in run
    src_dir = os.path.abspath(self.distribution.package_dir[""])
KeyError: ''
[...]
---