Bug 2042779 - Please provide python-sqlalchemy in EPEL
Summary: Please provide python-sqlalchemy in EPEL
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-sqlalchemy
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1972316 2032588 2046450
Blocks: 2042774 2042775
TreeView+ depends on / blocked
 
Reported: 2022-01-20 06:27 UTC by Pavel Raiskup
Modified: 2022-07-12 14:53 UTC (History)
13 users (show)

Fixed In Version: python-sqlalchemy-1.4.32-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-17 16:11:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1960229 0 None None None 2022-02-07 12:52:54 UTC
Red Hat Issue Tracker FC-371 0 None None None 2022-07-12 14:53:30 UTC

Internal Links: 2034651

Description Pavel Raiskup 2022-01-20 06:27:28 UTC
I suppose AppStream is an appropriate target here for RHEL 9, considering
that it is also in RHEL 8 AppStream.

If this is not supposed to be shipped, please consider allowing us to
ship this package in EPEL 9 at least (currently, the component is blocked
against Fedora EPEL distro).

Comment 1 Josh Boyer 2022-01-20 14:14:17 UTC
python-sqlalchemy is not part of the RHEL 9 content set and is not built for RHEL 9.  You are free to request adding it to EPEL 9.

Comment 2 Pavel Raiskup 2022-01-20 14:46:19 UTC
I wanted to fill this against python-sqlalchemy originally, but it can not
be done :-/ Then I realized this is ex-RHEL (modular) package.  That's why
I ended up here.  Thank you for the quick response!

Perhaps the component is just blocked for EPEL 9, somewhere?  In BZ?
Anyway, moving against Fedora product, so the bug at least finds the
actual SQAlchemy Fedora maintainers.

Comment 3 Nils Philippsen 2022-01-21 13:37:23 UTC
I've naively requested the `epel9` branch to be created. Let's see how far we get.

Comment 4 Pavel Raiskup 2022-01-23 17:45:54 UTC
Cool, thank you!

Comment 5 Nils Philippsen 2022-01-30 22:11:18 UTC
Creating the branch worked, but building the package failed.

The reason is because python3-greenlet and python3-pytest-xdist are missing from EL9. The latter is kinda optional (the package could be built without, but tests wouldn't be executed in parallel and the test suite is looong), but greenlets are needed for the asyncio extension which I don't want to build without: #2046450

Comment 6 Kevin Fenzi 2022-01-31 00:50:01 UTC
python3-greenlet should be in crb...

Comment 7 Nils Philippsen 2022-01-31 08:31:35 UTC
Ah, I didn't pay attention to the exact output, sorry. It requires "python3-greenlet >= 1.0" and we only seem to have 0.4.7 in EL9, whom can we contact to get this upgraded? Version 1.0 has been available since Jan 2021.

Comment 8 Michael Bayer 2022-01-31 14:53:49 UTC
maybe that part can be adjusted because SQLAlchemy itself works with all versions of greenlet, with the exception of the specific greenlet version 0.4.17.  works with older ones like 0.4.7 too.

Comment 9 Carl George 🤠 2022-01-31 20:16:09 UTC
With minor modifications, 1.3.24 from the f34 branch builds successfully for epel9.  Would that version be acceptable?

Comment 10 Nils Philippsen 2022-02-02 17:04:39 UTC
(In reply to Michael Bayer from comment #8)
> maybe that part can be adjusted because SQLAlchemy itself works with all
> versions of greenlet, with the exception of the specific greenlet version
> 0.4.17.  works with older ones like 0.4.7 too.

Heh, I wonder why I put in >= 1.0 as a BR then when going from 1.3 to 1.4.

(In reply to Carl George 🤠 from comment #9)
> With minor modifications, 1.3.24 from the f34 branch builds successfully for
> epel9.  Would that version be acceptable?

Hmm, version 1.3.x hasn't received any updates in a long while, which I'd rather not. Per Mike's comment, SQLAlchemy should work with the version of greenlet in EL9, so going back to the previous version shouldn't be necessary.

Comment 11 Nils Philippsen 2022-02-02 17:22:52 UTC
Ugh, looks like I typoed above and EL9 has the exact offending version of python3-greenlet, 0.4.17. :(

Which brings me back to my previous question, i.e. whom to contact to get it bumped to a current version. I imagine there's probably something wrong with it otherwise SQLAlchemy would work with it, right?

@

Comment 12 Nils Philippsen 2022-02-02 17:25:13 UTC
/cc Kevin, can you help me out here? I.e. whom to contact about the version of python-greenlet in EL9.

Comment 13 Kevin Fenzi 2022-02-02 20:32:19 UTC
File a bug at https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%209 on python-greenlet and choose CentOS-Stream as the version?

Alternately/in addition, you could create a MR to update it at https://gitlab.com/redhat/centos-stream/rpms/python-greenlet

I looked upstream and I couldn't really tell why that version was avoided. ;(

Comment 14 Nils Philippsen 2022-02-02 21:24:56 UTC
Same here, I git-blamed setup.cfg (where the greenlet != 0.4.17 is encoded) and didn't find anything to shed light on what problems that specific version of greenlet has.

Comment 15 Michael Bayer 2022-02-02 23:00:32 UTC
0.4.17 "works" in every way except for the way they manage Python contextvars, so an application that uses the contextvars feature of Python std lib might have problems, the discussion is here: https://github.com/python-greenlet/greenlet/issues/196  .    I think there's a test in the SQLAlchemy suite that tests the issue here also (at least im sort of assuming there is as the folks were very involved with this when it came out)

Comment 16 Nils Philippsen 2022-02-03 08:36:20 UTC
Thanks for the info!

Comment 17 Josh Boyer 2022-02-03 11:51:31 UTC
We discussed python-greenlet yesterday.  We are likely to remove this from CentOS Stream 9 and RHEL 9 entirely, which would allow someone to package/rebase it to a newer version in EPEL.

Comment 18 Ben Cotton 2022-02-08 20:09:39 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 19 Pat Riehecky 2022-02-21 15:28:21 UTC
sqlalchemy-1.3.24 is pretty old at this point and I've been targeting 1.4.x for my applications.

Comment 20 Nils Philippsen 2022-02-24 22:06:29 UTC
Yeah, I plan to bring the current 1.4 version into EPEL9.

Comment 21 Fedora Update System 2022-03-09 09:29:47 UTC
FEDORA-EPEL-2022-dab04ba712 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-dab04ba712

Comment 22 Fedora Update System 2022-03-09 20:50:20 UTC
FEDORA-EPEL-2022-dab04ba712 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-dab04ba712

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 23 Fedora Update System 2022-03-17 16:11:22 UTC
FEDORA-EPEL-2022-dab04ba712 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.