public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fonttools] rawhide: Remove upstreamed patch
@ 2026-09-01  8:09 Parag Nemade
  0 siblings, 0 replies; only message in thread
From: Parag Nemade @ 2026-09-01  8:09 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/fonttools
Branch : rawhide
Commit : 2a7f0ec8eda7f9910a29abc9cfb8e6e16636af51
Author : Parag Nemade <panemade AT redhat DOT com>
Date   : 2026-09-01T13:39:17+05:30
Stats  : +0/-45 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/fonttools/c/2a7f0ec8eda7f9910a29abc9cfb8e6e16636af51?branch=rawhide

Log:
Remove upstreamed patch

---
diff --git a/4133.patch b/4133.patch
deleted file mode 100644
index 6c27a8e..0000000
--- a/4133.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 3ad2c9564898d3cb4152482492a6d548b7b434ee Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Thu, 16 Jul 2026 10:27:17 +0100
-Subject: [PATCH] Avoid the undocumented `glob.glob1` API, removed in Python
- 3.15
-
-See https://docs.python.org/3.15/whatsnew/3.15.html#glob.
-
-See also https://docs.python.org/3.15/library/glob.html#glob.glob, which
-notes that the `root_dir` keyword was added in Python 3.10.
----
- MetaTools/buildTableList.py       | 2 +-
- MetaTools/check_table_coverage.py | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/MetaTools/buildTableList.py b/MetaTools/buildTableList.py
-index b344f330f7..9bdd95642b 100755
---- a/MetaTools/buildTableList.py
-+++ b/MetaTools/buildTableList.py
-@@ -12,7 +12,7 @@
- tablesDir = os.path.join(fontToolsDir, "Lib", "fontTools", "ttLib", "tables")
- docFile = os.path.join(fontToolsDir, "Doc/source/ttx.rst")
- 
--names = glob.glob1(tablesDir, "*.py")
-+names = glob.glob("*.py", root_dir=tablesDir)
- 
- modules = []
- tables = []
-diff --git a/MetaTools/check_table_coverage.py b/MetaTools/check_table_coverage.py
-index 5764daddb4..19ec986eb2 100644
---- a/MetaTools/check_table_coverage.py
-+++ b/MetaTools/check_table_coverage.py
-@@ -141,7 +141,7 @@
- def get_table_modules() -> list[tuple[str, str]]:
-     """Return sorted list of (module_name, tag_raw) for all table .py files."""
-     modules = []
--    for filename in glob.glob1(TABLES_DIR, "*.py"):
-+    for filename in glob.glob("*.py", root_dir=TABLES_DIR):
-         name = filename[:-3]
-         try:
-             tag = identifierToTag(name)  # may contain trailing spaces, e.g. "cvt "

diff --git a/fonttools.spec b/fonttools.spec
index ceccc10..86abbbf 100644
--- a/fonttools.spec
+++ b/fonttools.spec
@@ -39,10 +39,6 @@ License:        MIT
 URL:            https://github.com/fonttools/fonttools/
 Source:         %{url}/archive/%{version}/fonttools-%{version}.tar.gz
 
-# Avoid the undocumented `glob.glob1` API, removed in Python 3.15
-# https://github.com/fonttools/fonttools/pull/4133
-Patch:          %{url}/pull/4133.patch
-
 Requires:       python3-fonttools = %{version}-%{release}
 Provides:       ttx = %{version}-%{release}
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-01  8:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-01  8:09 [rpms/fonttools] rawhide: Remove upstreamed patch Parag Nemade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox