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-fastavro] rawhide: Manually list dev/test dependencies; it’s simpler
Date: Sun, 23 Aug 2026 09:57:55 GMT	[thread overview]
Message-ID: <178747907522.1.4222163789226236754.rpms-python-fastavro-d933db36a738@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-fastavro
            Branch : rawhide
            Commit : d933db36a738fd5e0daeae83f90495058c56b558
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-23T08:34:17+01:00
            Stats  : +10/-9 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-fastavro/c/d933db36a738fd5e0daeae83f90495058c56b558?branch=rawhide

            Log:
            Manually list dev/test dependencies; it’s simpler

[skip changelog]

---
diff --git a/python-fastavro.spec b/python-fastavro.spec
index ec32cbe..d2950d7 100644
--- a/python-fastavro.spec
+++ b/python-fastavro.spec
@@ -39,6 +39,16 @@ BuildRequires:  python3-sphinx-latex
 BuildRequires:  latexmk
 %endif
 
+# See developer_requirements.txt, which also has many unwanted dependencies on
+# linters, formatters, typecheckers, etc.:
+BuildRequires:  %{py3_dist pytest}
+BuildRequires:  %{py3_dist Cython}
+BuildRequires:  %{py3_dist numpy}
+BuildRequires:  %{py3_dist pandas}
+BuildRequires:  %{py3_dist cramjam}
+BuildRequires:  %{py3_dist lz4}
+BuildRequires:  %{py3_dist zlib_ng}
+
 %global _description %{expand:
 Because the Apache Python avro package is written in pure Python, it is
 relatively slow. In one test case, it takes about 14 seconds to iterate through
@@ -99,19 +109,10 @@ find fastavro/ -name '*.c' -print -delete
 # documentation packages.
 echo 'intersphinx_mapping.clear()' >> docs/conf.py
 
-# Do not generate dependencies on linters, formatters, typecheckers, etc.:
-sed --regexp-extended \
-    --expression '/^(black|check-manifest|flake8|mypy|twine)\b/d' \
-    --expression '/^(coverage|pytest-cov)\b/d' \
-    developer_requirements.txt | tee developer_requirements-filtered.txt
-
 
 %generate_buildrequires
 # codecs includes snappy, zstandard, and lz4
 %pyproject_buildrequires --extras codecs
-# For some reason, combining this with the above does not work, even though it
-# should. It would be nice to investigate this.
-%pyproject_buildrequires developer_requirements-filtered.txt
 
 
 %build

                 reply	other threads:[~2026-08-23  9:57 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=178747907522.1.4222163789226236754.rpms-python-fastavro-d933db36a738@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