From 42ca77d390beeaa2173ae6f0326cd8011973917f Mon Sep 17 00:00:00 2001 From: Jericho Tolentino <68654047+jericht@users.noreply.github.com> Date: Wed, 25 Feb 2026 22:23:33 +0000 Subject: [PATCH] chore: temporary pin virtualenv<21 to fix build 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 c4091d9c..36027dab 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 + pip install --upgrade hatch "virtualenv<21" - 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 5ec09cbe..8330a6d0 100755 --- a/pipeline/build.sh +++ b/pipeline/build.sh @@ -3,7 +3,7 @@ set -e pip install --upgrade pip -pip install --upgrade hatch +pip install --upgrade hatch "virtualenv<21" 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 96fbabf8..2564e84b 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 + pip install hatch "virtualenv<21" COPY . /code/ WORKDIR /code diff --git a/testing_containers/localuser_sudo_environment/Dockerfile b/testing_containers/localuser_sudo_environment/Dockerfile index 140f8da2..eb7a45c8 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 + pip install hatch "virtualenv<21" USER hostuser