Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

PyYAML dependency - old version uses deprecated calls #87

@JStatnekov

Description

@JStatnekov

I'm unable to "pip3 install cyclonedx-conan" because of an error from the PyYAML dependency. This blocking error occurs on Windows 10 with pip3 23.2 and setuptools 65.5.0 and I was able to reproduce the error in a docker image of RH8 with pip 23.1 and setuptools 59.6.0.

The top portion of the error is:

Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [68 lines of output] C:\Users\jacob\AppData\Local\Temp\pip-build-env-ftq_rhqy\overlay\Lib\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. ********************************************************************************

I suspect that updating the PyYAML dependency from 5.4.1 to something more recent would resolve this issue since I'm unable to "pip install PyYAML==5.4.1" (because of the same error as above) but "pip install PyYAML==6.0" installs uneventfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions