Skip to content

Commit

Permalink
Stop limiting the PyYAML version
Browse files Browse the repository at this point in the history
The old releases of PyYAML does not ship wheels for Python 3.11.
Previously, there was a limitation in place to disallow v6 or higher.

Together with internal `setuptools` deprecations, this caused
`pip install` to fail building PyYAML from sdist. The patch addresses
that by dropping the upper version limit and making `pip` prefer
installing from wheels.

Fixes #64.
  • Loading branch information
felixfontein authored and webknjaz committed Jul 19, 2023
1 parent 4074f37 commit bb9e2b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,9 @@ runs:
;
python -m
pip install
'PyYAML>5,<6'
PyYAML
--disable-pip-version-check
--prefer-binary
--user
;
set +x
Expand Down

0 comments on commit bb9e2b5

Please sign in to comment.