Skip to content

Commit

Permalink
⬆️ Upgrade to python 3.10 (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
ff137 authored Jan 15, 2024
1 parent a1ed7a4 commit bfa0553
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/continuous-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.9
- name: Set up Python 3.10.13
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.10.13
cache: pip
- name: Install test dependencies.
run: |
Expand Down Expand Up @@ -174,10 +174,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.9
- name: Set up Python 3.10.13
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.10.13
cache: pip
- name: Install test dependencies.
run: |
Expand Down Expand Up @@ -261,10 +261,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.9
- name: Set up Python 3.10.13
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.10.13
- name: Install dependencies
run: pip install coverage
- name: Download all .coverage artifacts
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.9
- name: Set up Python 3.10.13
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.10.13

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ repos:
hooks:
- id: black
stages: [push]
language_version: python3.9
language_version: python3

- repo: https://github.com/asottile/blacken-docs
rev: 1.15.0
hooks:
- id: blacken-docs
stages: [push]
additional_dependencies: [black==23.10.1]
language_version: python3.9
language_version: python3
files: '\.(rst|md|markdown|py|tex)$'

- repo: https://github.com/PyCQA/isort
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9
3.10.13
2 changes: 1 addition & 1 deletion dockerfiles/endorser/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.10-slim

COPY endorser /endorser
COPY shared /shared
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/fastapi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.10-slim

COPY app /app
COPY shared /shared
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.10-slim

WORKDIR /tests

Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/trustregistry/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.10-slim

COPY trustregistry /trustregistry
COPY shared /shared
Expand Down
2 changes: 1 addition & 1 deletion dockerfiles/webhooks/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim
FROM python:3.10-slim

COPY webhooks /webhooks
COPY shared /shared
Expand Down

0 comments on commit bfa0553

Please sign in to comment.