Skip to content

Commit 5d842f7

Browse files
committed
WxPython.org is down, update Guthub actions to avoid using it.
1 parent 789384f commit 5d842f7

9 files changed

Lines changed: 10 additions & 32 deletions

File tree

.github/workflows/appimage-x86_64.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ jobs:
8585
python --version
8686
pip install -U pip
8787
pip install -U six wheel setuptools
88-
pip install --only-binary wxPython -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython==4.2.2 || \
89-
pip install --only-binary wxPython -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython==4.2.1 || \
90-
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython
88+
pip install -U wxPython==4.2.2
9189
pip install -r requirements.txt
9290
python --version && pip freeze
9391
./build.sh

.github/workflows/mint_21_1.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Install wxPython
7373
run: |
74-
python3 -m pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/wxPython-4.2.0-cp310-cp310-linux_x86_64.whl
74+
python3 -m pip install wxPython==4.2.2
7575
7676
- name: Install requirements
7777
run: python3 -m pip install -r requirements.txt

.github/workflows/ubuntu_20_04.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ jobs:
8282
python --version
8383
pip install -U pip
8484
pip install -U six wheel setuptools
85-
# Try wxPython 4.2.2 wheel, then 4.2.1 wheel, finally fallback to source if both fail
86-
pip install --only-binary wxPython -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 wxPython==4.2.2 || \
87-
pip install --only-binary wxPython -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 wxPython==4.2.1 || \
88-
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04 wxPython
85+
pip install -U wxPython==4.2.2
8986
pip install -r requirements.txt
9087
python --version && pip freeze
9188
./build.sh

.github/workflows/ubuntu_22_04.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@ jobs:
8282
python --version
8383
pip install -U pip
8484
pip install -U six wheel setuptools
85-
# Try wxPython 4.2.2 wheel, then 4.2.1 wheel, finally fallback to source if both fail
86-
pip install --only-binary wxPython -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython==4.2.2 || \
87-
pip install --only-binary wxPython -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython==4.2.1 || \
88-
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04 wxPython
85+
pip install -U wxPython==4.2.2
8986
pip install -r requirements.txt
9087
python --version && pip freeze
9188
./build.sh

.github/workflows/ubuntu_24_04.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ jobs:
8484
python --version
8585
pip install -U pip
8686
pip install -U six wheel setuptools
87-
# Try wxPython 4.2.2 wheel, then 4.2.1 wheel, finally fallback to source if both fail
88-
pip install --only-binary wxPython -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-24.04 wxPython==4.2.2 || \
89-
pip install --only-binary wxPython -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-24.04 wxPython==4.2.1 || \
90-
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-24.04 wxPython
87+
pip install -U wxPython==4.2.2
9188
pip install -r requirements.txt
9289
python --version && pip freeze
9390
./build.sh

.github/workflows/windows-arm64.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,9 @@ jobs:
6969
& $venvPython -m pip install --upgrade pip
7070
& $venvPip install --upgrade setuptools wheel build delvewheel requests
7171
72-
# Download and manually extract ARM64 wheel to bypass pip platform checks
73-
# Use explicit site-packages path in venv
74-
$sitePackages = ".\myenv\Lib\site-packages"
75-
Write-Host "Site-packages: $sitePackages"
76-
curl -L -o wxpython.whl "https://wxpython.org/Phoenix/snapshot-builds/wxpython-4.2.45988+6573a469-cp313-cp313-win_arm64.whl"
77-
# Extract wheel directly to site-packages
78-
Expand-Archive -Path wxpython.whl -DestinationPath $sitePackages -Force
72+
# Install wxPython for ARM64 - Note: wxPython ARM64 support is limited
73+
# Standard pip installation
74+
& $venvPip install wxPython==4.2.2
7975
& $venvPip install pillow numpy six
8076
8177
# Verify extraction and show wx contents

.github/workflows/windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
run: |
6565
python --version
6666
pip install -U six wheel setuptools
67-
pip install -U -f https://extras.wxpython.org/wxPython4/extras/4.2.2 wxPython
67+
pip install -U wxPython==4.2.2
6868
shell: powershell
6969

7070
- name: Install requirements

.github/workflows/windows_2019.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
run: |
6565
python --version
6666
pip install -U six wheel setuptools
67-
pip install -U -f https://extras.wxpython.org/wxPython4/extras/4.2.2 wxPython
67+
pip install -U wxPython==4.2.2
6868
shell: powershell
6969

7070
- name: Install requirements

requirements.txt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,4 @@ chardet>=5.2.0,<7
1919
cryptography>=42.0.5
2020
rsa>=4.9
2121
polib>=1.1.1
22-
# Use pre-built wheels for wxPython
23-
--find-links https://wxpython.org/Phoenix/snapshot-builds/
24-
--find-links https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04/
25-
--find-links https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-22.04/
26-
--find-links https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-24.04/
2722
wxPython==4.2.2
28-
# wxPython==4.2.1; platform_system == "Linux"
29-
# wxPython>=4.2.1; platform_system != "Linux"

0 commit comments

Comments
 (0)