diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index d23c565..0f2ac9c 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -26,11 +26,9 @@ jobs: test: strategy: matrix: - python_version: ["3.10", 3.11, 3.12] - django_version: [3.2, 4.0, 4.1.0, 4.2.2, 5.0, 5.1.4] - exclude: - - python_version: 3.12 - django_version: 3.2 + python_version: ["3.10", "3.11", "3.12", "3.13", "3.14"] + django_version: ["4.2", "5.1", "5.2"] + runs-on: ubuntu-latest steps: @@ -44,7 +42,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install -q Django==${{ matrix.django_version }} + pip install -q Django~=${{ matrix.django_version }} pip install coverage pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi diff --git a/requirements.txt b/requirements.txt index de8bfbc..df636f6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -cffi==1.14.6 -cryptography==35.0.0 -pycparser==2.20 -Django>=3.2 +cffi==2.0.0 +cryptography==46.0.2 +pycparser==2.23 +Django>=4.2 diff --git a/setup.py b/setup.py index 92abdf2..5b7c6fc 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( packages=["encrypted_fields"], version="0.3.0", install_requires=[ - "Django>=3.2", + "Django>=4.2", "cryptography>=35.0.0", ], )