You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the setup script on environment with up-to-date Python, the latest Cython version (3.0.0) causing the following error while installing PyYAML package:
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [62 lines of output]
/tmp/pip-build-env-peey6o5u/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in setup.cfg
!!
********************************************************************************
The license_file parameter is deprecated, use license_files instead.
By 2023-Oct-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
parsed = self.parsers.get(option_name, lambda x: x)(value)
When running the setup script on environment with up-to-date Python, the latest Cython version (3.0.0) causing the following error while installing PyYAML package:
`
Collecting PyYAML<6.0.0 (from tdp-lib@ git+https://github.com/TOSIT-IO/[email protected]>tdp-server==0.1.0)
Using cached PyYAML-5.4.1.tar.gz (175 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [62 lines of output]
/tmp/pip-build-env-peey6o5u/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in
setup.cfg
!!
`
There are several discussions recently mentioning this error and the solution to fix it:
yaml/pyyaml#736 - The ticket on PyYAML repo
https://discuss.python.org/t/getting-requirements-to-build-wheel-did-not-run-successfully-exit-code-1/30365 - a generic Python discussion forum
The solution proposed is to add a
constraints.txt
file that limit the version of Cython to be below 3.0.0.This file will remain useful later for further constraints regarding other packages.
The text was updated successfully, but these errors were encountered: