public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pillow] rawhide: Update to 13.0.0
Date: Fri, 16 Oct 2026 23:17:45 GMT	[thread overview]
Message-ID: <179219266533.1.10413014908269153244.rpms-python-pillow-5cffeafe011c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pillow
Branch : rawhide
Commit : 5cffeafe011c49628ee457a9ddf75bc95da0444b
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2026-10-17T01:17:28+02:00
Stats  : +29/-24 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pillow/c/5cffeafe011c49628ee457a9ddf75bc95da0444b?branch=rawhide

Log:
Update to 13.0.0

---
diff --git a/.gitignore b/.gitignore
index 897e383..5c51c8e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -83,3 +83,4 @@
 /Pillow-12.1.1.tar.gz
 /Pillow-12.2.0.tar.gz
 /Pillow-12.3.0.tar.gz
+/Pillow-13.0.0.tar.gz

diff --git a/pillow_mingw.patch b/pillow_mingw.patch
index 5c051a3..f67d106 100644
--- a/pillow_mingw.patch
+++ b/pillow_mingw.patch
@@ -1,30 +1,31 @@
-diff -rupN --no-dereference Pillow-12.3.0/setup.py Pillow-12.3.0-new/setup.py
---- Pillow-12.3.0/setup.py	2026-07-01 11:09:01.000000000 +0200
-+++ Pillow-12.3.0-new/setup.py	2026-09-23 17:04:32.289236802 +0200
+diff -rupN --no-dereference Pillow-13.0.0/setup.py Pillow-13.0.0-new/setup.py
+--- Pillow-13.0.0/setup.py	2026-10-16 22:05:55.000000000 +0200
++++ Pillow-13.0.0-new/setup.py	2026-10-17 00:58:23.404865535 +0200
 @@ -17,7 +17,6 @@ import sys
+ import sysconfig
  import warnings
- from collections.abc import Iterator
  
 -from pybind11.setup_helpers import ParallelCompile
  from setuptools import Extension, setup
  from setuptools.command.build_ext import build_ext
  
-@@ -32,8 +31,12 @@ while sys.argv[-1].startswith("--pillow-
+@@ -34,8 +33,13 @@ while sys.argv[-1].startswith("--pillow-
      _, key, value = sys.argv.pop().split("=", 2)
      configuration.setdefault(key, []).append(value)
  
--default = int(configuration.get("parallel", ["0"])[-1])
--ParallelCompile("MAX_CONCURRENCY", default).install()
-+
+-parallel_default = int(configuration.get("parallel", ["0"])[-1])
+-ParallelCompile("MAX_CONCURRENCY", parallel_default).install()
 +PLATFORM_MINGW = "mingw32" in os.getenv("CC", "")
 +if not PLATFORM_MINGW:
 +    from pybind11.setup_helpers import ParallelCompile
-+    default = int(configuration.get("parallel", ["0"])[-1])
-+    ParallelCompile("MAX_CONCURRENCY", default).install()
++    parallel_default = int(configuration.get("parallel", ["0"])[-1])
++    ParallelCompile("MAX_CONCURRENCY", parallel_default).install()
++else:
++    parallel_default = False
  
  
  def get_version() -> str:
-@@ -155,9 +158,6 @@ class RequiredDependencyException(Except
+@@ -157,9 +161,6 @@ class RequiredDependencyException(Except
      pass
  
  
@@ -34,7 +35,7 @@ diff -rupN --no-dereference Pillow-12.3.0/setup.py Pillow-12.3.0-new/setup.py
  def _dbg(s: str, tp: str | tuple[str, ...] | None = None) -> None:
      if DEBUG:
          if tp:
-@@ -575,7 +575,7 @@ class pil_build_ext(build_ext):
+@@ -586,7 +587,7 @@ class pil_build_ext(build_ext):
          #
          # add platform directories
  
@@ -43,7 +44,7 @@ diff -rupN --no-dereference Pillow-12.3.0/setup.py Pillow-12.3.0-new/setup.py
              pass
  
          elif sys.platform == "cygwin":
-@@ -678,7 +678,7 @@ class pil_build_ext(build_ext):
+@@ -689,7 +690,7 @@ class pil_build_ext(build_ext):
          # FIXME: check /opt/stuff directories here?
  
          # standard locations
@@ -52,7 +53,7 @@ diff -rupN --no-dereference Pillow-12.3.0/setup.py Pillow-12.3.0-new/setup.py
              _add_directory(library_dirs, "/usr/local/lib")
              _add_directory(include_dirs, "/usr/local/include")
  
-@@ -928,7 +928,7 @@ class pil_build_ext(build_ext):
+@@ -939,7 +940,7 @@ class pil_build_ext(build_ext):
                  # Ensure transitive dependencies are linked.
                  libs.append("Xau")
              defs.append(("HAVE_XCB", None))
@@ -61,7 +62,7 @@ diff -rupN --no-dereference Pillow-12.3.0/setup.py Pillow-12.3.0-new/setup.py
              libs.extend(["kernel32", "user32", "gdi32"])
          if struct.unpack("h", b"\0\1")[0] == 1:
              defs.append(("WORDS_BIGENDIAN", None))
-@@ -943,6 +943,8 @@ class pil_build_ext(build_ext):
+@@ -954,6 +955,8 @@ class pil_build_ext(build_ext):
          if feature.get("freetype"):
              srcs = []
              libs = ["freetype"]
@@ -70,7 +71,7 @@ diff -rupN --no-dereference Pillow-12.3.0/setup.py Pillow-12.3.0-new/setup.py
              defs = []
              if feature.get("raqm"):
                  if not feature.want_vendor("raqm"):  # using system Raqm
-@@ -970,7 +972,7 @@ class pil_build_ext(build_ext):
+@@ -981,7 +984,7 @@ class pil_build_ext(build_ext):
  
          if feature.get("lcms"):
              libs = [feature.get("lcms")]
@@ -79,7 +80,7 @@ diff -rupN --no-dereference Pillow-12.3.0/setup.py Pillow-12.3.0-new/setup.py
                  libs.extend(["user32", "gdi32"])
              self._update_extension("PIL._imagingcms", libs)
          else:
-@@ -994,8 +996,9 @@ class pil_build_ext(build_ext):
+@@ -1005,8 +1008,9 @@ class pil_build_ext(build_ext):
          else:
              self._remove_extension("PIL._avif")
  
@@ -91,10 +92,10 @@ diff -rupN --no-dereference Pillow-12.3.0/setup.py Pillow-12.3.0-new/setup.py
  
          build_ext.build_extensions(self)
  
-diff -rupN --no-dereference Pillow-12.3.0/src/libImaging/ImPlatform.h Pillow-12.3.0-new/src/libImaging/ImPlatform.h
---- Pillow-12.3.0/src/libImaging/ImPlatform.h	2026-07-01 11:09:01.000000000 +0200
-+++ Pillow-12.3.0-new/src/libImaging/ImPlatform.h	2026-09-23 17:04:32.290003106 +0200
-@@ -29,7 +29,7 @@
+diff -rupN --no-dereference Pillow-13.0.0/src/libImaging/ImPlatform.h Pillow-13.0.0-new/src/libImaging/ImPlatform.h
+--- Pillow-13.0.0/src/libImaging/ImPlatform.h	2026-10-16 22:05:55.000000000 +0200
++++ Pillow-13.0.0-new/src/libImaging/ImPlatform.h	2026-10-17 00:58:23.404671118 +0200
+@@ -21,7 +21,7 @@
  #if defined(_WIN32) || defined(__CYGWIN__) /* WIN */
  
  #define WIN32_LEAN_AND_MEAN

diff --git a/python-pillow.spec b/python-pillow.spec
index af41bc0..39fb0cd 100644
--- a/python-pillow.spec
+++ b/python-pillow.spec
@@ -17,8 +17,8 @@
 %endif
 
 Name:           python-%{srcname}
-Version:        12.3.0
-Release:        4%{?dist}
+Version:        13.0.0
+Release:        1%{?dist}
 Summary:        Python image processing library
 
 # License: see http://www.pythonware.com/products/pil/license.htm
@@ -307,6 +307,9 @@ popd
 
 
 %changelog
+* Fri Oct 16 2026 Sandro Mani <manisandro@gmail.com> - 13.0.0-1
+- Update to 13.0.0
+
 * Wed Sep 23 2026 Sandro Mani <manisandro@gmail.com> - 12.3.0-4
 - Rebuild (mingw-python)
 

diff --git a/sources b/sources
index 2b28041..864fd36 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Pillow-12.3.0.tar.gz) = 41453e23021fdb08ed9bf8b67a912f8217010840f99665e49465088e76c608fca78c2ca4dda3de8728ba9f8002c7e98231135669990d88758c5944afa0a13f64
+SHA512 (Pillow-13.0.0.tar.gz) = eb031278da12ae0a19a974d6efbf3b87b2104585bee2fcfef5e94b434be2782253d03711317a816e66936a3fe22773d92a624d1b7274460ec11002f3a2941ab5

                 reply	other threads:[~2026-10-16 23:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179219266533.1.10413014908269153244.rpms-python-pillow-5cffeafe011c@fedoraproject.org \
    --to=manisandro@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox