While deploying Fedocal, I encountered an issue after updating the image stream tag to python:3.9-ubi8. The pod started crashing with an ImportError stating that it cannot import the name relation from sqlalchemy.orm. This happened because in recent versions of SQLAlchemy (1.4+), the relation import has been deprecated or removed in favor of using relationship. The specific line causing the issue is from sqlalchemy.orm import relation as relationship in fedocal/fedocallib/model.py. To resolve this, I propose updating the import to from sqlalchemy.orm import relationship to ensure compatibility with the newer Python and SQLAlchemy versions in our updated base image. I see master already have the latest changes should we sync it:?
fedocal has been migrated to Fedora Forge.
this ticket has also been migrated, please continue over at
https://forge.fedoraproject.org/apps/fedocal/issues/228
Metadata Update from @ryanlerch: - Issue close_status updated to: Invalid - Issue status updated to: Closed (was: Open)