ci: use python311 base image on ci (#409)

This commit is contained in:
Robert Kaussow 2022-11-24 21:35:31 +01:00 committed by GitHub
parent e706eff80c
commit e43b33c96d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 16 deletions

View File

@ -26,7 +26,7 @@ local PipelineLint = {
steps: [ steps: [
{ {
name: 'yapf', name: 'yapf',
image: 'python:3.10', image: 'python:3.11',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
}, },
@ -40,7 +40,7 @@ local PipelineLint = {
}, },
{ {
name: 'flake8', name: 'flake8',
image: 'python:3.10', image: 'python:3.11',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
}, },
@ -68,7 +68,7 @@ local PipelineTest = {
steps: [ steps: [
{ {
name: 'fetch', name: 'fetch',
image: 'python:3.10', image: 'python:3.11',
commands: [ commands: [
'git fetch -tq', 'git fetch -tq',
], ],
@ -97,7 +97,7 @@ local PipelineSecurity = {
steps: [ steps: [
{ {
name: 'bandit', name: 'bandit',
image: 'python:3.10', image: 'python:3.11',
environment: { environment: {
PY_COLORS: 1, PY_COLORS: 1,
}, },
@ -128,7 +128,7 @@ local PipelineBuildPackage = {
steps: [ steps: [
{ {
name: 'build', name: 'build',
image: 'python:3.10', image: 'python:3.11',
commands: [ commands: [
'git fetch -tq', 'git fetch -tq',
'pip install poetry poetry-dynamic-versioning -qq', 'pip install poetry poetry-dynamic-versioning -qq',
@ -174,7 +174,7 @@ local PipelineBuildPackage = {
}, },
{ {
name: 'publish-pypi', name: 'publish-pypi',
image: 'python:3.10', image: 'python:3.11',
commands: [ commands: [
'git fetch -tq', 'git fetch -tq',
'pip install poetry poetry-dynamic-versioning -qq', 'pip install poetry poetry-dynamic-versioning -qq',
@ -212,7 +212,7 @@ local PipelineBuildContainer(arch='amd64') = {
}, },
}] else [{ }] else [{
name: 'build', name: 'build',
image: 'python:3.10', image: 'python:3.11',
commands: [ commands: [
'git fetch -tq', 'git fetch -tq',
'pip install poetry poetry-dynamic-versioning -qq', 'pip install poetry poetry-dynamic-versioning -qq',

View File

@ -8,7 +8,7 @@ platform:
steps: steps:
- name: yapf - name: yapf
image: python:3.10 image: python:3.11
commands: commands:
- git fetch -tq - git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
@ -19,7 +19,7 @@ steps:
PY_COLORS: 1 PY_COLORS: 1
- name: flake8 - name: flake8
image: python:3.10 image: python:3.11
commands: commands:
- git fetch -tq - git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
@ -45,7 +45,7 @@ platform:
steps: steps:
- name: fetch - name: fetch
image: python:3.10 image: python:3.11
commands: commands:
- git fetch -tq - git fetch -tq
@ -133,7 +133,7 @@ platform:
steps: steps:
- name: bandit - name: bandit
image: python:3.10 image: python:3.11
commands: commands:
- git fetch -tq - git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
@ -162,7 +162,7 @@ platform:
steps: steps:
- name: build - name: build
image: python:3.10 image: python:3.11
commands: commands:
- git fetch -tq - git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
@ -201,7 +201,7 @@ steps:
- refs/tags/** - refs/tags/**
- name: publish-pypi - name: publish-pypi
image: python:3.10 image: python:3.11
commands: commands:
- git fetch -tq - git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
@ -234,7 +234,7 @@ platform:
steps: steps:
- name: build - name: build
image: python:3.10 image: python:3.11
commands: commands:
- git fetch -tq - git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
@ -312,7 +312,7 @@ platform:
steps: steps:
- name: build - name: build
image: python:3.10 image: python:3.11
commands: commands:
- git fetch -tq - git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq - pip install poetry poetry-dynamic-versioning -qq
@ -642,6 +642,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 473ac51715039c556f5dc1121536f9312b30bde457e3d2be0fe71e6a50d1cc53 hmac: 9dca9cb81252f9cb9030696ec4e3cdd05248c65ce56d07727f1c9443377fa935
... ...

View File

@ -14,6 +14,7 @@ classifiers = [
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Utilities", "Topic :: Utilities",
"Topic :: Software Development", "Topic :: Software Development",
"Topic :: Software Development :: Documentation", "Topic :: Software Development :: Documentation",