#8073 Re-write scripts/branching/modulepkg.py with help of libmodulemd
Closed: Fixed by syeghiay. Opened by astepano.

scripts/branching/modulepkg.py

I try to run it in Fedora29. But it says:

./modulepkg.py 
Traceback (most recent call last):
  File "./modulepkg.py", line 17, in <module>
    import modulemd
ModuleNotFoundError: No module named 'modulemd'

I have a lot of different packages installed:

# rpm -qa | grep mod
python3-module-build-service-copr-0.4-4.fc29.noarch
fedmod-0.4.3-1.fc29.noarch
python2-module-build-service-copr-0.4-4.fc29.noarch
module-build-service-2.11.1-1.fc29.noarch
libmodulemd-2.0.0-3.fc29.x86_64
libmodulemd1-1.8.0-3.fc29.x86_64
python3-libmodulemd-2.0.0-3.fc29.noarch

Could you please update the script to use modern python modules?

Thank you!


@fivaldi could you please take a look?

@astepano Sure, ack.

Closing as fixed.

Metadata Update from @syeghiay:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata