Skip to content

Commit 4b2ac37

Browse files
authored
Use global env for min version check (#1048)
1 parent 27c30ad commit 4b2ac37

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/python-tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ jobs:
115115
- name: Install miniumum versions
116116
uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
117117
- name: Run the unit tests
118-
run: hatch run test:nowarn || hatch run test:nowarn --lf
118+
run: |
119+
pytest -vv -W default || pytest -vv -W default --lf
119120
120121
test_prereleases:
121122
name: Test Prereleases

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ dependencies = [
3030
"anyio>=3.1.0,<4",
3131
"argon2-cffi",
3232
"jinja2",
33-
"jupyter_client>=6.1.12",
34-
"jupyter_core>=4.7.0",
33+
"jupyter_client>=7.2",
34+
"jupyter_core>=4.9.2",
3535
"jupyter_server_terminals",
3636
"nbconvert>=6.4.4",
3737
"nbformat>=5.2.0",
@@ -136,12 +136,12 @@ testpaths = [
136136
]
137137
timeout = 100
138138
# Restore this setting to debug failures
139-
# timeout_method = "thread"
139+
timeout_method = "thread"
140140
filterwarnings = [
141141
"error",
142142
"ignore:Passing a schema to Validator.iter_errors:DeprecationWarning",
143143
"ignore:run_pre_save_hook is deprecated:DeprecationWarning",
144-
"always:unclosed <socket.socket:ResourceWarning",
144+
145145
"module:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning",
146146
]
147147

0 commit comments

Comments
 (0)