public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-inquirer] rawhide: update to 3.4.1 fixes rhbz#2260470 and rhbz#2434987
@ 2026-08-06 13:50 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-06 13:50 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-inquirer
            Branch : rawhide
            Commit : e0dd1935f82bf6d366843201e15641205bbf291c
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-07-25T18:56:51-03:00
            Stats  : +14/-4 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-inquirer/c/e0dd1935f82bf6d366843201e15641205bbf291c?branch=rawhide

            Log:
            update to 3.4.1 fixes rhbz#2260470 and rhbz#2434987

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index c450923..a740770 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /python-inquirer-3.1.3.tar.gz
+/python-inquirer-3.4.1.tar.gz

diff --git a/python-inquirer.spec b/python-inquirer.spec
index 408a8f2..4f32663 100644
--- a/python-inquirer.spec
+++ b/python-inquirer.spec
@@ -1,7 +1,7 @@
 %global srcname inquirer
 
 Name:           python-%{srcname}
-Version:        3.1.3
+Version:        3.4.1
 Release:        %autorelease
 Summary:        Collection of common interactive command line user interfaces
 
@@ -18,7 +18,7 @@ BuildRequires:  sed
 
 %global _description %{expand:
 This package provides a collection of common interactive command line user
-interfaces, based on Inquirer.js.}
+interfaces, based on the Inquirer JavaScript library.}
 
 %description %_description
 
@@ -33,6 +33,15 @@ Summary:        %{summary}
 # Fix interpreter invocations in tests
 sed -i 's:python:python3:g' tests/acceptance/*.py
 
+# PyPI package name is editor, but Fedora packages it as python-editor
+sed -i 's/editor = ">=1.6.0"/python-editor = ">=1.0.4"/' pyproject.toml
+
+# Fedora packages readchar as 4.0.5, but inquirer 3.4.1 asks for >=4.2.0
+# The API is compatible enough, so relax the version requirement to >=4.0.0
+# This workaround can be removed when readchar is upgraded to 4.2.2
+# https://src.fedoraproject.org/rpms/python-readchar/pull-request/2
+sed -i 's/readchar = ">=4.2.0"/readchar = ">=4.0.0"/' pyproject.toml
+
 %generate_buildrequires
 %pyproject_buildrequires
 
@@ -44,10 +53,10 @@ sed -i 's:python:python3:g' tests/acceptance/*.py
 %pyproject_save_files %{srcname}
 
 %check
+%pyproject_check_import
 %pytest
 
 %files -n python3-%{srcname} -f %{pyproject_files}
-%license %{python3_sitelib}/%{srcname}-%{version}.dist-info/LICENSE
 %doc README.md
 
 %changelog

diff --git a/sources b/sources
index c6eeec8..1ae7907 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-inquirer-3.1.3.tar.gz) = b1f43a583ab03ea7ba5b43d8abfa66b60716b4380f50dc415c68dd1429e03dbddcd644bcbd13e99d26ace10b4ec8fd24fa384cb463745e1a3d89444189ef860d
+SHA512 (python-inquirer-3.4.1.tar.gz) = 4383a5c58081e5c07b5ee945b12126d3f16be2fe429ab83fbec83a89e40de4c95e20d800551bc042e4a1e12142597b8e01c15765fabae34d959aa593728cd795

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

only message in thread, other threads:[~2026-08-06 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 13:50 [rpms/python-inquirer] rawhide: update to 3.4.1 fixes rhbz#2260470 and rhbz#2434987 Filipe Rosset

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