Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-imagesize for
openSUSE:Factory checked in at 2026-07-07 21:00:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-imagesize (Old)
and /work/SRC/openSUSE:Factory/.python-imagesize.new.1982 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-imagesize"
Tue Jul 7 21:00:22 2026 rev:13 rq:1363956 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-imagesize/python-imagesize.changes
2026-03-24 18:48:06.828607267 +0100
+++
/work/SRC/openSUSE:Factory/.python-imagesize.new.1982/python-imagesize.changes
2026-07-07 21:00:53.141510495 +0200
@@ -1,0 +2,8 @@
+Mon Jul 6 05:59:59 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch remove-upper-bound.patch:
+ * Remove upper bound on Python versions.
+- Sprinkle in fdupes.
+- Ship the license in the built packages.
+
+-------------------------------------------------------------------
New:
----
remove-upper-bound.patch
----------(New B)----------
New:
- Add patch remove-upper-bound.patch:
* Remove upper bound on Python versions.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-imagesize.spec ++++++
--- /var/tmp/diff_new_pack.jucWsO/_old 2026-07-07 21:00:54.369552680 +0200
+++ /var/tmp/diff_new_pack.jucWsO/_new 2026-07-07 21:00:54.373552818 +0200
@@ -22,12 +22,14 @@
Release: 0
Summary: Getting image size from PNG/JPEG/JPEG2000/GIF files
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/shibukawa/imagesize_py
Source:
https://files.pythonhosted.org/packages/source/i/imagesize/imagesize-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#shibukawa/imagesize_py#86
+Patch0: remove-upper-bound.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirements
@@ -45,20 +47,22 @@
* GIF
%prep
-%setup -q -n imagesize-%{version}
+%autosetup -p1 -n imagesize-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
rm -v test/test_get_filelike.py
%pytest
%files %{python_files}
-%{python_sitelib}/imagesize
-%{python_sitelib}/imagesize-%{version}*-info
+%license LICENSE.rst
%doc README.rst
+%{python_sitelib}/imagesize
+%{python_sitelib}/imagesize-%{version}.dist-info
++++++ remove-upper-bound.patch ++++++
>From c9c7f9268c956b9acc29c9a9e8b821eb4cb2bf7f Mon Sep 17 00:00:00 2001
From: Stephen Finucane <[email protected]>
Date: Tue, 23 Jun 2026 12:11:04 +0100
Subject: [PATCH] Remove upper cap on python_requires
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This is pure Python and works just fine on Python 3.15.
❯ python3.15 -m unittest
............................................................................
----------------------------------------------------------------------
Ran 76 tests in 0.015s
OK
There is no need for the cap.
Signed-off-by: Stephen Finucane <[email protected]>
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 3954066..fb5dc41 100644
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@
url='https://github.com/shibukawa/imagesize_py',
license="MIT",
packages=['imagesize'],
- python_requires=">=3.10,<3.15",
+ python_requires=">=3.10",
classifiers=[
'Development Status :: 5 - Production/Stable',