Skip to content

Commit

Permalink
django-redshift-backend depends directly on psycopg2. #149
Browse files Browse the repository at this point in the history
  • Loading branch information
shimizukawa committed Sep 14, 2024
1 parent d9451d0 commit d7be65e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
CHANGES
=======

4.2.0 (Unreleased)
------------------

General:

* #149 django-redshift-backend depends directly on psycopg2.
If you want to use psycopg2 pre-built packages, please refer to
the following site for more information:
https://www.psycopg.org/docs/install.html

4.1.1 (2024/08/20)
------------------

Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,11 @@ classifiers = [
]
dependencies = [
"django<5",
"psycopg2",
"backports.zoneinfo;python_version<'3.9'",
]

[project.optional-dependencies]
psycopg2 = [
"psycopg2",
]
psycopg2-binary = [
"psycopg2-binary",
]
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ DJANGO =
[testenv]
deps =
coverage
psycopg2-binary>=2.7
pytest
pytest-cov
mock>=2.0
Expand All @@ -33,6 +32,7 @@ deps =
dj40: Django>=4.0,<4.1
dj42: Django>=4.2,<5.0
djmain: https://github.com/django/django/archive/main.tar.gz
.[psycopg2-binary]
setenv =
DJANGO_SETTINGS_MODULE = settings
PYTHONPATH = {toxinidir}
Expand Down

0 comments on commit d7be65e

Please sign in to comment.