mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
python bumps
This commit is contained in:
parent
2b7d24fc28
commit
49780b871d
@ -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
|
||||
|
@ -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 ]
|
||||
|
5
tox.ini
5
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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user