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-03-24 18:47:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-imagesize (Old)
and /work/SRC/openSUSE:Factory/.python-imagesize.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-imagesize"
Tue Mar 24 18:47:57 2026 rev:12 rq:1342035 version:2.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-imagesize/python-imagesize.changes
2025-05-30 17:26:01.704998227 +0200
+++
/work/SRC/openSUSE:Factory/.python-imagesize.new.8177/python-imagesize.changes
2026-03-24 18:48:06.828607267 +0100
@@ -1,0 +2,43 @@
+Mon Mar 23 12:44:09 UTC 2026 - Dirk Müller <[email protected]>
+
+- update 2.0.0:
+ * Expanded Format Support: Added support for BMP,
+ AVIF, and HEIC/HEIF image formats.
+ * Rich Metadata API: Introduced imagesize.get_info(),
+ which returns a named tuple (ImageInfo) containing:
+ * width and height
+ * rotation (EXIF orientation value)
+ * xdpi and ydpi
+ * colors (color depth/count)
+ * channels (number of color channels)
+ * URL Support: The API can now fetch and parse image
+ headers directly from http and https URLs.
+ * Type Safety: Added comprehensive PEP 484 type hints for
+ all public API functions and data structures.
+ * Enhanced File-like Support: Improved support for
+ duck-typed file-like objects that implement read() and
+ seek(), even if they do not inherit from io.IOBase.
+ * Python Version Drop: Dropped support for Python 2.7 and
+ Python 3.4 through 3.9. The **minimum required version is
+ now Python 3.10**.
+ * Automatic EXIF Rotation: imagesize.get() now applies
+ EXIF orientation metadata by default. This means the
+ returned width and height will be swapped for images marked
+ as rotated (affects JPEG, TIFF, AVIF, and HEIC/HEIF). Use
+ exif_rotation=False to restore the old behavior.
+ * Error Handling: imagesize.get() and
+ imagesize.getDPI() now return (-1, -1) on parsing
+ failures instead of raising exceptions. Code relying on
+ exceptions for error detection should be updated.
+ Improvements & Bug Fixes
+ * Precision: Migrated SVG unit conversions to use
+ Decimal for more accurate pixel calculations (e.g., for
+ mm, pt, pc units).
+ * WebP Correction: Fixed dimension parsing for VP8X WebP
+ files (correctly handles the +1 offset required by the
+ spec).
+ * Reliability: Significant internal refactoring of JPEG
+ and TIFF parsers to improve robustness against malformed
+ headers.
+
+-------------------------------------------------------------------
Old:
----
imagesize-1.4.1.tar.gz
New:
----
imagesize-2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-imagesize.spec ++++++
--- /var/tmp/diff_new_pack.62aNTh/_old 2026-03-24 18:48:07.476633537 +0100
+++ /var/tmp/diff_new_pack.62aNTh/_new 2026-03-24 18:48:07.480633699 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-imagesize
#
-# 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
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-imagesize
-Version: 1.4.1
+Version: 2.0.0
Release: 0
Summary: Getting image size from PNG/JPEG/JPEG2000/GIF files
License: MIT
++++++ imagesize-1.4.1.tar.gz -> imagesize-2.0.0.tar.gz ++++++
++++ 2049 lines of diff (skipped)