Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iNishant committed Sep 19, 2024
1 parent e933798 commit 933a583
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
django-version: ["3.2", "4.0", "4.1", "4.2", "5.0"]
python-version: ["3.9", "3.10", "3.11"]
django-version: ["4.0", "4.1", "4.2", "5.0", "5.1"]
exclude:
# Django 5.0+ requires Python 3.10+
- python-version: "3.9"
django-version: "5.0"
max-parallel: 5
max-parallel: 2

services:
postgres:
Expand Down
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,3 @@ assert results == [queryset1.count(), list(queryset2), ...]
## Notes

- Note parallelisation by postgres is not guaranteed, as it depends on lot of config params (max_parallel_workers_per_gather, min_parallel_table_scan_size, max_parallel_workers etc). Even without parallelisation, this can be faster than normal one-by-one evaluation of querysets due to reduced no of network trips.

## Compatibility

This package is tested against the following versions:

- Python: 3.9, 3.10, 3.11, 3.12
- Django: 3.2, 4.0, 4.1, 4.2, 5.0
- Database: PostgreSQL

Please check the GitHub Actions workflow for the most up-to-date compatibility matrix.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
license="Apache Software License",
packages=["django_querysets_single_query_fetch"],
zip_safe=False,
install_requires=["django>3"],
install_requires=["django>=4.0,<5.2"],
python_requires=">=3.9",
include_package_data=True,
package_data={},
Expand Down

0 comments on commit 933a583

Please sign in to comment.