python bumps

This commit is contained in:
Ariel Rin 2023-05-03 12:46:49 +10:00
parent 2b7d24fc28
commit 49780b871d
No known key found for this signature in database
GPG Key ID: 078FB6C6B214CAB3
3 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -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 ]

View File

@ -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}