Skip to content

Commit d6ea8de

Browse files
committed
Fix failing tests in sdist workflows
1 parent 6e691b3 commit d6ea8de

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/sdist.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ name: sdist
22
on: [push, pull_request]
33
jobs:
44
sdist:
5-
runs-on: ubuntu-latest
5+
# Avoid Ubuntu 24.04 in sdist workflows, because it contains libxmlsec1-dev
6+
# v1.2.39, which has a bug that causes tests/test_pkcs11.py to fail.
7+
# (It thinks the softhsm engine has a public key instead of a private key.)
8+
# libxmlsec1 <=1.2.33 or >=1.2.42 works. TODO: Try 26.04 when available.
9+
runs-on: ubuntu-22.04
610
strategy:
711
matrix:
812
python: ["3.9", "3.10", "3.11", "3.12", "3.13"]

.github/workflows/wheels.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ permissions: {}
1919

2020
jobs:
2121
sdist:
22-
runs-on: ubuntu-latest
22+
# Avoid Ubuntu 24.04 in sdist workflows, because it contains libxmlsec1-dev
23+
# v1.2.39, which has a bug that causes tests/test_pkcs11.py to fail.
24+
# (It thinks the softhsm engine has a public key instead of a private key.)
25+
# libxmlsec1 <=1.2.33 or >=1.2.42 works. TODO: Try 26.04 when available.
26+
runs-on: ubuntu-22.04
2327

2428
permissions:
2529
contents: write

0 commit comments

Comments
 (0)