https://bugzilla.redhat.com/show_bug.cgi?id=2033801



--- Comment #2 from Ben Beasley <[email protected]> ---
You should also add the appropriate Python extras metapackages[1] for the
extras defined in setup.cfg. The easiest way is, somewhere after the base
package's %description[2]:

  %pyproject_extras_subpkg -n python3-%{pkg_name} babel fsqla common mfa

There’s a good argument for adding these extras to the generated BR’s to catch
any problems that would cause one of the extras metapackages to fail to
install. (The dependencies they bring are generally needed for the full test
suite anyway.)

  %pyproject_buildrequires -x babel,fsqla,common,mfa requirements/docs.txt
requirements/tests.txt

In both of the above, you’ll need to omit the “mfa” extra since the “pyqrcode”
and “phonenumberslite” dependencies aren’t packaged.

[1] https://fedoraproject.org/wiki/Changes/PythonExtras#Extras_metapackages
[2] https://src.fedoraproject.org/rpms/pyproject-rpm-macros


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2033801
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to