Closed progmatic-99 closed 1 week ago
@marcoag I ran the project with the updated psycopg2 version on my local and also created an event. No problems with db at my end
@progmatic-99 are you sure? I just retested your branch with a full deployment and as migrations fail with:
File "/usr/local/lib/python3.8/site-packages/django/db/backends/postgresql/utils.py", line 6, in utc_tzinfo_factory
raise AssertionError("database connection isn't set to UTC")
AssertionError: database connection isn't set to UTC
Can you please check your container has the correct psycopg2
version and test?
pretixuser@9a06140c7fd3:~/src$ python
Python 3.8.19 (default, Apr 10 2024, 15:23:25)
[GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import psycopg2
>>> psycopg2.__version__
'2.9.9 (dt dec pq3 ext lo64)'
@marcoag this is compatible with python 3.9
Fixes #91