public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-fastavro] rawhide: Manually list dev/test dependencies; it’s simpler
@ 2026-08-23  9:57 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-23  9:57 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-08-23  9:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-23  9:57 [rpms/python-fastavro] rawhide: Manually list dev/test dependencies; it’s simpler Benjamin A. Beasley

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