Overview

Request 1138403 superseded

Add gh-pr-1935_importlib.patch


Georg Pfuetzenreuter's avatar

See https://progress.opensuse.org/issues/153199 for context.


John Vandenberg's avatar

Something depends on flufl.lock>=5.1 . Is it not being installed? Perhaps a "Requires: python-flufl.lock >= 5.1" is missing from some package?

The latest code of mailman certainly lists it as a dependency https://gitlab.com/mailman/mailman/-/blob/master/pyproject.toml

It is missing from https://build.opensuse.org/package/view_file/server:mail/mailman/mailman.spec?expand=1 , but I see that is mailman 2.1.37

I'll dig a bit further so I can understand why this patch is needed.


John Vandenberg's avatar

I found https://build.opensuse.org/package/view_file/openSUSE:Factory/python-mailman/python-mailman.spec?expand=1 , and it does have the dependency on flufl.lock. Odd. I'll try installing and running locally


John Vandenberg's avatar

pkg_resources is really not finding it. omg, this is going to break a lot of stuff


Georg Pfuetzenreuter's avatar

Thanks for investigating! Yes, there have been several modules broken after the flufl.lock update - it seems @gladiac submitted some patches (upstream and in packages) already as well. But there are probably more issues slumbering.

As for the Mailman version, I think it is due to some related packages (maybe it was Postorius?) requiring it.


John Vandenberg's avatar

Noting this patch is https://github.com/django-haystack/django-haystack/pull/1935


John Vandenberg's avatar

Added a comment on that PR


John Vandenberg's avatar

could you add "Requires: python-packaging" here to be safe



Georg Pfuetzenreuter's avatar

Also tried to update the patch to the updated PR, but there's a conflict in setup.py. Hope it's ok to leave the previous one.

Request History
Georg Pfuetzenreuter's avatar

crameleon created request

Add gh-pr-1935_importlib.patch


Georg Pfuetzenreuter's avatar

crameleon superseded request

Add gh-pr-1935_importlib.patch

openSUSE Build Service is sponsored by