Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter-server for
openSUSE:Factory checked in at 2024-11-24 11:04:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-server (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter-server.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-server"
Sun Nov 24 11:04:04 2024 rev:43 rq:1225677 version:2.14.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter-server/python-jupyter-server.changes
2024-09-16 17:43:49.650921377 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter-server.new.28523/python-jupyter-server.changes
2024-11-24 11:04:11.590827890 +0100
@@ -1,0 +2,7 @@
+Wed Nov 20 14:17:42 UTC 2024 - Matej Cepl <[email protected]>
+
+- Add ignore-PytestUnraisableExceptionWarning.patch to get over
+ (misleading?) ResourceWarning concerning SQLite unclosed
+ database (gh#jupyter-server/jupyter_server#1387).
+
+-------------------------------------------------------------------
New:
----
ignore-PytestUnraisableExceptionWarning.patch
BETA DEBUG BEGIN:
New:
- Add ignore-PytestUnraisableExceptionWarning.patch to get over
(misleading?) ResourceWarning concerning SQLite unclosed
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter-server.spec ++++++
--- /var/tmp/diff_new_pack.44or5w/_old 2024-11-24 11:04:12.418862314 +0100
+++ /var/tmp/diff_new_pack.44or5w/_new 2024-11-24 11:04:12.418862314 +0100
@@ -40,6 +40,9 @@
URL: https://jupyter-server.readthedocs.io
# SourceRepository: https://github.com/jupyter-server/jupyter_server
Source:
https://files.pythonhosted.org/packages/source/j/jupyter_server/jupyter_server-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM ignore-PytestUnraisableExceptionWarning.patch
gh#jupyter-server/jupyter_server#1387 [email protected]
+# ignore PytestUnraisableExceptionWarning (ResourceWarning: unclosed database
in <sqlite3.Connection object at >)
+Patch0: ignore-PytestUnraisableExceptionWarning.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatch-jupyter-builder >= 0.8.1}
BuildRequires: %{python_module hatchling >= 1.11}
@@ -72,6 +75,7 @@
%if %{with test}
BuildRequires: %{python_module jupyter-server-test = %{version}}
BuildRequires: %{python_module pytest-xdist}
+BuildRequires: pandoc
%endif
%if %{with libalternatives}
BuildRequires: alts
@@ -109,7 +113,7 @@
Metapackage for the jupyter_server[test] requirement specifier
%prep
-%setup -q -n jupyter_server-%{version}
+%autosetup -p1 -n jupyter_server-%{version}
sed -i pyproject.toml \
-e 's/, "--color=yes"//' \
-e '/filterwarnings/,/]/ {/error/ a \ "ignore:Module already imported so
cannot be rewritten",
++++++ ignore-PytestUnraisableExceptionWarning.patch ++++++
---
pyproject.toml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -178,7 +178,8 @@ filterwarnings = [
"error",
"ignore:datetime.datetime.utc:DeprecationWarning",
"module:add_callback_from_signal is deprecated:DeprecationWarning",
- "ignore::jupyter_server.utils.JupyterServerAuthWarning"
+ "ignore::jupyter_server.utils.JupyterServerAuthWarning",
+ "ignore::pytest.PytestUnraisableExceptionWarning",
]
[tool.coverage.report]