From 49780b871dfec905014d3f28e9a3046929880989 Mon Sep 17 00:00:00 2001 From: Ariel Rin Date: Wed, 3 May 2023 12:46:49 +1000 Subject: [PATCH] python bumps --- .gitlab-ci.yml | 8 ++++---- .pre-commit-config.yaml | 2 +- tox.ini | 5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 72bdfe2b..8a268331 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,7 +25,7 @@ before_script: pre-commit-check: <<: *only-default stage: pre-commit - image: python:3.8-bullseye + image: python:3.11-bullseye variables: PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit cache: @@ -202,7 +202,7 @@ test-3.12-all: build-test: stage: test - image: python:3.10-bullseye + image: python:3.11-bullseye before_script: - python -m pip install --upgrade pip @@ -221,13 +221,13 @@ build-test: test-docs: <<: *only-default - image: python:3.10-bullseye + image: python:3.11-bullseye script: - tox -e docs deploy_production: stage: deploy - image: python:3.10-bullseye + image: python:3.11-bullseye before_script: - python -m pip install --upgrade pip diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b37ec7c7..0b3b2354 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,7 +49,7 @@ repos: ) - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.3.2 hooks: - id: pyupgrade args: [ --py38-plus ] diff --git a/tox.ini b/tox.ini index ccb213e7..ffa34e52 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ isolated_build = True skipsdist = true usedevelop = true -envlist = py{38,39,310,311,py}-{all,core}, docs +envlist = py{38,39,310,311,312,py}-{all,core}, docs [testenv] setenv = @@ -13,6 +13,7 @@ basepython = py39: python3.9 py310: python3.10 py311: python3.11 + py312: python3.12 pypy: pypy3 deps= coverage @@ -25,7 +26,7 @@ commands = [testenv:docs] description = invoke sphinx-build to build the HTML docs -basepython = python3.9 +basepython = python3.11 skip_install = True deps = -r{toxinidir}/docs/requirements.txt install_command = python -I -m pip install {opts} {packages}