Re: Packages that failed to build with Python 3.10 (and what to do)

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

 




On 6/8/21 3:58 PM, Tomas Hrnciar wrote:
Hello.

As you might already know, we have recently merged in the Python 3.10side tagto Rawhide, despite several builds not succeeding.We always aim for some compromise between having the side tag open for too long and having too many failures.

https://fedoraproject.org/wiki/Changes/Python3.10 <https://fedoraproject.org/wiki/Changes/Python3.10>

The packages, when not rebuilt, are not installable in rawhide, hence fixing them should be our top priority. If you need help with Python-related issues, we (the Python Maintenance team at Red Hat) are happy to help. Unfortunately, several packages fail to build for Python-unrelated reasons.

Most of the packages only fail to build because their dependencies were not yet rebuilt. Chances are, you already got an automated F35FailsToInstall bugzilla from Miro, that your package fails to install. It would be really helpful if you could find the missing dependency and mark the bugzilla for your package dependingon the bugzilla for the missing dep. Weslowly progress to do that as well, but your help is crucial here.

If your package fails because there isanon-dependency problem, you might have already received a bugzilla from us in the past. If the build failure is related to changes in Python 3.10, it should contain some hints about the problem.

# What to do?

General advice: If you are aware of the problem and working towards fixing it, set your bugzilla to ASSIGNED to avoid further automated reminders.

If blocked by dependencies, do not close the bugzillas as NOTABUG or DUPLICATE just because it is "not a problem in your package". The automation will file new ones anyway.

## My package fails to build because it has test failures in %check

Please, try to resolve the failures. If you are confident that the package works fine, but the tests are wrong, skip some failing tests, ideally with a link to an upstream issue. Do not disable (e.g. comment out) all tests just to unblock the rebuild of your package, it usually only hides the problem.

## My package fails to build because it has broken build dependencies

Please try to track the missing build dependencies in Bugzilla. If possible, help the maintainers of your dependencies to get them rebuilt. When in need of escalation, ask us for provenpackager help (ideally with pull requests to be merged). Once possible, rebuild your package (no need to bump the release, we already did that). When you do, the bugzilla will eventually get automatically closed, but you can do that manually as well.

## My package was rebuilt with Python 3.10 but it has broken runtime dependencies

Please try to track the missing runtime dependencies in Bugzilla. If possible, help the maintainers of your dependencies to get them rebuilt. When in need of escalation, ask us for provenpackager help (ideally with pull requests to be merged). When the dependencies are rebuilt, your package will install successfully once again and the bugzilla will eventually get automatically closed, but you can do that manually as well.

## My package failed to build but installs just fine

Some packages that only require libpython3.9.so.1.0 will successfully pull in the python3.9 package as a dependency and hence they don't have installation issues. They need to be rebuilt with Python 3.10 anyway, we don't want Fedora users to pull in two Python versions unless they need them for development purposes.

## How to run things locally?

You can use mock. Make sure to:

  1. Clear all caches first: $ mock -r fedora-rawhide-x86_64--scrub=all
 2. Use the Koji repo: $ mock -r fedora-rawhide-x86_64 --enablerepo=local ...

## Where to get help

Reply to this thread or find us (thrnciar, mhroncok) on #fedora-python IRC channel (libera.chat).

---

Let usknow if you have other questions.

> ...
petsc sagitter

I need help for PETSC, please.

https://bugzilla.redhat.com/show_bug.cgi?id=1959088

--
---
Antonio Trande
Fedora Project
mailto: sagitter@xxxxxxxxxxxxxxxxx
GPG key: 0x29FBC85D7A51CC2F
GPG key server: https://keys.gnupg.net/

Attachment: OpenPGP_0x29FBC85D7A51CC2F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure

[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