8000 Add `setuptools` to fix failing tests on Python 3.12 · django-haystack/django-haystack@c83a281 · GitHub
[go: up one dir, main page]

Skip to content

Commit c83a281

Browse files
authored
Add setuptools to fix failing tests on Python 3.12
1 parent 095a4a2 commit c83a281

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix: # https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
2323
django-version: ["3.2", "4.2", "5.0"]
24-
python-version: ["3.8", "3.9", "3.10", "3.11"] # , "3.12" # Whoosh issues with Py3.10+
24+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2525
elastic-version: ["7.17.9"]
2626
exclude:
2727
- django-version: "3.2"

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ deps =
2828
geopy==2.0.0
2929
coverage
3030
requests
31+
setuptools; python_version >= "3.12" # Can be removed on pysolr >= v3.10
3132
django3.2: Django>=3.2,<3.3
3233
django4.2: Django>=4.2,<4.3
3334
django5.0: Django>=5.0,<5.1

0 commit comments

Comments
 (0)
0