public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-ptyprocess] rawhide: Fix build with flit-core version 4
@ 2026-09-17 10:39 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-09-17 10:39 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-ptyprocess
Branch : rawhide
Commit : d18a8225a365a9a55e6d231c6e10e1a1d24009c8
Author : Miro Hrončok <miro@hroncok.cz>
Date   : 2026-08-24T18:44:35+02:00
Stats  : +53/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-ptyprocess/c/d18a8225a365a9a55e6d231c6e10e1a1d24009c8?branch=rawhide

Log:
Fix build with flit-core version 4

---
diff --git a/84.patch b/84.patch
new file mode 100644
index 0000000..47c642b
--- /dev/null
+++ b/84.patch
@@ -0,0 +1,45 @@
+From a4fe40cd2d41363d3915cf00b4607e1cf2bb154f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
+Date: Fri, 7 Aug 2026 17:10:13 +0200
+Subject: [PATCH] Use PEP 621 metadata to fix flit-core-4 compatibility
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Michał Górny <mgorny@gentoo.org>
+---
+ pyproject.toml | 17 ++++++++++-------
+ 1 file changed, 10 insertions(+), 7 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 5228534..c8d7d3a 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,13 +1,14 @@
+ [build-system]
+-requires = ["flit_core >=2,<4"]
++requires = ["flit_core >=2,<5"]
+ build-backend = "flit_core.buildapi"
+ 
+-[tool.flit.metadata]
+-module = "ptyprocess"
+-author = "Thomas Kluyver"
+-author-email = "thomas@kluyver.me.uk"
+-home-page = "https://github.com/pexpect/ptyprocess"
+-description-file = "README.rst"
++[project]
++name = "ptyprocess"
++authors = [
++    { name = "Thomas Kluyver", email = "thomas@kluyver.me.uk" },
++]
++readme = "README.rst"
++dynamic = ["version", "description"]
+ classifiers = [
+     "Development Status :: 5 - Production/Stable",
+     "Environment :: Console",
+@@ -22,3 +23,5 @@ classifiers = [
+     "Topic :: Terminals"
+ ]
+ 
++[project.urls]
++Homepage = "https://github.com/pexpect/ptyprocess"

diff --git a/python-ptyprocess.spec b/python-ptyprocess.spec
index db47a38..624593e 100644
--- a/python-ptyprocess.spec
+++ b/python-ptyprocess.spec
@@ -4,7 +4,7 @@
 
 Name:           python-ptyprocess
 Version:        0.7.0
-Release:        17%{?dist}
+Release:        18%{?dist}
 Summary:        Run a subprocess in a pseudo terminal
 
 License:        ISC
@@ -14,6 +14,10 @@ Source:         %{pypi_source}
 # Remove unittest.makeSuite, gone from Python 3.13
 Patch:          https://github.com/pexpect/ptyprocess/pull/75.patch
 
+# Use PEP 621 metadata to fix flit-core-4 compatibility
+# Rebased very slightly from https://github.com/pexpect/ptyprocess/pull/84
+Patch:          84.patch
+
 BuildArch:      noarch
 
 %description
@@ -55,6 +59,9 @@ process and its pty.
 %doc README.rst
 
 %changelog
+* Mon Aug 24 2026 Miro Hrončok <mhroncok@redhat.com> - 0.7.0-18
+- Fix build with flit-core version 4
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-09-17 10:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 10:39 [rpms/python-ptyprocess] rawhide: Fix build with flit-core version 4 

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