Re: F43 Change Proposal: Deprecate RPM Macros for setup.py-based Python Builds (self-contained)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2025/06/10 15:08, Miro Hrončok wrote:

On 10. 06. 25 13:59, Cristian Le via devel wrote:
I believe some clarification for this proposal is in order

What kind of clarification do you think is needed?

Not necessarily in the change proposal, but for the people who were confused in this email thread.

On 2025/06/07 14:49, Aoife Moloney wrote:

Old:

  %build
  %py3_build

New:

  %build
  %pyproject_wheel

The %py3_build expands to `python3 setup.py build` [1] which is the interface that is being removed. %pyproject_wheel expands to `pip wheel` [2], which will read setup.py and build (presumably without calling the removed interface).

More or less, yes. It might not read setup.py if pyproject.toml says otherwise. But for 99.9 % packages that worked with %py3_build, this is the case, yes.

Could also document that a minimal pyproject.toml can be added as
```
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
```

I've seen those around, but I don't know if it actually makes a difference in these context.

Do you believe such technical detail needs to be in the proposal?
Your call on this, if you expect that you need to clarify the point later on as well, or if the clarification in this mailing list is sufficient.
-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux