#165 What modular packages (build)require Python 2 on rawhide?
Opened 6 months ago by churchyard. Modified 4 months ago

We have this approved system wide change for Fedora 32: https://fedoraproject.org/wiki/Changes/RetirePython2

I'd like to get list of modules that have packages (build)requiring Python 2, so I can contact their maintainers about this and work towards a solution that works for them.

I am only aware of the ReviewBoard + Django combo that uses Python 2.

I'd like to run the equivalent of this:

$ repoquery --repo=rawhide{,-source} --whatrequires python27

But for all modular content in Rawhide, default and non-default.

I've tried to use the modular-repoquery script provided by @asamalik but I probably don't know how to use it properly, as it gives the wrong results.

Could you please:

  1. help me determine the correct results?
  2. help me understand how you did 1.?
  3. possible make this simpler, if it turns out 1./2. are non-trivial?


One of the things to bear in mind is that not everything is in the repo. There exist modules that are "buildroot only" and also some modules filter out some artifacts that never get published.

In this cases I find it useful to make a local cache of the module directly from a koji tag.

I wrote this script:


That can be invoked with <module_name> <stream_name> <fedora_version> for example:

$ ./cache_module.sh maven 3.5 29
$ ./cache_module.sh javapackages-tools 201801 28

And this should download all binary RPMs for that module stream including for buildroot-only modules and including filtered RPMs.

Thanks for the script. I'd rather not download all the packages just to query them. That is a significant usability drawback. I would also need a way to get the proper arguments to the script.

Thanks for the script. I'd rather not download all the packages just to query them.

Me neither. If there is another way, I would love to know it :-)

I think this depends on #166 but also needs some more thoughts.

Metadata Update from @psabata:
- Issue tagged with: needs-design

4 months ago

I think this depends on #166

I don't understand why, could you please elaborate on that?

Login to comment on this ticket.