Python packaging targets
Python packaging targets
Posted Feb 24, 2023 6:08 UTC (Fri) by cyperpunks (subscriber, #39406)In reply to: Python packaging targets by hrw
Parent article: Python packaging targets
It's very simple, but it seems to a be a secret for most users:
You create a bug against the package in distro and ask for upgrade.
If the upstream maintainer has done development corrretlt and not broken backward compatibility and all packages that depend on the package by explicit version check has used equal and greater than (>=) and not equal, it takes distro maintainer 1-2 hours work to import new version, build it and send update to repos. After 3-7 days in testing (you can enable testing repo to the package the next day) new version will be availalble for all users in the distro.
If upstream maintainer has broken backward compatibility the distro maintainer must check all packages that depend on the problematic package and ping maintainers of all borken packages due to the borken backward compatibility. The distro maintainer of the now borken package must now check if a fix exist or resolve it by a local fix or stop the upgrade of your package.
If upgrade A of forces upgrade of package B, the whole process must be repeated for package B so on to all deps have been resolved.
As seen the amount of work needed is direct product of how upstream maintainers of packages does development. If they don't break backward compatibility and use sane version requirement expressions an package upgrade is available for all users in a few days.
