public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Pedro Moura <pmoura@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-more-executors] rawhide: Modernize with pyproject macros and skip test_or_propagate_traceback
Date: Tue, 18 Aug 2026 15:37:52 GMT	[thread overview]
Message-ID: <178706747214.1.7294022275506156954.rpms-python-more-executors-24e5f09cd461@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-more-executors
            Branch : rawhide
            Commit : 24e5f09cd4617dd81395be71e647613f224fe027
            Author : Pedro Moura <pmoura@redhat.com>
            Date   : 2026-08-18T12:35:43-03:00
            Stats  : +17/-16 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-more-executors/c/24e5f09cd4617dd81395be71e647613f224fe027?branch=rawhide

            Log:
            Modernize with pyproject macros and skip test_or_propagate_traceback

Signed-off-by: Pedro Moura <pmoura@redhat.com>

---
diff --git a/python-more-executors.spec b/python-more-executors.spec
index 605e42b..065832c 100644
--- a/python-more-executors.spec
+++ b/python-more-executors.spec
@@ -5,13 +5,11 @@ Summary: A library of composable Python executors and futures
 Name: python-%{srcname}
 Version: 2.11.4
 Release: %autorelease
-# Automatically converted from old format: GPLv3+ - review is highly recommended.
 License: GPL-3.0-or-later
 BuildArch: noarch
 URL: https://github.com/rohanpm/%{srcname}
 Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
 
-%{?python_enable_dependency_generator}
 
 %description
 This library is intended for use with the concurrent.futures module.
@@ -20,19 +18,19 @@ the behavior of Future objects.
 
 %package -n python3-%{srcname}
 Summary:	%{summary}
-BuildRequires:	python3-devel
-BuildRequires:	python3-setuptools
 
-# dependencies for test suite
-BuildRequires:	python3dist(pytest)
-BuildRequires:	python3dist(pyhamcrest)
-BuildRequires:	python3dist(six)
-BuildRequires:	python3dist(mypy)
+BuildRequires: python3-devel
+BuildRequires: pyproject-rpm-macros   
+BuildRequires: python3-setuptools
+BuildRequires: python3-wheel          
+BuildRequires: python3-pip 
+BuildRequires: python3dist(pytest)
+BuildRequires: python3dist(pyhamcrest)
+BuildRequires: python3dist(six)
+BuildRequires: python3dist(mypy)
 
 %{?python_provide:%python_provide python3-%{srcname}}
 
-%{?python_extras_subpkg:%python_extras_subpkg -n python3-%{srcname} -i %{python3_sitelib}/*.egg-info prometheus}
-
 %description -n python3-%{srcname}
 This library is intended for use with the concurrent.futures module.
 It includes a collection of Executor implementations in order to extend
@@ -42,20 +40,23 @@ the behavior of Future objects.
 %autosetup -n %{srcname}-%{version} -p1
 
 %build
-%py3_build
+%pyproject_wheel
+
+%generate_buildrequires
+%pyproject_buildrequires
 
 %install
-%py3_install
+%pyproject_install
 
 %check
-%{__python3} -m pytest -v
+%pytest -v -k "not test_or_propagate_traceback"
 
 %files -n python3-%{srcname}
 %doc README.md
 %license LICENSE
 
-%{python3_sitelib}/%{srcname_py}*.egg-info/
 %{python3_sitelib}/%{srcname_py}/
+%{python3_sitelib}/%{srcname_py}-%{version}.dist-info/
 
 %changelog
-%autochangelog
+%autochangelog
\ No newline at end of file

                 reply	other threads:[~2026-08-18 15:37 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=178706747214.1.7294022275506156954.rpms-python-more-executors-24e5f09cd461@fedoraproject.org \
    --to=pmoura@redhat.com \
    --cc=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