On 06. 05. 20 11:24, Lumir Balhar wrote:
I've took a look and the new guidelines look good to me.

The only thing I am afraid of is that there is a lot of magic behind new macros. Previously, macros were a way how to use standard Python commands like "python3 setup.py build" without memorizing them and without a fear that you forget an recommended/standard/important command-line option. But now, the macros are much more complex and newcomers might not understand what is behind them. Moreover, given the fact that some of them are MUST, we might be too strict there. It is, of course, a matter of taste, but what if I simply prefer to list all my runtime dependencies manually to have a comprehensive list which also includes all the dependencies outside Python world?

For build time dependencies, I think listing them explicitly is arguably beneficial in some cases.

There are multiple ways to handle this:

1) list them, use %pyproject_buildrequires (no-op) anyway -- kinda ugly

2) have pyproject-rpm-macros-brs (ignore the bad name now) metapackage that would bring in what is needed for pyproject macros to work without %pyproject_buildrequires:

That (currently) is:

 - python3-pip
 - (python3-current-env if tox)

For runtime dependencies, I am not so sure. History has shown that people tend to forgot to add new deps (or remove old ones) on package upgrades. Having mandatory automation the makes sense to me. Automatic CI should determine that the package fails to install because a new dependency is not available, not humans.

I mean, sometimes I like to implement the latest possibilities and macros to test them and see how they can help me and sometimes I like to use the old way, write everything explicitly/manually and don't use automation.

That is valuable feedback. 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

Reply via email to