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: pre-commit-check:
<<: *only-default <<: *only-default
stage: pre-commit stage: pre-commit
image: python:3.8-bullseye image: python:3.11-bullseye
variables: variables:
PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
cache: cache:
@ -202,7 +202,7 @@ test-3.12-all:
build-test: build-test:
stage: test stage: test
image: python:3.10-bullseye image: python:3.11-bullseye
before_script: before_script:
- python -m pip install --upgrade pip - python -m pip install --upgrade pip
@ -221,13 +221,13 @@ build-test:
test-docs: test-docs:
<<: *only-default <<: *only-default
image: python:3.10-bullseye image: python:3.11-bullseye
script: script:
- tox -e docs - tox -e docs
deploy_production: deploy_production:
stage: deploy stage: deploy
image: python:3.10-bullseye image: python:3.11-bullseye
before_script: before_script:
- python -m pip install --upgrade pip - python -m pip install --upgrade pip

View File

@ -49,7 +49,7 @@ repos:
) )
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v3.3.1 rev: v3.3.2
hooks: hooks:
- id: pyupgrade - id: pyupgrade
args: [ --py38-plus ] args: [ --py38-plus ]

View File

@ -2,7 +2,7 @@
isolated_build = True isolated_build = True
skipsdist = true skipsdist = true
usedevelop = 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] [testenv]
setenv = setenv =
@ -13,6 +13,7 @@ basepython =
py39: python3.9 py39: python3.9
py310: python3.10 py310: python3.10
py311: python3.11 py311: python3.11
py312: python3.12
pypy: pypy3 pypy: pypy3
deps= deps=
coverage coverage
@ -25,7 +26,7 @@ commands =
[testenv:docs] [testenv:docs]
description = invoke sphinx-build to build the HTML docs description = invoke sphinx-build to build the HTML docs
basepython = python3.9 basepython = python3.11
skip_install = True skip_install = True
deps = -r{toxinidir}/docs/requirements.txt deps = -r{toxinidir}/docs/requirements.txt
install_command = python -I -m pip install {opts} {packages} install_command = python -I -m pip install {opts} {packages}