On 27. 04. 24 6:34, Tom Stellard wrote:
...
* Switch to python-style compat/main packages. In order to make the packaging
more
consistent between the main package (e.g. llvm) and the compat package (e.g.
llvm18),
we would retire the un-versioned dist-git for llvm, and create a new versioned
dist-git
for each new release (e.g. llvm19, llvm20, llvm21 etc.). We would then
designate one
of these as the 'main version', and that version would produce binary rpms that
look
like the current main package (i.e. llvm-libs instead of llvm19-libs).
In Python, we did it this way because it was hard to keep one "python3"
component that was different version in different Fedoras + multiple
"python3.X" components that did (not) exist on certain Fedoras. Git
cherry-pciks between branches were... hard. Merges were impossible.
Having the component names release-agnostic simplified things us a lot.
* Invert the order of compat/main packages. Instead of having the compat
package be
the old version, and the main package be the new version, we would have the
compat package
be newer and the main package be older. This would allow us to introduce a new
version of
llvm without impacting other packages that depend on the main version of LLVM.
This allowed us to package new pre-releases of Python as soon as alpha 1 was
out (we could even do pre-alphas, but so far there was not enough motivation).
That makes it easier for users to test things early. It also allows *us* to
test the RPM build early.
It also allowed users of e.g. Fedora 38 to use Python 3.12 if they needed to
(however, without the entire RPM-Python packages stack on top), despite Python
3.12 being the main Python in F39+ only.
Overall, it works quite nicely.
If anyone has any feedback on these ideas we'd like to hear it and are happy to
discuss
these more.
+100
Any chance this gets partially implemented in older Fedoras?
I'd appreciate llvm18 and clang18 in Fedora 39 (for Python 3.13 experimental JIT).
https://github.com/python/cpython/blob/3.13/Tools/jit/README.md
Thanks,
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
--
_______________________________________________
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