Re: Listing maintainers vs packages vs dependencies

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

 



On 24. 01. 19 12:38, Dridi Boukelmoune wrote:
Hi,

Thanks everyone for such quick answers!

On Sun, Jan 13, 2019 at 6:17 PM Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:

On 13. 01. 19 16:58, Dridi Boukelmoune wrote:
Greetings,

I'm planning to work on the python packages I maintain to move them to
python 3 only as per the python 2 deprecation in f30.

Thanks!

Look at https://fedora.portingdb.xyz/maintainer/dridi/

The colors are explained on the main site: https://fedora.portingdb.xyz/

When you click a source package, it lists all the Python subpackages and it may
or may not display a leaf icon. A leaf means: No dependent packages.

If there is no leaf, the dependencies are listed as well, however only those
related to Python.

Well that's news to me! This is not hosted under fp.org so I'm a bit surprised.

It's not, we just hacked this when he started monitoring the Python 3 porting progress. It's created by Fedora Python SIG without the involvement of Fedora Infra.


To fin all deps of a binary package you are about to remove, use:

    dnf repoquery --repo=rawhide --repo=rawhide-source --whatrequires python2-abc

(You need the fedora-repos-rawhide package installed for this to work.)

I think it was incomplete when I tried that, and I was able to find
one more dependency for the packages I introduced to package the
blockdiag family of packages.

The important bit is to check for both rawhide and rawhide-source.
This should get you a complete set. Except modularity, but that's another story.

It seems all your Python 2 packages are only required within the group and by
rubygem-rabbit. But that one only needs /usr/bin/blockdiag, so if you make that
file Python 3, you should be OK to drop all the Python 2 ones.

Good to know!

I know that at least one package I maintain has a dependency, and I'm
curious where the script to get maintainers per package and then
packages per maintainer lives. Since multiple people posted on this
list with that kind of output I assume such a script exists somewhere.

https://pagure.io/fedora-misc-package-utilities/blob/master/f/find-package-maintainers

A couple days ago I got stuck an extra half hour in a train because of
snow and cleaned up one of the blockdiag dependencies to get a feel
for it [1]. I guess my next question is how to incrementally build all
6 packages without breaking dependencies in Rawhide. Words like koji,
side and tag come to mind but I figured I could ask since I won't make
progress just yet (otherwise I'll browse the docs when I'm ready).

You don't really need a side tag when removing stuff. Just do it incrementally, maybe with fedpkg chain-build. Let me know if you want more information or me to do it. We can meet on IRC, but not until next week.

Also one reason why I replied to you (but still, many thanks to
everyone) is that this will remove 6 packages relying on python2-nose,
so I will be looking forward to the moment when %{_bindir}/nosetests
will refer to the py3 version :)

Nosetest is used by 171 Python 2 packages :(

Thanks,
Dridi

[1] 2 files changed, 22 insertions(+), 61 deletions(-) [2]
[2] including 5 lines of changelog and a bit of .gitignore :)


--
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[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