Skip to content

Commit

Permalink
chore: use rustls
Browse files Browse the repository at this point in the history
Signed-off-by: Ion Koutsouris <[email protected]>
  • Loading branch information
ion-elgreco authored and rtyler committed Feb 21, 2025
1 parent 6882899 commit 331873f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/python_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ defaults:
run:
working-directory: ./python

env:
# For ease of development, we make rustls default. But for release we should
# use native TLS.
FEATURES_FLAG: --no-default-features --features native-tls

jobs:
validate-release-tag:
name: Validate git tag
Expand Down Expand Up @@ -46,7 +41,7 @@ jobs:
with:
target: ${{ matrix.target }}
command: publish
args: --skip-existing -m python/Cargo.toml --no-sdist ${{ env.FEATURES_FLAG }}
args: --skip-existing -m python/Cargo.toml --no-sdist

release-pypi-windows:
needs: validate-release-tag
Expand All @@ -62,7 +57,7 @@ jobs:
with:
target: x86_64-pc-windows-msvc
command: publish
args: --skip-existing -m python/Cargo.toml --no-sdist ${{ env.FEATURES_FLAG }}
args: --skip-existing -m python/Cargo.toml --no-sdist

release-pypi-manylinux:
needs: validate-release-tag
Expand All @@ -79,7 +74,7 @@ jobs:
maturin-version: v1.6.0 # https://github.com/PyO3/maturin/issues/2154
target: x86_64-unknown-linux-gnu
command: publish
args: --skip-existing -m python/Cargo.toml ${{ env.FEATURES_FLAG }}
args: --skip-existing -m python/Cargo.toml
# for openssl build
before-script-linux: yum install -y perl-IPC-Cmd

Expand All @@ -90,7 +85,7 @@ jobs:
with:
target: aarch64-unknown-linux-gnu
command: publish
args: --skip-existing -m python/Cargo.toml --no-sdist ${{ env.FEATURES_FLAG }}
args: --skip-existing -m python/Cargo.toml --no-sdist
before-script-linux: |
# We can remove this once we upgrade to 2_28.
# https://github.com/briansmith/ring/issues/1728
Expand Down

0 comments on commit 331873f

Please sign in to comment.