summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2021-02-21 16:53:44 -0600
committerGitHub <noreply@github.com>2021-02-21 17:53:44 -0500
commit7491e6b4fdd38cf1163bb89df0c122b293957c5a (patch)
treed5032a05cd573e326833cf8490cabaf577f9ce05 /.github
parent8928e8e1d2fd3fcc8f8fb0738a45aa16b0ec570c (diff)
downloadcryptography-7491e6b4fdd38cf1163bb89df0c122b293957c5a.tar.gz
remove virtualenv in wheel builders (#5858)
now that we're py3+ only we should be able to directly use venv
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/wheel-builder.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/wheel-builder.yml b/.github/workflows/wheel-builder.yml
index cb7b11615..e67feaf48 100644
--- a/.github/workflows/wheel-builder.yml
+++ b/.github/workflows/wheel-builder.yml
@@ -19,7 +19,7 @@ jobs:
CONTAINER: "cryptography-manylinux2014:x86_64"
name: "${{ matrix.PYTHON }} for ${{ matrix.MANYLINUX.NAME }}"
steps:
- - run: /opt/python/${{ matrix.PYTHON }}/bin/python -m virtualenv .venv
+ - run: /opt/python/${{ matrix.PYTHON }}/bin/python -m venv .venv
- name: Install Python dependencies
run: .venv/bin/pip install -U pip wheel cffi six ipaddress setuptools-rust
- run: .venv/bin/pip download cryptography==${{ github.event.inputs.version }} --no-deps --no-binary cryptography && tar zxvf cryptography*.tar.gz && mkdir tmpwheelhouse
@@ -71,7 +71,7 @@ jobs:
sudo installer -pkg python.pkg -target /
env:
PYTHON_DOWNLOAD_URL: ${{ matrix.PYTHON.DOWNLOAD_URL }}
- - run: ${{ matrix.PYTHON.BIN_PATH }} -m pip install -U virtualenv requests
+ - run: ${{ matrix.PYTHON.BIN_PATH }} -m pip install -U requests
- name: Download OpenSSL
run: |
${{ matrix.PYTHON.BIN_PATH }} .github/workflows/download_openssl.py macos openssl-macos-x86-64
@@ -84,7 +84,7 @@ jobs:
override: true
default: true
- - run: ${{ matrix.PYTHON.BIN_PATH }} -m virtualenv venv
+ - run: ${{ matrix.PYTHON.BIN_PATH }} -m venv venv
- run: venv/bin/pip install -U pip wheel cffi six ipaddress setuptools-rust
- run: venv/bin/pip download cryptography==${{ github.event.inputs.version }} --no-deps --no-binary cryptography && tar zxvf cryptography*.tar.gz && mkdir wheelhouse
- name: Build the wheel