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 29, 2024
1 parent e04bce2 commit 51923d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ classifiers = [
]
dependencies = [
"django<5.2",
"psycopg2",
"psycopg2;extra!='dev'",
"backports.zoneinfo;python_version<'3.9'",
]

[project.optional-dependencies]
psycopg2-binary = [
dev = [
"psycopg2-binary",
]

Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,18 @@ DJANGO =

[testenv]
deps =
.[dev]
coverage
pytest
pytest-cov
mock>=2.0
django-environ
py38: backports.zoneinfo
dj32: Django>=3.2,<3.3
dj40: Django>=4.0,<4.1
dj42: Django>=4.2,<5.0
dj50: Django>=5.0,<5.1
dj51: Django>=5.1,<5.2
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 51923d4

Please sign in to comment.