Hello Python packagers,

as many are currently migrating from the old Python RPM macros to the new due to https://fedoraproject.org/wiki/Changes/DeprecateSetuppyMacros I'd like to reiterate:

  %generate_buildrequires
  %pyproject_buildrequires [options...]

This is MANDATORY when you use %pyproject_wheel and/or %pyproject_install.

The %pyproject_wheel and %pyproject_install macros have dependencies that are generated by %pyproject_buildrequires. Currently, that is python3-pip, python3-packaging and pyproject-rpm-macros. But the list is not stable and may change at any point. For example, if we stop using python3-pip to build the wheel and start using python3-build instead, packages without %pyproject_buildrequires would break.

(pyproject-rpm-macros do not Require those packages as the macros are usable with arbitrary Python versions.)

Packages without %pyproject_buildrequires and without a manual BuildRequires on pyproject-rpm-macros do not build on RHEL/EPEL.

Packages without %pyproject_buildrequires and without a manual BuildRequires on python3-packaging are relying on an indirect transitive dependency from python3-rpm-geneartors.

Please, always add the %generate_buildrequires section when converting packages to pyproject macros.

===========================================================================

If you cannot use %pyproject_buildrequires, let's talk about a solution to this. Perhaps we could produce a pyproject-rpm-macros-static-buildrequires metapackage with the curated set of Requires?

But if you really need this, please tell me your reasons.

===========================================================================

Maintainers by package:
boom-boot            bgurney bmr mcsontos
congruity            adamwill swt2c
cvc5                 jjames
cxxtest              mgieseki
flatpak-module-tools kalev otaylor yselkowitz
grammalecte          melmorabity
knot                 jruzicka pwouters
lensfun              germano grahamwhiteuk nphilipp rdieter trix
libcpuid             martinkg
libmamba             orion
llama-cpp            man2dev trix
menulibre            lyessaadi
onnxruntime          aalvarez dherrera
python-PyRSS2Gen     adamwill
python-Pympler       limb
python-adafruit-platformdetect orphan
python-animatplot    davidsch
python-azure-sdk-tools jcline
python-binary-memcached amoralej
python-click-spinner thebeanogamer
python-collada       hobbes1069
python-contextualbandits iztokf
python-filecheck     rathann
python-ipyparallel   ellert
python-isal          ellert
python-metakernel    ellert
python-mimerender    adamwill
python-psycopg3      anezbeda ndavidov osloup
python-pyownet       ttorcz
python-resultsdb_api adamwill
python-scikit-image  orion sergiopr
python-scikit-uplift iztokf
radicale             jorti pbiering till
rpkg                 cqi lsedlar onosek
torbrowser-launcher  limb pjp
tortoisehg           kiilerix nbecker
tpm2-pkcs11          dcavalca jjelen pbrobinson

Packages by maintainer:
aalvarez   onnxruntime
adamwill   congruity python-PyRSS2Gen python-mimerender python-resultsdb_api
amoralej   python-binary-memcached
anezbeda   python-psycopg3
bgurney    boom-boot
bmr        boom-boot
cqi        rpkg
davidsch   python-animatplot
dcavalca   tpm2-pkcs11
dherrera   onnxruntime
ellert     python-ipyparallel python-isal python-metakernel
germano    lensfun
grahamwhiteuk lensfun
hobbes1069 python-collada
iztokf     python-contextualbandits python-scikit-uplift
jcline     python-azure-sdk-tools
jjames     cvc5
jjelen     tpm2-pkcs11
jorti      radicale
jruzicka   knot
kalev      flatpak-module-tools
kiilerix   tortoisehg
limb       python-Pympler torbrowser-launcher
lsedlar    rpkg
lyessaadi  menulibre
man2dev    llama-cpp
martinkg   libcpuid
mcsontos   boom-boot
melmorabity grammalecte
mgieseki   cxxtest
nbecker    tortoisehg
ndavidov   python-psycopg3
nphilipp   lensfun
onosek     rpkg
orion      libmamba python-scikit-image
orphan     python-adafruit-platformdetect
osloup     python-psycopg3
otaylor    flatpak-module-tools
pbiering   radicale
pbrobinson tpm2-pkcs11
pjp        torbrowser-launcher
pwouters   knot
rathann    python-filecheck
rdieter    lensfun
sergiopr   python-scikit-image
swt2c      congruity
thebeanogamer python-click-spinner
till       radicale
trix       lensfun llama-cpp
ttorcz     python-pyownet
yselkowitz flatpak-module-tools

Thanks.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok

--
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to