Hi, Please branch and build rust-pyo3_0.20 in epel10, it is a dependency of python-libcst. Cheers, Romain
I would prefer not to branch more pyo3 compat packages for epel10 (other than the packages for v0.23 and v0.22 that are already there). Old versions of pyo3 like v0.20 don't even officially support recent versions of Python.
That is also my wish. As far as libcst is concerned, this will need to wait that https://github.com/Instagram/LibCST/pull/1180 is merged upstream (as I doubt on Fedora side we do apply patch before these are accepted upstream, do we ?).
Adding patches downstream before they are merged upstream isn't that uncommon. As far as I can tell, the PR for updating to pyo3 v0.22 looks good and passed upstream CI. In this case, I would recommend asking the python-libcst maintainer to apply this patch downstream, so we can avoid branching pyo3 v0.20 for epel 10.
Ok, I have backported to pyo 0.22 upgrade in this pull request: https://src.fedoraproject.org/rpms/python-libcst/pull-request/6 If all the rust-peg packages are built, with the above pull request I can successfully build python-libcst for EPEL 10.
Thanks, the PR looks good to me. Knowing the maintainers of python-libcst (they are both also Rust SIG members), I assume the PR will get merged.