82 make stalker sqlalchemy 2 compliant#105
Merged
eoyilmaz merged 6 commits intodevelopfrom 82-make-stalker-sqlalchemy-2-compliantNov 11, 2024
+879-1,003
Commits
Commits on Nov 11, 2024
[#82] Updated the
to_tjp
property of theUser
,Department
,Project
,Studio
,WorkingHours
,Task
,TaskDependency
to use pure Python string templates instead of Jinja2 templates, and n…committed[#82] Updated
pyproject.toml
to include theSQLALCHEMY_WARN_20
environment variable and enable warnings for tests, to start moving towards Sqlalchemy 2.x compatibility.committed- committed
[#82] Enabled
future=True
insessionmaker
to test for Sqlalchemy 2.x compatibility and fixed all the tests that are not working anymore.committed- committed
[#82] All the tests are now passing with Sqlalchemy 2.x (had to renamed
SimpleEntity.__stalker_version__
toSimpleEntity.stalker_version
).committed