Bug 1186156 - python-postorius build gets stuck forever
Summary: python-postorius build gets stuck forever
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other All
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-18 06:28 UTC by Bernhard Wiedemann
Modified: 2021-05-27 15:11 UTC (History)
3 users (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2021-05-18 06:28:29 UTC
While working on reproducible builds for openSUSE, I found that
our python-postorius package build gets stuck forever


Steps To Reproduce:

osc co openSUSE:Factory/python-postorius && cd $_
osc build --noservice --clean standard


Actual results:
[   32s]     raise VersionConflict(dist, req).with_context(dependent_req)
[   32s] pkg_resources.ContextualVersionConflict: (SQLAlchemy 1.4.13 (/usr/lib64/python3.8/site-packages), Requirement.parse('sqlalchemy<1.4,>=1.2.3'), {'mailman'})

[   47s] Traceback (most recent call last):
[   47s]   File "/usr/bin/runner", line 6, in <module>
[   47s]     from pkg_resources import load_entry_point
[   47s]   File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", l
[   47s]     def _initialize_master_working_set():
[   47s]   File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", l
[   47s]     f(*args, **kwargs)
[   47s]   File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", l
[   47s]     working_set = WorkingSet._build_master()
[   47s]   File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", l
[   47s]     return cls._build_from_requirements(__requires__)
[   47s]   File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", l
[   47s]     dists = ws.resolve(reqs, Environment())
[   47s]   File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", l
[   47s]     raise DistributionNotFound(req, requirers)
[   47s] pkg_resources.DistributionNotFound: The 'sqlalchemy<1.4,>=1.2.3' distribution was not found and is required by mailman
[stuck there]


ps ax shows pytest3.8 and 2x python3.8 processes
Comment 1 Benjamin Greiner 2021-05-18 09:48:42 UTC
You would need to unpin SQLAlchemy in the mailman-*.egg-info/requires.txt while ignoring [1] or provide a SQLAlchemy-1.3 package
Comment 2 Benjamin Greiner 2021-05-18 09:49:16 UTC
(In reply to Benjamin Greiner from comment #1)
> You would need to unpin SQLAlchemy in the mailman-*.egg-info/requires.txt
> while ignoring [1] or provide a SQLAlchemy-1.3 package

[1] https://gitlab.com/mailman/mailman/-/issues/899#note_576323267
Comment 3 Andreas Schneider 2021-05-26 06:57:32 UTC
It built fine for me:

https://build.opensuse.org/package/show/home:gladiac:mailman3/python-postorius
Comment 4 Benjamin Greiner 2021-05-26 08:03:38 UTC
Because Petr unpinned SQLAlchemy in mailman:

https://build.opensuse.org/package/rdiff/devel:languages:python:mailman/python-mailman?linkrev=base&rev=48

.. but that doesn't fix the underlying problems with the SQLAlchemy 1.4. The mailman:test build fails.
Comment 5 Petr Gajdos 2021-05-27 15:11:30 UTC
Right, sorry for the confusion. I wanted to just show that sqlalchemy 1.4 is nogo currently for mailman.