From 63e1e8b2672d77a97c7857c0e42d774491b859bc Mon Sep 17 00:00:00 2001 From: Jericho Tolentino <68654047+jericht@users.noreply.github.com> Date: Tue, 10 Mar 2026 17:53:41 +0000 Subject: [PATCH] chore: Revert "chore: temporary pin virtualenv<21 to fix build (#303)" Signed-off-by: Jericho Tolentino <68654047+jericht@users.noreply.github.com> --- .github/workflows/release_publish.yml | 2 +- pipeline/build.sh | 2 +- testing_containers/ldap_sudo_environment/Dockerfile | 2 +- testing_containers/localuser_sudo_environment/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_publish.yml b/.github/workflows/release_publish.yml index 36027dab..c4091d9c 100644 --- a/.github/workflows/release_publish.yml +++ b/.github/workflows/release_publish.yml @@ -83,7 +83,7 @@ jobs: python-version: '3.9' - name: Install dependencies run: | - pip install --upgrade hatch "virtualenv<21" + pip install --upgrade hatch - name: Build run: hatch -v build # # See https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-pypi diff --git a/pipeline/build.sh b/pipeline/build.sh index 8330a6d0..5ec09cbe 100755 --- a/pipeline/build.sh +++ b/pipeline/build.sh @@ -3,7 +3,7 @@ set -e pip install --upgrade pip -pip install --upgrade hatch "virtualenv<21" +pip install --upgrade hatch pip install --upgrade twine hatch run lint hatch run test diff --git a/testing_containers/ldap_sudo_environment/Dockerfile b/testing_containers/ldap_sudo_environment/Dockerfile index 2564e84b..96fbabf8 100644 --- a/testing_containers/ldap_sudo_environment/Dockerfile +++ b/testing_containers/ldap_sudo_environment/Dockerfile @@ -69,7 +69,7 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive && \ rm -rf /var/lib/apt/lists/* && \ apt-get clean && \ # Install hatch (for setting up environment and running tests) - pip install hatch "virtualenv<21" + pip install hatch COPY . /code/ WORKDIR /code diff --git a/testing_containers/localuser_sudo_environment/Dockerfile b/testing_containers/localuser_sudo_environment/Dockerfile index eb7a45c8..140f8da2 100644 --- a/testing_containers/localuser_sudo_environment/Dockerfile +++ b/testing_containers/localuser_sudo_environment/Dockerfile @@ -33,7 +33,7 @@ RUN apt-get update && apt-get install -y gcc libcap2-bin psmisc sudo && \ addgroup ${OPENJD_TEST_SUDO_DISJOINT_GROUP} && \ useradd -ms /bin/bash -G ${OPENJD_TEST_SUDO_DISJOINT_GROUP} ${OPENJD_TEST_SUDO_DISJOINT_USER} && \ # Install hatch (for setting up environment and running tests) - pip install hatch "virtualenv<21" + pip install hatch USER hostuser