Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

PyYAML 5.4.1 is broken, use PyYAML 5.3.1 instead #397

Open

Description

PyYAML version 5.4.1 is causing 'pip install gradient' to fail.

See: yaml/pyyaml#724

Solution is to use 5.3.1

ie., change line 70 in setup.py from PyYAML==5.* to PyYAML==5.3.*

×ばつ Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [62 lines of output] running egg_info writing lib3/PyYAML.egg-info/PKG-INFO writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt writing top-level names to lib3/PyYAML.egg-info/top_level.txt /private/var/folders/fd/b8flfqkj3_bf4hp3dnr1l2hh0000gn/T/pip-build-env-usxd2f4p/overlay/lib/python3.8/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. ********************************************************************************">
Collecting PyYAML==5.* (from gradient)
 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]
 running egg_info
 writing lib3/PyYAML.egg-info/PKG-INFO
 writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
 writing top-level names to lib3/PyYAML.egg-info/top_level.txt
 /private/var/folders/fd/b8flfqkj3_bf4hp3dnr1l2hh0000gn/T/pip-build-env-usxd2f4p/overlay/lib/python3.8/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.
 ********************************************************************************

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /