Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter-packaging for
openSUSE:Factory checked in at 2023-04-02 19:18:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-packaging (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter-packaging.new.9019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-packaging"
Sun Apr 2 19:18:20 2023 rev:9 rq:1076679 version:0.12.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter-packaging/python-jupyter-packaging.changes
2022-09-10 20:17:52.064917895 +0200
+++
/work/SRC/openSUSE:Factory/.python-jupyter-packaging.new.9019/python-jupyter-packaging.changes
2023-04-02 19:18:21.572819812 +0200
@@ -1,0 +2,7 @@
+Sat Apr 1 20:23:48 UTC 2023 - Ben Greiner <[email protected]>
+
+- Add jupyter-packaging-pr178-ignoredeprecations.patch
+ * gh#jupyter/jupyter-packaging#178
+ * Fixes deprecation warnings through new setuptools
+
+-------------------------------------------------------------------
New:
----
jupyter-packaging-pr178-ignoredeprecations.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter-packaging.spec ++++++
--- /var/tmp/diff_new_pack.0bPpIK/_old 2023-04-02 19:18:22.140822663 +0200
+++ /var/tmp/diff_new_pack.0bPpIK/_new 2023-04-02 19:18:22.148822704 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter-packaging
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@
Group: Development/Languages/Python
URL: https://github.com/jupyter/jupyter-packaging
Source:
https://files.pythonhosted.org/packages/source/j/jupyter_packaging/jupyter_packaging-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM jupyter-packaging-pr178-ignoredeprecations.patch
gh#jupyter/jupyter-packaging#178
+Patch0:
https://github.com/jupyter/jupyter-packaging/pull/178.patch#/jupyter-packaging-pr178-ignoredeprecations.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module deprecation}
BuildRequires: %{python_module hatchling}
@@ -54,7 +56,7 @@
with and without accompanying JavaScript packages
%prep
-%setup -q -n jupyter_packaging-%{version}
+%autosetup -p1 -n jupyter_packaging-%{version}
sed -i 's/\r$//' README.md
sed -i -e '/^#!\//, 1d' jupyter_packaging/*.py
++++++ jupyter-packaging-pr178-ignoredeprecations.patch ++++++
>From e963fb27aa3b58cd70c5ca61ebe68c222d803b7e Mon Sep 17 00:00:00 2001
From: Steven Silvester <[email protected]>
Date: Tue, 7 Mar 2023 10:47:22 -0600
Subject: [PATCH] Ignore warning raised when importing
setuptools.command.develop
---
pyproject.toml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pyproject.toml b/pyproject.toml
index e4c1e27..b316257 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -81,5 +81,7 @@ filterwarnings= [
# Fail on warnings
"error",
# Ignore our own deprecation warnings.
- "ignore:.*:deprecation.DeprecatedWarning"
+ "ignore:.*:deprecation.DeprecatedWarning",
+ # Ignore warning raised when importing setuptools.command.develop.
+ "ignore:pkg_resources is deprecated as an API:DeprecationWarning"
]