Bug 1964005

Summary: Tests fail on F35/Rawhide
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: python-flask-migrateAssignee: Ben Beasley <code>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, jkaluza, rbean
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.5.3-4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-24 19:15:19 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: 1964020    
Bug Blocks: 1590806    

Description Ben Beasley 2021-05-24 14:37:31 UTC
Description of problem:

Tests fail on F35/Rawhide

Version-Release number of selected component (if applicable): 2.5.3-3.fc35


How reproducible:

Steps to Reproduce:
1. fedpkg mockbuild --with tests

Actual results:

Numerous tests fail.


Expected results:

No tests fail.


Additional info:

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

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

Once this is done, the tests can be re-enabled and should pass as they do on Fedora 34 with python-sqlalchemy 1.3.24.