Skip to content

Commit 4b20019

Browse files
Fix PyYAML Checks (#145)
* Fix PyYAML Checks * fix: test another fix * fix: add the Cython pin to the static checks * fix: add the fix to the tests * docs: changelog
1 parent 1b42135 commit 4b20019

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/pr_checks.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ jobs:
5050
python-version: "3.10.11"
5151
cache: "pip"
5252

53+
- name: Pin Cython
54+
run: |
55+
echo 'Cython < 3.0' > /tmp/constraint.txt
56+
PIP_CONSTRAINT=/tmp/constraint.txt pip wheel PyYAML==5.4.1
57+
pip install 'PyYAML==5.4.1'
58+
5359
- name: Install Package
5460
run: pip install .
5561

@@ -72,6 +78,12 @@ jobs:
7278
python-version: ${{ env.DEFAULT_PYTHON_VERSION }}
7379
cache: "pip"
7480

81+
- name: Pin Cython
82+
run: |
83+
echo 'Cython < 3.0' > /tmp/constraint.txt
84+
PIP_CONSTRAINT=/tmp/constraint.txt pip wheel PyYAML==5.4.1
85+
pip install 'PyYAML==5.4.1'
86+
7587
- name: Install Nox
7688
run: pip install nox
7789

@@ -96,6 +108,12 @@ jobs:
96108
python-version: ${{ matrix.python_version }}
97109
cache: "pip"
98110

111+
- name: Pin Cython
112+
run: |
113+
echo 'Cython < 3.0' > /tmp/constraint.txt
114+
PIP_CONSTRAINT=/tmp/constraint.txt pip wheel PyYAML==5.4.1
115+
pip install 'PyYAML==5.4.1'
116+
99117
- name: Install Nox
100118
run: pip install nox
101119

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ The types of changes are:
1919
### Fixed
2020

2121
- Don't allow duplicate entries for DatasetCollections as part of Datasets [#136](https://github.com/ethyca/fideslang/pull/136)
22+
- Cython/PyYAML versions breaking builds [#145](https://github.com/ethyca/fideslang/pull/145)
2223

2324
## [1.4.3](https://github.com/ethyca/fideslang/compare/1.4.2...1.4.3)
2425

0 commit comments

Comments
 (0)