Skip to content

Commit

Permalink
Add setuptools to fix failing tests on Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Apr 30, 2024
1 parent 095a4a2 commit c83a281
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix: # https://docs.djangoproject.com/en/stable/faq/install/#what-python-version-can-i-use-with-django
django-version: ["3.2", "4.2", "5.0"]
python-version: ["3.8", "3.9", "3.10", "3.11"] # , "3.12" # Whoosh issues with Py3.10+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
elastic-version: ["7.17.9"]
exclude:
- django-version: "3.2"
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ deps =
geopy==2.0.0
coverage
requests
setuptools; python_version >= "3.12" # Can be removed on pysolr >= v3.10
django3.2: Django>=3.2,<3.3
django4.2: Django>=4.2,<4.3
django5.0: Django>=5.0,<5.1
Expand Down

0 comments on commit c83a281

Please sign in to comment.