Skip to content

Commit 6c00b82

Browse files
committed
roll back to legacy versions for testing
1 parent 10f4885 commit 6c00b82

File tree

3 files changed

+8
-45
lines changed

3 files changed

+8
-45
lines changed

.github/workflows/python-package.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -24,46 +24,6 @@ jobs:
2424
uses: actions/setup-python@v2
2525
with:
2626
python-version: ${{ matrix.python-version }}
27-
- name: Install libssl1.1
28-
shell: bash
29-
run: |
30-
set -euxo pipefail
31-
32-
# Add focal (20.04) security + updates for amd64
33-
sudo tee /etc/apt/sources.list.d/focal-libssl.list >/dev/null <<'EOF'
34-
deb [arch=amd64] http://security.ubuntu.com/ubuntu focal-security main
35-
deb [arch=amd64] http://archive.ubuntu.com/ubuntu focal-updates main
36-
EOF
37-
38-
# Pin ONLY libssl1.1 to come from focal; keep everything else on ubuntu-latest
39-
sudo tee /etc/apt/preferences.d/libssl1.1 >/dev/null <<'EOF'
40-
Package: libssl1.1
41-
Pin: release n=focal-security
42-
Pin-Priority: 1001
43-
44-
Package: libssl1.1
45-
Pin: release n=focal-updates
46-
Pin-Priority: 1001
47-
48-
Package: *
49-
Pin: release n=focal-security
50-
Pin-Priority: 50
51-
52-
Package: *
53-
Pin: release n=focal-updates
54-
Pin-Priority: 50
55-
EOF
56-
57-
sudo apt-get update
58-
59-
# Try focal-security first; fall back to focal-updates if needed
60-
if ! sudo apt-get install -y -t focal-security libssl1.1; then
61-
sudo apt-get install -y -t focal-updates libssl1.1
62-
fi
63-
64-
# Sanity check
65-
apt-cache policy libssl1.1 || true
66-
ldconfig -p | grep -E 'libssl\.so\.(1\.1|3)' || true
6727
- name: Install dependencies
6828
run: |
6929
python -m pip install --upgrade pip

tests/requirements.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1+
--find-links https://www.paddlepaddle.org.cn/whl/linux/mkl/avx/stable.html
2+
13
requests>=2.25.1
24
scipy>=1.4.1
35
Pillow==9.2.0
46
numpy==1.24.0
57
easydict>=1.7
6-
paddlepaddle==3.1.1
7-
protobuf==3.20.3
8+
paddlepaddle==2.4.1
9+
protobuf==3.19.5
810
torch
911
torch_geometric
1012
tqdm
1113
jittor==1.3.5.37
1214
appdirs>=1.4.4
13-
tensorflow==2.15.0
15+
tensorflow==2.9.3
1416
distro
1517
cython
1618
aiohttp
1719
async-timeout
1820
networkx==2.8.8
19-

tests/requirements_win_mac.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
--find-links https://www.paddlepaddle.org.cn/whl/windows/mkl/avx/stable.html
2+
13
requests>=2.25.1
24
scipy>=1.4.1
35
Pillow==9.2.0
46
numpy==1.24.0
57
easydict>=1.7
6-
paddlepaddle==3.1.1
8+
paddlepaddle==2.4.1
79
protobuf==3.19.5
810
torch
911
torch_geometric

0 commit comments

Comments
 (0)