Repository: gaiacoop/django-huey (language: python)

Issue:
Test on Django 4.2
Update tests to run with Python 3.11 and Django 4.2. Checked for warnings by adding `-W all` to the test run, one appeared:

```
/.../site-packages/django/conf/__init__.py:241: RemovedInDjango50Warning: The default value of USE_TZ will change from False to True in Django 5.0. Set USE_TZ to False in your project settings if you want to keep the current default behavior.
  warnings.warn(
```

...which I fixed.

I also upgraded the GitHub Actions actions.


Discussion / hints:
Hey! thanks for the update and sorry for the delay, could you please remove 3.6 and 3.7 from github actions?
Done. (Did you know you maintainers push changes to PR branches?)
No, I didn't know, I'll do it next time. Thanks for all!
You'll need a new release, right? If so, I'll be releasing it later today
I don't *need* it, since the code was compatible without changes. But to show your project is active and definitely works on the latest version, you can release.

Fix patch:
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index 7a1f213..64c0184 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -16,12 +16,17 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        python-version: ["3.8", "3.9", "3.10", "3.11"]
+        python-version:
+        - "3.8"
+        - "3.9"
+        - "3.10"
+        - "3.11"
+        - "3.12"
 
     steps:
-    - uses: actions/checkout@v3
+    - uses: actions/checkout@v4
     - name: Set up Python ${{ matrix.python-version }}
-      uses: actions/setup-python@v3
+      uses: actions/setup-python@v4
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install dependencies
diff --git a/setup.py b/setup.py
index d235464..5acc81f 100644
--- a/setup.py
+++ b/setup.py
@@ -28,6 +28,7 @@
         "Framework :: Django :: 4.0",
         "Framework :: Django :: 4.1",
         "Framework :: Django :: 4.2",
+        "Framework :: Django :: 5.0",
         "Intended Audience :: Developers",
         "License :: OSI Approved :: MIT License",
         "Operating System :: OS Independent",


Test patch:
diff --git a/tests/requirements.txt b/tests/requirements.txt
index 32c237e..7bddff5 100644
--- a/tests/requirements.txt
+++ b/tests/requirements.txt
@@ -1,2 +1,3 @@
-Django==4.2
-huey==2.4.5
+Django>=4.2a1,<5.0 ; python_version < "3.10"
+Django>=5.0a1,<5.1 ; python_version >= "3.10"
+huey==2.5.0