Skip to content

Commit eb37cf0

Browse files
authored
Pin virtualenv<21 in tests because of breaking change incompatible wi… (#937)
1 parent 7cac5b9 commit eb37cf0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/tests.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v4
4040
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
41+
- name: Pin virtualenv to pre-breaking major version
42+
run: pipx inject --force hatch "virtualenv<21"
4143
- name: Run Tests
4244
run: hatch run cov:test
4345
- uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1
@@ -60,6 +62,8 @@ jobs:
6062
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
6163
with:
6264
dependency_type: minimum
65+
- name: Pin virtualenv to pre-breaking major version
66+
run: pipx inject --force hatch "virtualenv<21"
6367
- name: Run the unit tests
6468
run: |
6569
hatch run test:nowarn || hatch -v run test:nowarn --lf
@@ -70,6 +74,8 @@ jobs:
7074
steps:
7175
- uses: actions/checkout@v4
7276
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
77+
- name: Pin virtualenv to pre-breaking major version
78+
run: pipx inject --force hatch "virtualenv<21"
7379
- name: Run Linters
7480
run: |
7581
hatch run typing:test
@@ -83,6 +89,8 @@ jobs:
8389
steps:
8490
- uses: actions/checkout@v4
8591
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
92+
- name: Pin virtualenv to pre-breaking major version
93+
run: pipx inject --force hatch "virtualenv<21"
8694
- name: Build the docs
8795
run: hatch run docs:build
8896

@@ -97,6 +105,8 @@ jobs:
97105
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
98106
with:
99107
dependency_type: pre
108+
- name: Pin virtualenv to pre-breaking major version
109+
run: pipx inject --force hatch "virtualenv<21"
100110
- name: Run the tests
101111
run: |
102112
hatch run test:nowarn || hatch run test:nowarn --lf
@@ -133,6 +143,8 @@ jobs:
133143
uses: actions/checkout@v4
134144
- name: Base Setup
135145
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
146+
- name: Pin virtualenv to pre-breaking major version
147+
run: pipx inject --force hatch "virtualenv<21"
136148
- name: Install Dependencies
137149
run: |
138150
pip install -e .

0 commit comments

Comments
 (0)