Skip to content

Conversation

@varmar05
Copy link
Collaborator

Upgrade Flask to 3.x and SqlAlchemy to 2.x alongside with related libs and dependencies.
Connexion is upgraded to 2.15 as 3.x introduces quite significant (and potentially breaking) changes.

The upgrade contains minimal changes to get the app running and still uses (legacy) db queries.

Minimal changes to get server working without any migrations to alchemy new API
@varmar05 varmar05 requested a review from MarcelGeo November 28, 2025 15:45
@coveralls
Copy link

Pull Request Test Coverage Report for Build 19768327366

Details

  • 83 of 85 (97.65%) changed or added relevant lines in 17 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.007%) to 94.537%

Changes Missing Coverage Covered Lines Changed/Added Lines %
server/mergin/tests/test_middleware.py 2 4 50.0%
Totals Coverage Status
Change from base Build 19732530660: 0.007%
Covered Lines: 8652
Relevant Lines: 9152

💛 - Coveralls

Copy link
Collaborator

@MarcelGeo MarcelGeo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering:

  • is it safe to change this MerginInfo class from db migrations point of view?
  • is alembic compatible with this syntax by generating migrations, etc. ?

@varmar05
Copy link
Collaborator Author

varmar05 commented Dec 3, 2025

Just wondering:

* is it safe to change this MerginInfo class from db migrations point of view?

* is alembic compatible with this syntax by generating migrations, etc. ?

we need to check but this version does not have any migrations yet - so nothing to run during upgrades

update: tested alembic with autogenerate and it works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants