From e43b33c96dc017fbc6f526f62c615104a9badcd9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 24 Nov 2022 21:35:31 +0100 Subject: [PATCH] ci: use python311 base image on ci (#409) --- .drone.jsonnet | 14 +++++++------- .drone.yml | 18 +++++++++--------- pyproject.toml | 1 + 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 4799d42..251a016 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -26,7 +26,7 @@ local PipelineLint = { steps: [ { name: 'yapf', - image: 'python:3.10', + image: 'python:3.11', environment: { PY_COLORS: 1, }, @@ -40,7 +40,7 @@ local PipelineLint = { }, { name: 'flake8', - image: 'python:3.10', + image: 'python:3.11', environment: { PY_COLORS: 1, }, @@ -68,7 +68,7 @@ local PipelineTest = { steps: [ { name: 'fetch', - image: 'python:3.10', + image: 'python:3.11', commands: [ 'git fetch -tq', ], @@ -97,7 +97,7 @@ local PipelineSecurity = { steps: [ { name: 'bandit', - image: 'python:3.10', + image: 'python:3.11', environment: { PY_COLORS: 1, }, @@ -128,7 +128,7 @@ local PipelineBuildPackage = { steps: [ { name: 'build', - image: 'python:3.10', + image: 'python:3.11', commands: [ 'git fetch -tq', 'pip install poetry poetry-dynamic-versioning -qq', @@ -174,7 +174,7 @@ local PipelineBuildPackage = { }, { name: 'publish-pypi', - image: 'python:3.10', + image: 'python:3.11', commands: [ 'git fetch -tq', 'pip install poetry poetry-dynamic-versioning -qq', @@ -212,7 +212,7 @@ local PipelineBuildContainer(arch='amd64') = { }, }] else [{ name: 'build', - image: 'python:3.10', + image: 'python:3.11', commands: [ 'git fetch -tq', 'pip install poetry poetry-dynamic-versioning -qq', diff --git a/.drone.yml b/.drone.yml index 754dbcf..d2d7ac6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ platform: steps: - name: yapf - image: python:3.10 + image: python:3.11 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq @@ -19,7 +19,7 @@ steps: PY_COLORS: 1 - name: flake8 - image: python:3.10 + image: python:3.11 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq @@ -45,7 +45,7 @@ platform: steps: - name: fetch - image: python:3.10 + image: python:3.11 commands: - git fetch -tq @@ -133,7 +133,7 @@ platform: steps: - name: bandit - image: python:3.10 + image: python:3.11 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq @@ -162,7 +162,7 @@ platform: steps: - name: build - image: python:3.10 + image: python:3.11 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq @@ -201,7 +201,7 @@ steps: - refs/tags/** - name: publish-pypi - image: python:3.10 + image: python:3.11 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq @@ -234,7 +234,7 @@ platform: steps: - name: build - image: python:3.10 + image: python:3.11 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq @@ -312,7 +312,7 @@ platform: steps: - name: build - image: python:3.10 + image: python:3.11 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq @@ -642,6 +642,6 @@ depends_on: --- kind: signature -hmac: 473ac51715039c556f5dc1121536f9312b30bde457e3d2be0fe71e6a50d1cc53 +hmac: 9dca9cb81252f9cb9030696ec4e3cdd05248c65ce56d07727f1c9443377fa935 ... diff --git a/pyproject.toml b/pyproject.toml index c407116..1535791 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Utilities", "Topic :: Software Development", "Topic :: Software Development :: Documentation",