Skip to content

Commit 16ba8be

Browse files
committed
Use Cython < 3.1
Avoid: > breezy/bzr/_chk_map_pyx.pyx:43:0: 'cpython/int.pxd' not found > breezy/bzr/_chk_map_pyx.pyx:43:0: 'cpython/int/PyInt_AsUnsignedLongMask.pxd' not found
1 parent 7520cb0 commit 16ba8be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/synchronize-launchpad.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
. $venv_dir/bin/activate
2525
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> "$GITHUB_ENV"
2626
echo "$venv_dir/bin" >> "$GITHUB_PATH"
27-
pip install Cython configobj 'pip<23.1' # Use a pip version that still allows the legacy installation for this breezy version
27+
# Use a pip version that still allows the legacy installation for this breezy version
28+
# Use a Cython still having e.g. cpython/int.pxd (Python 2.x legacy)
29+
pip install 'pip<23.1' 'Cython<3.1' configobj
2830
pip install 'breezy[fastimport,git,launchpad]<3.3' # 3.3+ requires interactive login
2931
fastimport_dir=$venv_dir/lib/python*/site-packages/breezy/plugins/fastimport
3032
# Add missing import and use binary buffer of stdin for Python3 compat

0 commit comments

Comments
 (0)