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:
122122 - name : Install miniumum versions
123123 uses : jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
124124 - name : Run the unit tests
125+ env : PYTHONWARNINGS=default
125126 run : pytest -vv jupyter_client || pytest -vv jupyter_client --lf
126127
127128 test_prereleases :
@@ -150,36 +151,14 @@ jobs:
150151 timeout-minutes : 10
151152 steps :
152153 - 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
163156
164157 test_sdist :
165158 runs-on : ubuntu-latest
166159 needs : [make_sdist]
167160 name : Install from SDist and Test
168161 timeout-minutes : 20
169162 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= [
4949 # (To be fixed in Tornado 6.2)
5050 " ignore:There is no current event loop:DeprecationWarning:tornado" ,
5151
52- # Workaround for distutils.Version used in ipykernel
53- " ignore:The distutils package is deprecated and slated for removal:DeprecationWarning:ipykernel" ,
54-
5552 # ZMQ uses Future internally, which raises a DeprecationWarning
5653 # When there is no loop running.
5754 # We could eventually find a way to make sure these are only created
5855 # when there is a running event loop.
5956 " 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"
6357]
Original file line number Diff line number Diff line change 11[flake8]
22max-line-length = 100
33
4- [nosetests]
5- warningfilters =default
6-
74[metadata]
85name = jupyter_client
96version = attr: jupyter_client._version.__version__
You can’t perform that action at this time.
0 commit comments