Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-colormap for openSUSE:Factory
checked in at 2026-04-07 16:33:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-colormap (Old)
and /work/SRC/openSUSE:Factory/.python-colormap.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-colormap"
Tue Apr 7 16:33:36 2026 rev:9 rq:1344786 version:1.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-colormap/python-colormap.changes
2025-05-09 18:52:32.736042454 +0200
+++
/work/SRC/openSUSE:Factory/.python-colormap.new.21863/python-colormap.changes
2026-04-07 16:49:15.165393204 +0200
@@ -1,0 +2,13 @@
+Mon Apr 6 20:27:38 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.3.0:
+ * Support poetry-core 2.0
+ * update user interface with 2 new functions (plot_colormap and
+ plot_category)
+ * Make pyproject fully compatible from py3.8 to py3.12
+ * Trying to add back the py3.8 support in the CI;
+ * Add Python 3.12
+ * Use integers
+ * move from setuptools to pyproject
+
+-------------------------------------------------------------------
Old:
----
colormap-1.0.6.tar.gz
New:
----
colormap-1.3.0-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-colormap.spec ++++++
--- /var/tmp/diff_new_pack.NiTz6R/_old 2026-04-07 16:49:15.721416198 +0200
+++ /var/tmp/diff_new_pack.NiTz6R/_new 2026-04-07 16:49:15.721416198 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-colormap
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,25 +16,23 @@
#
-%define skip_python36 1
Name: python-colormap
-Version: 1.0.6
+Version: 1.3.0
Release: 0
Summary: Utilities to manipulate matplotlib colormaps and color codecs
License: BSD-3-Clause
URL: https://github.com/cokelaer/colormap
-Source:
https://files.pythonhosted.org/packages/source/c/colormap/colormap-%{version}.tar.gz
+Source:
https://github.com/cokelaer/colormap/archive/refs/tags/v%{version}.tar.gz#/colormap-%{version}-gh.tar.gz
BuildRequires: %{python_module pip}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-easydev
-Requires: python-matplotlib
+Requires: python-matplotlib >= 3
+Requires: python-numpy
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module easydev}
-BuildRequires: %{python_module matplotlib}
+BuildRequires: %{python_module matplotlib >= 3}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest}
# /SECTION
@@ -49,10 +47,6 @@
%prep
%setup -q -n colormap-%{version}
-# We don't want the pytest addopts for coverage. Nothing relevant in there
-rm setup.cfg
-# matplotlib depends on numpy anyway, use that as replacement for
easydev.easytest using nose
-sed -i 's/from easydev.easytest import assert_list_almost_equal/from
numpy.testing import assert_almost_equal as assert_list_almost_equal/'
test/test_colors.py
%build
%pyproject_wheel