public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-inject] rawhide: Update to v5.4.0
@ 2026-06-18 14:41 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-06-18 14:41 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-inject
Branch : rawhide
Commit : 25b955563e7d0f1df30188dd6bfa76b7411a306d
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-06-18T16:40:20+02:00
Stats  : +6/-20 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-inject/c/25b955563e7d0f1df30188dd6bfa76b7411a306d?branch=rawhide

Log:
Update to v5.4.0

---
diff --git a/0000-asyncio.patch b/0000-asyncio.patch
deleted file mode 100644
index 8094dad..0000000
--- a/0000-asyncio.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -rU4 inject-5.2.1--orig/test/__init__.py inject-5.2.1--patched/test/__init__.py
---- inject-5.2.1--orig/test/__init__.py	2020-02-02 01:00:00.000000000 +0100
-+++ inject-5.2.1--patched/test/__init__.py	2025-06-17 11:27:51.367532010 +0200
-@@ -7,6 +7,7 @@
-     def tearDown(self):
-         inject.clear()
-     
-     def run_async(self, awaitable):
--        loop = asyncio.get_event_loop()
--        return loop.run_until_complete(awaitable)
-\ No newline at end of file
-+        loop = asyncio.new_event_loop()
-+        asyncio.set_event_loop(loop)
-+        return loop.run_until_complete(awaitable)

diff --git a/python-inject.spec b/python-inject.spec
index 71870d8..a5aa650 100644
--- a/python-inject.spec
+++ b/python-inject.spec
@@ -17,15 +17,12 @@ Name: python-%{pypi_name}
 Summary: Dependency injection, the Python way
 License: Apache-2.0
 
-Version: 5.2.1
-Release: 12%{?dist}
+Version: 5.4.0
+Release: 1%{?dist}
 
 URL: https://github.com/ivankorobkov/python-%{pypi_name}
 Source0: %pypi_source
 
-# Fix tests failing on Python 3.14
-Patch0: 0000-asyncio.patch
-
 BuildRequires: python3-devel
 BuildRequires: python3dist(setuptools)
 BuildRequires: python3dist(pytest)
@@ -70,6 +67,9 @@ BuildArch: noarch
 
 
 %changelog
+* Thu Jun 18 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 5.4.0-1
+- Update to v5.4.0
+
 * Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 5.2.1-12
 - Rebuilt for Python 3.15
 

diff --git a/sources b/sources
index 813f112..2daa797 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (inject-5.2.1.tar.gz) = 370b72b2f456cc84ce175c457d71ce81b97b375bb9bcc826e62238cd4518732d5814a976831c022a6759081dca3a7ef045ad939b9ad482091472f5b9ebb8cd6b
+SHA512 (inject-5.4.0.tar.gz) = aaf5e356b13492eeaa3acf07c10ea5e99165d9dfddb25d9b6502b3f9dfa26383082f3d83c121dd2ca6c0273661a4c58ae65bc81993860e9aae6dbea6700af696

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

only message in thread, other threads:[~2026-06-18 14:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 14:41 [rpms/python-inject] rawhide: Update to v5.4.0 Artur Frenszek-Iwicki

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