#32856 closed New feature (wontfix)
Django 2.2 not compatible with psycopg 2.9
Reported by: | Daniele Varrazzo | Owned by: | nobody |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 2.2 |
Severity: | Normal | Keywords: | psycopg2 |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Psycopg 2.9 passes a timedelta instead of an int number of minutes to the tzinfo_factory object. Before making this change I looked at the Django source to check some problems and didn't find any in master, but I missed to check previous releases.
The issue has been reported in https://github.com/psycopg/psycopg2/issues/1293
It is not immediate to me how to fix the problem while fixing https://github.com/psycopg/psycopg2/issues/1272, so I will propose a MR to fix the problem in Django.
Change History (5)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Has patch: | set |
---|
comment:3 by , 3 years ago
Component: | Uncategorized → Database layer (models, ORM) |
---|---|
Keywords: | psycopg2 added |
Resolution: | → wontfix |
Status: | new → closed |
Type: | Uncategorized → New feature |
Django 2.2 is in extended support so it doesn't get new features anymore. I've prepared PR with docs clarification.
Proposed MR https://github.com/django/django/pull/14530