Bug 1964020

Summary: Update to 2.5.x required to support SQLAlchemy 1.4 series
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: python-flask-sqlalchemyAssignee: František Zatloukal <fzatlouk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fzatlouk, jkaluza, karlthered, kumarpraveen.nitdgp, metherid, pj.pandit, praiskup, rbean, tflink
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-flask-sqlalchemy-2.5.1-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-24 16:03:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1964005    

Description Ben Beasley 2021-05-24 14:49:11 UTC
Description of problem:

SQLAlchemy 1.4 made URLs tuples (immutable), and python-flask-sqlalchemy needs to be updated to 2.5 or later to support this.

Version-Release number of selected component (if applicable): 2.4.4-3.fc34


How reproducible:

The tests for python-flask-sqlalchemy don’t seem to fail, but those for python-flask-migrate do.

Steps to Reproduce:
1. fedpkg co python-flask-migrate
2. fedpkg mockbuild --with tests

Actual results:

Numerous failures.


Expected results:

No failures.


Additional info:

This only affects Fedora 35/Rawhide; Fedora 34 released with python-sqlalchemy-1.3.24-1.fc34.

See:
  https://github.com/pallets/flask-sqlalchemy/issues/885
  https://github.com/miguelgrinberg/Flask-Migrate/issues/388

I can offer a PR if it helps…

Comment 1 František Zatloukal 2021-05-24 16:03:56 UTC
Thanks for letting me know. I've updated the package in rawhide, modernized the spec a bit and I'll setup release monitoring for it.

Comment 2 Ben Beasley 2021-05-24 16:06:37 UTC
Thanks!