Skip to content

Commit 121fbd5

Browse files
authored
[github] Build Windows GUI with Python 3.10.2
1 parent 977a648 commit 121fbd5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ jobs:
5959
path: libretiny
6060

6161
- name: Set up Python Custom
62-
# Configure embedded Python 3.10 modified to work on Windows 7
62+
# Configure embedded Python 3.10.2 modified to work on Windows 7
6363
shell: cmd
6464
run: |
6565
mkdir python
6666
pushd python
67-
certutil -urlcache -split -f https://github.com/kuba2k2/cpython/releases/download/v3.10.0-win7/python-3.10.0-embed-amd64-win7.zip python.zip || exit /b
67+
certutil -urlcache -split -f https://github.com/kuba2k2/cpython/releases/download/v3.10.2-win7/python-3.10.2-embed-amd64-win7.zip python.zip || exit /b
6868
tar -xf python.zip || exit /b
6969
certutil -urlcache -split -f https://bootstrap.pypa.io/get-pip.py get-pip.py || exit /b
7070
python get-pip.py || exit /b
@@ -104,10 +104,8 @@ jobs:
104104
105105
- name: Build GUI with PyInstaller
106106
shell: cmd
107-
# First patch dis.py which causes issues in Python 3.10.0
108107
run: |
109108
set PATH=%cd%\python;%PATH%
110-
python -c "s='arg = None';x=open('python/Lib/dis.py').read().replace(s, s+'\n'+' '*12+'extended_arg = 0');open('python/Lib/dis.py', 'w').write(x)"
111109
python gui-win32.py || exit /b
112110
113111
- name: Add GitHub release assets

0 commit comments

Comments
 (0)