- Add jupyter-client-fix787-kernelwarningsfilter.patch
* gh#jupyter/jupyter_client#787 - Disable pytest for signalkernel.py and problemkernel.py because OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-client?expand=0&rev=18
This commit is contained in:
parent
3de76d559f
commit
cc5f779db2
13
jupyter-client-fix787-kernelwarningsfilter.patch
Normal file
13
jupyter-client-fix787-kernelwarningsfilter.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- jupyter-client.orig/pyproject.toml
|
||||||
|
+++ jupyter-client/pyproject.toml
|
||||||
|
@@ -53,6 +53,10 @@
|
||||||
|
# We could eventually find a way to make sure these are only created
|
||||||
|
# when there is a running event loop.
|
||||||
|
"ignore:There is no current event loop:DeprecationWarning:zmq",
|
||||||
|
+
|
||||||
|
+ # workaround for deprecated modules
|
||||||
|
+ "ignore:the imp module is deprecated in favour of importlib:DeprecationWarning",
|
||||||
|
+ "ignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives"
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.mypy]
|
@ -1,7 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 25 23:15:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Add jupyter-client-fix787-kernelwarningsfilter.patch
|
||||||
|
* gh#jupyter/jupyter_client#787
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 25 15:01:01 UTC 2022 - andy great <andythe_great@pm.me>
|
Wed May 25 15:01:01 UTC 2022 - andy great <andythe_great@pm.me>
|
||||||
|
|
||||||
- Diable pytest for signalkernel.py and problemkernel.py because
|
- Disable pytest for signalkernel.py and problemkernel.py because
|
||||||
issue with newer ipykernel.
|
issue with newer ipykernel.
|
||||||
https://github.com/jupyter/jupyter_client/issues/787
|
https://github.com/jupyter/jupyter_client/issues/787
|
||||||
- Update to version 7.3.1.
|
- Update to version 7.3.1.
|
||||||
|
@ -34,6 +34,8 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/jupyter/jupyter_client
|
URL: https://github.com/jupyter/jupyter_client
|
||||||
Source: https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/j/jupyter_client/jupyter_client-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-UPSTREAM
|
||||||
|
Patch0: jupyter-client-fix787-kernelwarningsfilter.patch
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -102,8 +104,7 @@ This package provides the jupyter components.
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
pushd jupyter_client/tests
|
pushd jupyter_client/tests
|
||||||
# disable signalkernel.py and problemkernel.py due to newer ipykernel https://github.com/jupyter/jupyter_client/issues/787
|
%pytest --force-flaky --max-runs=3 --no-success-flaky-report
|
||||||
%pytest --force-flaky --max-runs=3 --no-success-flaky-report --ignore signalkernel.py --ignore problemkernel.py
|
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user