From 3f49c0acc25ac2b1c50784800483c4ed0485742f Mon Sep 17 00:00:00 2001 From: Pascal F Date: Tue, 17 Oct 2023 05:52:54 +0200 Subject: [PATCH] update --- .github/workflows/coverage.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 20 +++++++++++++++++--- poetry.lock | 6 +++--- pyproject.toml | 8 +++++--- 5 files changed, 29 insertions(+), 13 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 9ceb6f3..8699bc0 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -20,10 +20,10 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" cache: poetry - name: Install requirements diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 53d9a2b..05e958a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,10 +19,10 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" cache: poetry - name: Build project diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cfd9476..52355da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,9 +13,23 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] - django-version: ["3.2", "4.1", "4.2"] - anymail-version: ["9.0", "9.1", "9.2"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + django-version: ["3.2", "4.1", "4.2", "5.0a1"] + anymail-version: ["9.0", "9.1", "9.2", "10.0", "10.1"] + exclude: + # excludes invalid combinations + - django-version: "3.2" + python-version: "3.11" + - django-version: "3.2" + python-version: "3.12" + - django-version: "4.1" + python-version: "3.12" + - django-version: "4.2" + python-version: "3.12" + - django-version: "5.0a1" + python-version: "3.8" + - django-version: "5.0a1" + python-version: "3.9" steps: - name: Check out the repository diff --git a/poetry.lock b/poetry.lock index e6abb9f..90b85c8 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry and should not be changed by hand. +# This file is automatically @generated by Poetry 1.4.2 and should not be changed by hand. [[package]] name = "asgiref" @@ -1053,5 +1053,5 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" -python-versions = "^3.8" -content-hash = "2e7c36cd95562632fa5a28ee2a4b05bba4b40e64e2e715ad65efdfab8e7ac4ac" +python-versions = "^3.8 || ^3.9 || ^3.10 || ^3.11 || ^3.12" +content-hash = "6c82ab984a720ab5cf5cd22e57def9f2f25e78a264f637d34457ea4ec9f86621" diff --git a/pyproject.toml b/pyproject.toml index b6f243a..bf7ac8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ classifiers = [ "Framework :: Django :: 4", "Framework :: Django :: 4.0", "Framework :: Django :: 4.1", + "Framework :: Django :: 4.1", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3 :: Only", @@ -30,13 +31,14 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] packages = [{ include = "anymail_history" }] [tool.poetry.dependencies] -python = "^3.8" -django = "^3.2 || ^4.0 || ^4.1 || ^4.2" -django-anymail = "^8.6 || ^9.0" +python = "^3.8 || ^3.9 || ^3.10 || ^3.11 || ^3.12" +django = "^3.2 || ^4.0 || ^4.1 || ^4.2 || ^5.0a1" +django-anymail = "^9.0 || ^10.0" [tool.poetry.group.dev.dependencies] black = "*"