You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7e5cd95
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/workflows/release.yaml
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,10 @@ on:
5
5
- 'v*.*.*'
6
6
permissions:
7
7
contents: write
8
+
# Pin Ubuntu 24.04. ubuntu-latest now resolves to 26.04.
8
9
jobs:
9
10
ui-build:
10
-
runs-on: ubuntu-latest
11
+
runs-on: ubuntu-24.04
11
12
steps:
12
13
- uses: actions/checkout@v7
13
14
- uses: actions/setup-node@v7
@@ -29,7 +30,7 @@ jobs:
29
30
30
31
publish:
31
32
needs: ui-build
32
-
runs-on: ubuntu-latest
33
+
runs-on: ubuntu-24.04
33
34
steps:
34
35
- uses: actions/checkout@v7
35
36
- name: Download UI build artifact
@@ -40,9 +41,13 @@ jobs:
40
41
- name: Set up Python
41
42
uses: actions/setup-python@v7
42
43
with:
43
-
python-version: '3.10'
44
+
# 3.13.17+ bundles pip 26.2.2+, which no longer trusts the compromised eMudhra/emSign root CA.
45
+
python-version: '3.13'
44
46
- name: Install uv
45
47
uses: astral-sh/setup-uv@v7
48
+
- name: Check pip includes the eMudhra/emSign CA removal
49
+
run: |
50
+
python -c "import sys, pip; v = tuple(int(p) for p in pip.__version__.split('.')[:3]); sys.exit(0 if v >= (26, 2, 2) else f'pip {pip.__version__} predates the eMudhra/emSign CA removal; need >= 26.2.2')"
46
51
- name: Install build dependencies
47
52
run: pip install build twine setuptools_scm
48
53
- name: Publish Python package
@@ -59,7 +64,7 @@ jobs:
59
64
run: unset TWINE_USERNAME TWINE_PASSWORD && make publish-tests
0 commit comments