Closed jcabraham closed 2 years ago
Thank you for reporting this issue, and please accept our apologies for our delay in providing a rigorous solution. This set of problems should be fully resolved with the commit linked above, which will be reflected in an upcoming new release including official wheels. Please let us know in case you have any trouble installing pyunicorn
from the current master
branch, in which case we will attempt to find a solution as quickly as possible.
Cython is now declared as a build dependency, which means that your Python package manager (e.g., pip
) is responsible for automatically providing the Cython compiler without any user intervention. After the package installation process is completed, Cython is not required as a runtime dependency. The version information is now retrieved via importlib.metadata
from the Python standard library.
This might be a regression, because this issue was raised in 2019. I assert that a clean install of pyunicorn won't run, as its init.py module calls setup.version, but setup (which is one directory above _init.py) is not on the path.
Error message:
test.py is from the pyunicorn website:
Dockerfile to reproduce this error:
[Bug report updated: removed install of curl, openjdk, apt-utils from Dockerfile]