Skip to content

Commit a210b0c

Browse files
committed
Workaround for twine being uninstalable on freethreaded (cryphtography bad)
1 parent b6ecdc9 commit a210b0c

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/github-actions.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,8 +734,11 @@ jobs:
734734
verbose: true
735735
flags: ${{ matrix.tox_env }}
736736
- name: check wheel
737-
if: matrix.cibw_build
738-
run: twine check wheelhouse/*.whl
737+
if: >
738+
!matrix.cibw_ft && matrix.cibw_build
739+
run:
740+
python -mpip install --progress-bar=off twine
741+
twine check wheelhouse/*.whl
739742
- name: upload wheel
740743
uses: actions/upload-artifact@v4
741744
if: matrix.cibw_build

ci/templates/.github/workflows/github-actions.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,11 @@ jobs:
123123
verbose: true
124124
flags: {{ '${{ matrix.tox_env }}' }}
125125
- name: check wheel
126-
if: matrix.cibw_build
127-
run: twine check wheelhouse/*.whl
126+
if: >
127+
!matrix.cibw_ft && matrix.cibw_build
128+
run:
129+
python -mpip install --progress-bar=off twine
130+
twine check wheelhouse/*.whl
128131
- name: upload wheel
129132
uses: actions/upload-artifact@v4
130133
if: matrix.cibw_build

0 commit comments

Comments
 (0)