Skip to content

Commit 796c7a5

Browse files
openssl
1 parent 573d36c commit 796c7a5

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/python-tests.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,26 @@ jobs:
8383
- uses: actions/setup-python@v6
8484
with:
8585
python-version: 3.x
86-
- name: Install OpenSSL development headers
87-
run: |
88-
sudo apt-get update
89-
sudo apt-get install -y libssl-dev
9086
- name: Build wheels
9187
uses: PyO3/maturin-action@v1
9288
with:
9389
target: ${{ matrix.platform.target }}
9490
args: --release --out dist --find-interpreter
9591
sccache: false
9692
manylinux: auto
93+
before-script-linux: |
94+
case "${{ matrix.platform.target }}" in
95+
"aarch64" | "armv7" | "s390x" | "ppc64le")
96+
# NOTE: pypa/manylinux docker images are Debian based
97+
sudo apt-get update
98+
sudo apt-get install -y pkg-config libssl-dev
99+
;;
100+
"x86" | "x86_64")
101+
# NOTE: rust-cross/manylinux docker images are CentOS based
102+
yum update -y
103+
yum install -y openssl openssl-devel
104+
;;
105+
esac
97106
- name: Upload wheels
98107
uses: actions/upload-artifact@v5
99108
with:
@@ -120,10 +129,6 @@ jobs:
120129
- uses: actions/setup-python@v6
121130
with:
122131
python-version: 3.x
123-
- name: Install OpenSSL development headers
124-
run: |
125-
sudo apt-get update
126-
sudo apt-get install -y libssl-dev
127132
- name: Build wheels
128133
uses: PyO3/maturin-action@v1
129134
with:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "cloudcheck"
7-
version = "8.1.1rc2"
7+
version = "8.1.1rc3"
88
description = "Detailed database of cloud providers. Instantly look up a domain or IP address"
99
readme = "README.md"
1010
requires-python = ">=3.9"

0 commit comments

Comments
 (0)