Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tooling versions #402

Merged
merged 3 commits into from
Sep 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:

test:
name: ${{ matrix.config.tox }} ${{ matrix.config.options }}
# Ubuntu 22.04 runner includes Python 3.10
runs-on: ubuntu-22.04
needs: skip_duplicate_runs
if: needs.skip_duplicate_runs.outputs.should_skip != 'true'
Expand All @@ -40,18 +39,18 @@ jobs:
# Live API integration tests are run on only one representative Python/Django version
# combination, to avoid rapidly consuming the testing accounts' entire send allotments.
config:
- { tox: django41-py310-amazon_ses, python: "3.10" }
- { tox: django41-py310-brevo, python: "3.10" }
- { tox: django41-py310-mailersend, python: "3.10" }
- { tox: django41-py310-mailgun, python: "3.10" }
- { tox: django41-py310-mailjet, python: "3.10" }
- { tox: django41-py310-mandrill, python: "3.10" }
- { tox: django41-py310-postal, python: "3.10" }
- { tox: django41-py310-postmark, python: "3.10" }
- { tox: django41-py310-resend, python: "3.10" }
- { tox: django41-py310-sendgrid, python: "3.10" }
- { tox: django41-py310-sparkpost, python: "3.10" }
- { tox: django41-py310-unisender_go, python: "3.10" }
- { tox: django41-py310-amazon_ses, python: "3.12" }
- { tox: django41-py310-brevo, python: "3.12" }
- { tox: django41-py310-mailersend, python: "3.12" }
- { tox: django41-py310-mailgun, python: "3.12" }
- { tox: django41-py310-mailjet, python: "3.12" }
- { tox: django41-py310-mandrill, python: "3.12" }
- { tox: django41-py310-postal, python: "3.12" }
- { tox: django41-py310-postmark, python: "3.12" }
- { tox: django41-py310-resend, python: "3.12" }
- { tox: django41-py310-sendgrid, python: "3.12" }
- { tox: django41-py310-sparkpost, python: "3.12" }
- { tox: django41-py310-unisender_go, python: "3.12" }

steps:
- name: Get code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"

- name: Install build requirements
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
python -m tox --gh-matrix-dump # for debugging

test:
# Ubuntu 22.04 runner includes Python 3.10
runs-on: ubuntu-22.04
needs: get-envlist
strategy:
Expand All @@ -53,7 +52,7 @@ jobs:
# for installing/running tox
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- name: Install tox
run: |
set -x
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@
# -- Options for Intersphinx ------------------------------------------------

intersphinx_mapping = {
"python": ("https://docs.python.org/3.10", None),
"python": ("https://docs.python.org/3", None),
"django": (
"https://docs.djangoproject.com/en/stable/",
"https://docs.djangoproject.com/en/stable/_objects/",
Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Packages required only for building docs

Pygments~=2.16.1
Pygments~=2.18.0
readme-renderer~=41.0
sphinx~=7.2
sphinx~=7.4
sphinx-rtd-theme~=2.0.0
sphinxcontrib-googleanalytics~=0.4
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ classifiers = [
"Environment :: Web Environment",
]

requires-python = ">=3.7"
requires-python = ">=3.8"
dependencies = [
"django>=4.0",
"requests>=2.4.3",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ passenv =
ANYMAIL_TEST_*

[testenv:lint]
basepython = python3.8
basepython = python3.12
skip_install = true
passenv =
CONTINUOUS_INTEGRATION
Expand All @@ -103,7 +103,7 @@ commands =
pre-commit run --all-files

[testenv:docs]
basepython = python3.11
basepython = python3.12
passenv =
CONTINUOUS_INTEGRATION
GOOGLE_ANALYTICS_ID
Expand Down