Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Django-4.2 support #116

Closed
4 tasks done
shimizukawa opened this issue Mar 28, 2023 · 1 comment · Fixed by #129
Closed
4 tasks done

Add Django-4.2 support #116

shimizukawa opened this issue Mar 28, 2023 · 1 comment · Fixed by #129

Comments

@shimizukawa
Copy link
Member

shimizukawa commented Mar 28, 2023

Django 4.2: April 2023 https://docs.djangoproject.com/en/dev/releases/4.2/

  • update tox and github CI
  • update pyproject.toml
  • update document
  • bump version x.Y.z for imcompatible update

Important

  • Psycopg 3 support
  • Comments on columns and tables
  • Dropped support for PostgreSQL 11
    • Upstream support for PostgreSQL 11 ends in November 2023. Django 4.2 supports PostgreSQL 12 and higher.
shimizukawa added a commit that referenced this issue Jul 15, 2024
- inspectdb now suppress output 'id = AutoField(primary_key=True)'
- `TEST_WITH_REDSHIFT=... tox` testing with redshift database.
shimizukawa added a commit that referenced this issue Jul 15, 2024
- inspectdb now suppress output 'id = AutoField(primary_key=True)'
- `TEST_WITH_REDSHIFT=... tox` testing with redshift database.
shimizukawa added a commit that referenced this issue Jul 15, 2024
- inspectdb now suppress output 'id = AutoField(primary_key=True)'
- `TEST_WITH_REDSHIFT=... tox` testing with redshift database.
shimizukawa added a commit that referenced this issue Jul 15, 2024
- inspectdb now suppress output 'id = AutoField(primary_key=True)'
- `TEST_WITH_REDSHIFT=... tox` testing with redshift database.
shimizukawa added a commit that referenced this issue Jul 17, 2024
@shimizukawa
Copy link
Member Author

shimizukawa commented Jul 17, 2024

  • Psycopg 3 support

Psycopg3has been supported since Django 4.2.
https://docs.djangoproject.com/en/4.2/releases/4.2/#psycopg-3-support

Redshift is forked from an older version of Postgres, and the Django database backend for Postgres that can be used for Redshift is only available up to Django 4.0.
For the support of Django 4.2 this time, django-redshift-backend includes the database releated code from Django 4.0.
Therefore, Psycopg3 could not be used.

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 a pull request may close this issue.

1 participant