public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-futurist] noevent: Remove eventlet requirement
@ 2026-06-07 16:00 Steve Traylen
  0 siblings, 0 replies; only message in thread
From: Steve Traylen @ 2026-06-07 16:00 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-futurist
            Branch : noevent
            Commit : 7fcb1e52e2ccc0e7034144116f145d6271fd6c43
            Author : Steve Traylen <steve.traylen@cern.ch>
            Date   : 2026-06-07T17:59:19+02:00
            Stats  : +13/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-futurist/c/7fcb1e52e2ccc0e7034144116f145d6271fd6c43?branch=noevent

            Log:
            Remove eventlet requirement

- First Python 3.15 build
- Resolves: rhbz#2485869

Fedora 44 already released without the eventlet requirement and with
tests disabled.

Stick with that.

Eventlet requirement is being removed from openstack genrally.

---
diff --git a/python-futurist.spec b/python-futurist.spec
index d5a9714..ff6cfb4 100644
--- a/python-futurist.spec
+++ b/python-futurist.spec
@@ -70,10 +70,12 @@ Futurist
 
 sed -i /^[[:space:]]*-c{env:.*_CONSTRAINTS_FILE.*/d tox.ini
 
-sed -i \
-    -e "/^coverage[[:space:]]*[><=]/d" \
-    -e "/^reno[[:space:]]*[><=]/d" \
-    test-requirements.txt doc/requirements.txt
+%pyproject_patch_dependency coverage:ignore
+%pyproject_patch_dependency reno:ignore
+
+# Eventlet is being removed from openstack, we do not need to testit.
+%pyproject_patch_dependency eventlet:ignore
+
 
 
 %generate_buildrequires
@@ -87,6 +89,7 @@ sed -i \
 %build
 %pyproject_wheel
 
+
 %if 0%{?with_doc}
 # generate html docs
 %tox -e docs
@@ -94,6 +97,7 @@ sed -i \
 rm -rf doc/build/html/.{doctrees,buildinfo}
 %endif
 
+
 %install
 %pyproject_install
 
@@ -101,11 +105,14 @@ rm -rf doc/build/html/.{doctrees,buildinfo}
 
 
 %check
-%tox -e %{default_toxenv} -- -- --exclude-regex 'test_wait_for_any'
+%pyproject_check_import %{pypi_name} -e futurist.tests.test_executors -e futurist.tests.test_periodics -e futurist.tests.test_waiters
+# to hard while waiting for evently to really go, we do not need to test
+# it though
+#%%tox -e %%{default_toxenv}
 
 
 %files -n python3-%{pypi_name} -f %{pyproject_files}
-%doc README.rst
+%doc README.rst ChangeLog
 
 
 %if 0%{?with_doc}

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

only message in thread, other threads:[~2026-06-07 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-07 16:00 [rpms/python-futurist] noevent: Remove eventlet requirement Steve Traylen

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