File tree Expand file tree Collapse file tree 3 files changed +5
-35
lines changed Expand file tree Collapse file tree 3 files changed +5
-35
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ jobs:
122
122
- name : Install miniumum versions
123
123
uses : jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
124
124
- name : Run the unit tests
125
+ env : PYTHONWARNINGS=default
125
126
run : pytest -vv jupyter_client || pytest -vv jupyter_client --lf
126
127
127
128
test_prereleases :
@@ -150,36 +151,14 @@ jobs:
150
151
timeout-minutes : 10
151
152
steps :
152
153
- uses : actions/checkout@v2
153
- - name : Base Setup
154
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
155
- - name : Build SDist
156
- run : |
157
- pip install build
158
- python -m build --sdist
159
- - uses : actions/upload-artifact@v2
160
- with :
161
- name : " sdist"
162
- path : dist/*.tar.gz
154
+ - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
155
+ - uses : jupyterlab/maintainer-tools/.github/actions/make-sdist@v1
163
156
164
157
test_sdist :
165
158
runs-on : ubuntu-latest
166
159
needs : [make_sdist]
167
160
name : Install from SDist and Test
168
161
timeout-minutes : 20
169
162
steps :
170
- - name : Base Setup
171
- uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
172
- - name : Download sdist
173
- uses : actions/download-artifact@v2
174
- - name : Install From SDist
175
- run : |
176
- set -ex
177
- cd sdist
178
- mkdir test
179
- tar --strip-components=1 -zxvf *.tar.gz -C ./test
180
- cd test
181
- pip install .[test]
182
- - name : Run Test
183
- run : |
184
- cd sdist/test
185
- pytest -vv || pytest -vv --lf
163
+ - uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
164
+ - uses : jupyterlab/maintainer-tools/.github/actions/test-sdist@v1
Original file line number Diff line number Diff line change @@ -49,15 +49,9 @@ filterwarnings= [
49
49
# (To be fixed in Tornado 6.2)
50
50
" ignore:There is no current event loop:DeprecationWarning:tornado" ,
51
51
52
- # Workaround for distutils.Version used in ipykernel
53
- " ignore:The distutils package is deprecated and slated for removal:DeprecationWarning:ipykernel" ,
54
-
55
52
# ZMQ uses Future internally, which raises a DeprecationWarning
56
53
# When there is no loop running.
57
54
# We could eventually find a way to make sure these are only created
58
55
# when there is a running event loop.
59
56
" ignore:There is no current event loop:DeprecationWarning:zmq" ,
60
-
61
- # Workaround for imp used in ipykernel
62
- " ignore:the imp module is deprecated in favour of importlib:DeprecationWarning"
63
57
]
Original file line number Diff line number Diff line change 1
1
[flake8]
2
2
max-line-length = 100
3
3
4
- [nosetests]
5
- warningfilters =default
6
-
7
4
[metadata]
8
5
name = jupyter_client
9
6
version = attr: jupyter_client._version.__version__
You can’t perform that action at this time.
0 commit comments