public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyproject-hooks] rawhide: Update to 1.3.3 (rhbz#2534114)
@ 2026-10-16 9:46 Lumir Balhar
0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-10-16 9:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pyproject-hooks
Branch : rawhide
Commit : c4de780fbce783190b90c5a5e6965ec15914d494
Author : Lumir Balhar <lbalhar@redhat.com>
Date : 2026-09-23T23:02:36+02:00
Stats : +3/-32 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-pyproject-hooks/c/c4de780fbce783190b90c5a5e6965ec15914d494?branch=rawhide
Log:
Update to 1.3.3 (rhbz#2534114)
Assisted-By: Claude
---
diff --git a/.gitignore b/.gitignore
index e36ff67..661fb13 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/pyproject_hooks-1.0.0.tar.gz
/pyproject_hooks-1.2.0.tar.gz
+/pyproject_hooks-1.3.3.tar.gz
diff --git a/f230da76.patch b/f230da76.patch
deleted file mode 100644
index af99bc8..0000000
--- a/f230da76.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From f230da76573e32003cf42746b32821f32b0beda6 Mon Sep 17 00:00:00 2001
-From: Seth Michael Larson <seth@python.org>
-Date: Tue, 3 Feb 2026 19:43:44 +0000
-Subject: [PATCH] Use os.path.commonpath() instead of commonprefix()
-
----
- src/pyproject_hooks/_impl.py | 5 +----
- 1 file changed, 1 insertion(+), 4 deletions(-)
-
-diff --git a/src/pyproject_hooks/_impl.py b/src/pyproject_hooks/_impl.py
-index 14484fa..02eb4d1 100644
---- a/src/pyproject_hooks/_impl.py
-+++ b/src/pyproject_hooks/_impl.py
-@@ -117,12 +117,9 @@ def norm_and_check(source_tree: str, requested: str) -> str:
-
- abs_source = os.path.abspath(source_tree)
- abs_requested = os.path.normpath(os.path.join(abs_source, requested))
-- # We have to use commonprefix for Python 2.7 compatibility. So we
-- # normalise case to avoid problems because commonprefix is a character
-- # based comparison :-(
- norm_source = os.path.normcase(abs_source)
- norm_requested = os.path.normcase(abs_requested)
-- if os.path.commonprefix([norm_source, norm_requested]) != norm_source:
-+ if os.path.commonpath([norm_source, norm_requested]) != norm_source:
- raise ValueError("paths must be inside source tree")
-
- return abs_requested
diff --git a/python-pyproject-hooks.spec b/python-pyproject-hooks.spec
index 99d955c..f206cd2 100644
--- a/python-pyproject-hooks.spec
+++ b/python-pyproject-hooks.spec
@@ -2,7 +2,7 @@
%bcond_without tests
Name: python-pyproject-hooks
-Version: 1.2.0
+Version: 1.3.3
Release: %autorelease
Summary: Wrappers to call pyproject.toml-based build backend hooks
@@ -11,9 +11,6 @@ License: MIT
URL: https://pypi.org/project/pyproject_hooks/
Source: %{pypi_source pyproject_hooks}
-# Upstream fix for compatibility with Python 3.15
-Patch: f230da76.patch
-
BuildArch: noarch
BuildRequires: python3-devel
diff --git a/sources b/sources
index bcf5dd8..bd1b440 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyproject_hooks-1.2.0.tar.gz) = e098e521f03cfae9a96c0ee5d2e2ef46ef832d8f38c7d8380fc17355776e09ae3a704879e6e4a2bc7999092c4dbf80267b3b56850135c74d275a12607e0ffe83
+SHA512 (pyproject_hooks-1.3.3.tar.gz) = 02987f247af2d82729ac4814ef1a58f129496434206f65411e7dcd254a4d4d9e4d90347d70708e5e74b2a735d7995f8334fb124a8e81fcab4a10ed4c193bf29b
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-16 9:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-16 9:46 [rpms/python-pyproject-hooks] rawhide: Update to 1.3.3 (rhbz#2534114) Lumir Balhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox