Hello Jos, thank you for doing this. I see upstream has already responded and proposed a fix. I've opened PR to backport it. It builds with Python 3.12 in f39-sidetag.
https://src.fedoraproject.org/rpms/python-metar/pull-request/1 https://koji.fedoraproject.org/koji/taskinfo?taskID=102904082 On Mon, Jul 3, 2023 at 9:43 PM Jos de Kloe <josdek...@gmail.com> wrote: > Hi Tomáš, > > I have been looking at this one: > > > python-metar jdekloe > > and I think it needs to be fixed upstream before it can be build for > python3.12. Of course the failing tests can be disabled, but that may > just hide that the module is crippled. > > So I opened this issue upstream: > https://github.com/python-metar/python-metar/issues/175 > > Best regards, > > Jos. > > On 6/27/23 20:43, Tomáš Hrnčiar wrote: > > Hello, > > > > I'd like to provide an update on Python 3.12 mass rebuild. > > > > The mass rebuild is still in progress. So far 2666 packages were rebuilt > > in side tag which is about 65,8% out of 4049 python packages. We are now > > working on fixing important packages blocking others. > > > > As mentioned in previous email - if you see a "Rebuilt for Python 3.12" > > (or similar) commit in your package, please don't rebuild it in regular > > rawhide or another rawhide side tag. If you need to, please let us know, > > so we can coordinate. > > > > If you'd like to build a package after we already rebuilt it, you should > > be able to build it in the side tag via: > > > > on branch rawhide: > > $ fedpkg build --target=f39-python > > $ koji wait-repo f39-python --build <nvr> > > > > Note that it will take a while before all the essential packages are > > rebuilt, so don't expect all your dependencies to be available right > > away. Please, don't attempt to build your package in the side tag before > > we do. > > When in trouble, ask here or on IRC (#fedora-python on Libera.Chat). > > Ping me (thrnciar) or Miro (mhroncok) if you need to talk to us. > > > > Builds: > > > https://koji.fedoraproject.org/koji/builds?latest=0&tagID=f39-python&order=-build_id&inherited=0 > > > > Please avoid any potentially disturbing or major changes in Python > > packages until the rebuild is over. > > > > Thanks. Let us know if you have any questions. > > > > Here is the list of packages that failed to build but their dependencies > > are available. If you'd like to help us, any fixes are welcome. Please > > build the package with --target=f39-python if you fix it. > > > > If your package is failing with ModuleNotFoundError: No module named > > 'imp', this is happening because Python 3.12 removed the long deprecated > > imp module. As a stopgap measure, you can BuildRequire > > python3-zombie-imp package, which allows you to import the imp module > > even on Python 3.12. We strongly recommend talking to upstream and > > encouraging them to migrate to importlib instead. > > > > Maintainers by package: > ... snip .... > >> Please avoid any potentially disturbing or major changes in Python > >> packages until the rebuild is over. > >> > >> Thanks. Let us know if you have any questions. >
_______________________________________________ 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 Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue