public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-quantities] rawhide: Adjustments for 0.17.0
Date: Sat, 21 Nov 2026 06:32:48 GMT	[thread overview]
Message-ID: <179524276880.1.16435875248913952496.rpms-python-quantities-838e206d00fb@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-quantities
Branch : rawhide
Commit : 838e206d00fb4f8f2362cafdb5f0648c60386ad0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-11-21T06:30:42+00:00
Stats  : +7/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-quantities/c/838e206d00fb4f8f2362cafdb5f0648c60386ad0?branch=rawhide

Log:
Adjustments for 0.17.0

---
diff --git a/python-quantities.spec b/python-quantities.spec
index 0667ac7..3be30a6 100644
--- a/python-quantities.spec
+++ b/python-quantities.spec
@@ -12,6 +12,10 @@ Source:         %forgesource
 
 BuildArch:      noarch
 
+# Test dependencies: see the “test” extra, which has unwanted linters etc.
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
+BuildRequires:  %{py3_dist pytest}
+
 %global _description %{expand:
 Quantities is designed to handle arithmetic and conversions of physical
 quantities, which have a magnitude, dimensionality specified by various units,
@@ -33,7 +37,7 @@ Summary:    Support for physical quantities with units, based on numpy
 
 %generate_buildrequires
 export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
-%pyproject_buildrequires -x test
+%pyproject_buildrequires
 
 %build
 export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
@@ -44,10 +48,11 @@ export SETUPTOOLS_SCM_PRETEND_VERSION='%{version}'
 %pyproject_save_files -l quantities
 
 %check
+%pyproject_check_import
 PY_IGNORE_IMPORTMISMATCH=1 %pytest
 
 %files -n python3-quantities -f %{pyproject_files}
-%doc CHANGES.txt README.rst
+%doc CHANGES.rst README.rst
 
 %changelog
 %autochangelog

                 reply	other threads:[~2026-11-21  6:32 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=179524276880.1.16435875248913952496.rpms-python-quantities-838e206d00fb@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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