public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-readchar] rawhide: update to 4.2.2 fixes rhbz#2485950
@ 2026-08-06 17:46 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-08-06 17:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-readchar
Branch : rawhide
Commit : 1f9d2309aebedba1e72f1544e4b1fa2bc64aab6f
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date : 2026-07-25T18:53:35-03:00
Stats : +5/-44 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-readchar/c/1f9d2309aebedba1e72f1544e4b1fa2bc64aab6f?branch=rawhide
Log:
update to 4.2.2 fixes rhbz#2485950
Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 1723005..3f9c1d0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/python-readchar-4.0.5.tar.gz
+/python-readchar-4.2.2.tar.gz
diff --git a/5165992.patch b/5165992.patch
deleted file mode 100644
index 4641eb8..0000000
--- a/5165992.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 5165992002f211fe85175bcbb4f9a60d5e90fdac Mon Sep 17 00:00:00 2001
-From: Martin Weinelt <hexa@darmstadt.ccc.de>
-Date: Sun, 25 Jan 2026 02:05:23 +0100
-Subject: [PATCH] Fix pytest 9 compatibility
-
-The path argument has been deprecated in favor of the collection_path
-argument beecause the former uses the deprecated py library, where the
-latter uses pathlib.
----
- tests/linux/conftest.py | 2 +-
- tests/windows/conftest.py | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/tests/linux/conftest.py b/tests/linux/conftest.py
-index 038203f..3283724 100644
---- a/tests/linux/conftest.py
-+++ b/tests/linux/conftest.py
-@@ -8,7 +8,7 @@
-
-
- # ignore all tests in this folder if not on linux
--def pytest_ignore_collect(path, config):
-+def pytest_ignore_collect(collection_path, config):
- if not sys.platform.startswith("linux"):
- return True
-
-diff --git a/tests/windows/conftest.py b/tests/windows/conftest.py
-index 492d7d7..e0264e8 100644
---- a/tests/windows/conftest.py
-+++ b/tests/windows/conftest.py
-@@ -4,7 +4,7 @@
-
-
- # ignore all tests in this folder if not on windows
--def pytest_ignore_collect(path, config):
-+def pytest_ignore_collect(collection_path, config):
- if sys.platform not in ("win32", "cygwin"):
- return True
-
diff --git a/python-readchar.spec b/python-readchar.spec
index 64566df..c3ef82f 100644
--- a/python-readchar.spec
+++ b/python-readchar.spec
@@ -1,7 +1,7 @@
%global srcname readchar
Name: python-%{srcname}
-Version: 4.0.5
+Version: 4.2.2
Release: %autorelease
Summary: Library to easily read single chars and key strokes
@@ -9,8 +9,6 @@ License: MIT
URL: https://github.com/magmax/python-readchar
# The PyPI tarball doesn't include tests so use GitHub instead
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
-# Fix pytest 9 compatibility: py.path.local arguments deprecated
-Patch: https://github.com/magmax/python-readchar/commit/5165992.patch
BuildArch: noarch
BuildRequires: python3-devel
@@ -18,7 +16,7 @@ BuildRequires: python3-pytest
BuildRequires: python3-pytest-cov
%global _description %{expand:
-This is package provides a library to easily read single chars and keystrokes.}
+This package provides a library to easily read single chars and keystrokes.}
%description %_description
@@ -41,6 +39,7 @@ Summary: %{summary}
%pyproject_save_files %{srcname}
%check
+%pyproject_check_import
%pytest
%files -n python3-%{srcname} -f %{pyproject_files}
diff --git a/sources b/sources
index bd80f33..74e546f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-readchar-4.0.5.tar.gz) = d8b01f182d629722681c6446fc746d18b5336acf1503be60b7cb42ca8c0a58c7d0994811b74a82cd855ddff9e214d3a85b8cb48e7f2c29191b58f91c79b1dcf6
+SHA512 (python-readchar-4.2.2.tar.gz) = f4343c18422f7d30df2e7ae7c158b6d929d5bfbc0b3223a2798908e989cae78b63e0889a982de7e2ef899c500da7dd25d39cc6a4d6a1929b7bbfeb7e1dd18dd5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-06 17:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-06 17:46 [rpms/python-readchar] rawhide: update to 4.2.2 fixes rhbz#2485950 Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox