From 0094f3186968621c42ac919c07473f3f8e06d685 Mon Sep 17 00:00:00 2001 From: Lalatendu Mohanty Date: Thu, 26 Feb 2026 10:11:10 -0500 Subject: [PATCH] fix(ci): remove virtualenv<21 pin from CI workflows Remove the temporary virtualenv<21 pin that was added in d35a8c5 to work around hatch 1.16.4 incompatibility with virtualenv>=21. Upstream: https://github.com/pypa/hatch/issues/2193 Closes: #932 Co-Authored-By: Claude Signed-off-by: Lalatendu Mohanty --- .github/workflows/check.yaml | 10 +++++----- .github/workflows/test.yaml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index baf67396..668d3374 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -21,7 +21,7 @@ jobs: python-version: "3.11" # minimum supported lang version - name: Install dependencies - run: python -m pip install hatch 'click!=8.3.0' 'virtualenv<21' + run: python -m pip install hatch 'click!=8.3.0' - name: Run pre-commit hooks run: hatch run lint:install-hooks && hatch run lint:precommit @@ -42,7 +42,7 @@ jobs: python-version: "3.11" # minimum supported lang version - name: Install dependencies - run: python -m pip install hatch 'click!=8.3.0' 'virtualenv<21' + run: python -m pip install hatch 'click!=8.3.0' - name: Run run: hatch run lint:check @@ -63,7 +63,7 @@ jobs: python-version: "3.11" # minimum supported lang version - name: Install dependencies - run: python -m pip install hatch 'click!=8.3.0' 'virtualenv<21' + run: python -m pip install hatch 'click!=8.3.0' - name: Check MyPy run: hatch run mypy:check @@ -84,7 +84,7 @@ jobs: python-version: "3.11" # minimum supported lang version - name: Install dependencies - run: python -m pip install hatch 'click!=8.3.0' 'virtualenv<21' + run: python -m pip install hatch 'click!=8.3.0' - name: Run run: hatch run lint:pkglint @@ -121,7 +121,7 @@ jobs: python-version: "3.11" # minimum supported lang version - name: Install dependencies - run: python -m pip install hatch 'click!=8.3.0' 'virtualenv<21' + run: python -m pip install hatch 'click!=8.3.0' - name: Run run: hatch run docs:build diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0115f3b3..2034a934 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -49,7 +49,7 @@ jobs: run: unshare -rn echo "unshare works" - name: Install dependencies - run: python -m pip install hatch 'click!=8.3.0' 'virtualenv<21' + run: python -m pip install hatch 'click!=8.3.0' - name: Run tests run: hatch run test:test @@ -123,7 +123,7 @@ jobs: run: unshare -rn echo "unshare works" - name: Install dependencies - run: python -m pip install hatch 'click!=8.3.0' 'virtualenv<21' + run: python -m pip install hatch 'click!=8.3.0' - name: Run tests run: HATCH_PYTHON=${{ matrix.python-version }} ./e2e/${{ matrix.test-script }}.sh @@ -167,7 +167,7 @@ jobs: **/pyproject.toml - name: Install dependencies - run: python -m pip install hatch 'click!=8.3.0' 'virtualenv<21' + run: python -m pip install hatch 'click!=8.3.0' - name: Download coverage data uses: actions/download-artifact@v7