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
pip install -r requirements.txt fails on Python 3.10 and 3.11 due to deprecated setup.cfg in pyyaml 5.4.1 using license_file instead of license_files . According to PyYaml this problem was fixed and recommended version is 6.0.1.
Fixing this issue may require to update requirements to accept pyyaml>=5.4.1.
How do you deploy Kubeflow Pipelines (KFP)? Private fork
KFP version: 1.8.19
KFP SDK version: 1.8.22
Steps to reproduce
$ pip install -r requirements.txt
Collecting PyYAML==5.4.1 (from -r requirements.txt (line 43))
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]
.../python3.9/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.
********************************************************************************
!!
...
AttributeError: cython_sources
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
Expected result
pip install -r requirements.txt installs all dependencies successfully.
Labels
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered:
ghost
changed the title
[bug] <Bug Name>
Deprecated setup.cfg used in [email protected] version not compatible with Python versions ^3.10
Aug 31, 2023
ghost
changed the title
Deprecated setup.cfg used in [email protected] version not compatible with Python versions ^3.10
Deprecated setup.cfg used in [email protected] version not compatible with Python versions 3.10 and above
Aug 31, 2023
Description
pip install -r requirements.txt
fails on Python 3.10 and 3.11 due to deprecated setup.cfg in pyyaml 5.4.1 usinglicense_file
instead oflicense_files
. According to PyYaml this problem was fixed and recommended version is 6.0.1.Fixing this issue may require to update requirements to accept
pyyaml>=5.4.1
.Materials and reference
yaml/pyyaml#724
Environment
Steps to reproduce
Expected result
pip install -r requirements.txt
installs all dependencies successfully.Labels
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: