public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-ptyprocess] rawhide: Fix build with flit-core version 4
Date: Thu, 17 Sep 2026 10:39:39 GMT [thread overview]
Message-ID: <178964157946.1.4885006721422927006.rpms-python-ptyprocess-d18a8225a365@fedoraproject.org> (raw)
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
reply other threads:[~2026-09-17 10:39 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=178964157946.1.4885006721422927006.rpms-python-ptyprocess-d18a8225a365@fedoraproject.org \
--to=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