Repository: edoburu/django-private-storage (language: python)

Issue:
Checks fail in Actions CI Testing
Checks fail with Python 3.6

Console message:
Run actions/setup-python@v2
  with:
    python-version: 3.6
    token: ***
Version 3.6 was not found in the local cache
Error: Version 3.6 with arch x64 not found
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json



Discussion / hints:

Fix patch:
diff --git a/CHANGES.rst b/CHANGES.rst
index 9b4b6bc..be2ee52 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -1,6 +1,12 @@
 Changelog
 =========
 
+Changes in 3.1 (2023-05-12)
+---------------------------
+
+* Fixed compatibility for Django 4.1, 4.2
+
+
 Version 3.0 (2021-11-16)
 ------------------------
 
diff --git a/private_storage/__init__.py b/private_storage/__init__.py
index 58f1785..8325bf4 100644
--- a/private_storage/__init__.py
+++ b/private_storage/__init__.py
@@ -1,2 +1,2 @@
 # following PEP 440
-__version__ = "3.0"
+__version__ = "3.1"
diff --git a/tox.ini b/tox.ini
index 5152c73..e05a7e3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 envlist=
-    py38-django{22,31,32},
+    py38-django{22,31,32,41,42},
     py38-django-dev,
     coverage,
 
@@ -16,6 +16,8 @@ deps =
     django30: Django~=3.0
     django31: Django~=3.1
     django32: Django~=3.2
+    django41: Django~=4.1
+    django42: Django~=4.2
     django-dev: https://github.com/django/django/tarball/main
 commands=
     python runtests.py


Test patch:
diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml
index 1392123..727dcf6 100644
--- a/.github/workflows/tests.yaml
+++ b/.github/workflows/tests.yaml
@@ -10,7 +10,7 @@ on:
 jobs:
   test:
     name: "Python ${{ matrix.python }} Django ${{ matrix.django }}"
-    runs-on: ubuntu-latest
+    runs-on: ubuntu-20.04
     strategy:
       # max-parallel: 8  # default is max available
       fail-fast: false
@@ -18,15 +18,21 @@ jobs:
         include:
           # Django 2.2
           - django: "2.2"
-            python: "3.6.14"
+            python: "3.6"
           # Django 3.1
           - django: "3.1"
-            python: "3.6.14"
+            python: "3.6"
           # Django 3.2
           - django: "3.2"
-            python: "3.6.14"
+            python: "3.6"
           # Django 4.0
-          - django: "4.0b1"
+          - django: "4.0"
+            python: "3.10"
+          # Django 4.1
+          - django: "4.1"
+            python: "3.10"
+          # Django 4.2
+          - django: "4.2"
             python: "3.10"
 
     steps:
@@ -34,10 +40,10 @@ jobs:
         run: sudo apt-get install -y gettext
 
       - name: Checkout code
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
       - name: Setup Python ${{ matrix.python }}
-        uses: actions/setup-python@v2
+        uses: actions/setup-python@v3
         with:
           python-version: ${{ matrix.python }}