6161 - name : Install hatch
6262 run : |
6363 python --version
64- python -m pip install hatch
64+ python -m pip install hatch "virtualenv<21"
6565
6666 - name : Run the tests
6767 timeout-minutes : 15
@@ -104,6 +104,12 @@ jobs:
104104 runs-on : ubuntu-latest
105105 steps :
106106 - uses : actions/checkout@v6
107+
108+ - name : Preinstall hatch and virtualenv
109+ run : |
110+ python --version
111+ python -m pip install hatch "virtualenv<21"
112+
107113 - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
108114 - name : Run Linters
109115 run : |
@@ -116,7 +122,14 @@ jobs:
116122 runs-on : ubuntu-latest
117123 steps :
118124 - uses : actions/checkout@v6
125+
126+ - name : Preinstall hatch and virtualenv
127+ run : |
128+ python --version
129+ python -m pip install hatch "virtualenv<21"
130+
119131 - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
132+
120133 - uses : jupyter-server/jupyter_releaser/.github/actions/check-release@v2
121134 with :
122135 token : ${{ secrets.GITHUB_TOKEN }}
@@ -125,7 +138,14 @@ jobs:
125138 runs-on : ubuntu-latest
126139 steps :
127140 - uses : actions/checkout@v6
141+
142+ - name : Preinstall hatch and virtualenv
143+ run : |
144+ python --version
145+ python -m pip install hatch "virtualenv<21"
146+
128147 - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
148+
129149 - name : Build API docs
130150 run : |
131151 hatch run docs:api
@@ -148,6 +168,11 @@ jobs:
148168 - name : Checkout
149169 uses : actions/checkout@v6
150170
171+ - name : Preinstall hatch and virtualenv
172+ run : |
173+ python --version
174+ python -m pip install hatch "virtualenv<21"
175+
151176 - name : Base Setup
152177 uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
153178
@@ -170,11 +195,21 @@ jobs:
170195 runs-on : ubuntu-latest
171196 steps :
172197 - uses : actions/checkout@v6
198+
199+ - uses : actions/setup-python@v6
200+ with :
201+ python-version : " 3.10"
202+
203+ - name : Preinstall hatch and virtualenv
204+ run : |
205+ python --version
206+ python -m pip install hatch "virtualenv<21"
207+
173208 - name : Base Setup
174209 uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
175210 with :
176211 dependency_type : minimum
177- python_version : " 3.10 "
212+ python_version : ${{ matrix.python-version }}
178213
179214 - name : List installed packages
180215 run : |
@@ -191,10 +226,17 @@ jobs:
191226 steps :
192227 - name : Checkout
193228 uses : actions/checkout@v6
229+
230+ - name : Preinstall hatch and virtualenv
231+ run : |
232+ python --version
233+ python -m pip install hatch "virtualenv<21"
234+
194235 - name : Base Setup
195236 uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
196237 with :
197238 dependency_type : pre
239+
198240 - name : Run the tests
199241 run : |
200242 hatch run test:nowarn
0 commit comments