Python: use version 3.8.12 (#8677)

This commit is contained in:
Guido Iaquinti
2022-02-24 17:49:55 +01:00
committed by GitHub
parent 7994c31dfa
commit 8c355b5a37
7 changed files with 23 additions and 30 deletions

View File

@@ -68,10 +68,10 @@ jobs:
repository: PostHog/benchmark-results
token: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }}
- name: Set up Python 3.8
- name: Set up Python 3.8.12
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.8.12
- uses: syphar/restore-virtualenv@v1.2
id: cache-benchmark-tests

View File

@@ -83,10 +83,10 @@ jobs:
with:
fetch-depth: 1
- name: Set up Python 3.8
- name: Set up Python 3.8.12
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.8.12
- uses: syphar/restore-virtualenv@v1.2
id: cache-backend-tests
@@ -168,7 +168,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8.5']
python-version: ['3.8.12']
ee: [true]
foss: [false]
saml: [false]
@@ -178,15 +178,7 @@ jobs:
group: [1, 2, 3, 4, 5]
include:
# :TRICKY: Run FOSS tests in a separate container
- python-version: '3.8.5'
ee: false
saml: false
foss: true
name: 'FOSS'
concurrency: 1
group: 1
# :TRICKY: Run FOSS tests in a separate container
- python-version: '3.9.0'
- python-version: '3.8.12'
ee: false
saml: false
foss: true
@@ -194,7 +186,7 @@ jobs:
concurrency: 1
group: 1
# :TRICKY: Run SAML tests in a separate container
- python-version: '3.8.5'
- python-version: '3.8.12'
ee: false
saml: true
foss: false
@@ -242,10 +234,11 @@ jobs:
run: |
docker-compose -f deploy/docker-compose.dev.yml down
docker-compose -f deploy/docker-compose.dev.yml up -d db clickhouse zookeeper kafka redis &
- name: Set up Python 3.8
- name: Set up Python 3.8.12
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.8.12
- uses: syphar/restore-virtualenv@v1.2
id: cache-backend-tests

View File

@@ -76,10 +76,10 @@ jobs:
- name: Start Kafka, ClickHouse, Zookeeper
run: docker-compose -f docker-compose.dev.yml up -d zookeeper kafka clickhouse
- name: Set up Python
- name: Set up Python 3.8.12
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.8.12
- name: Install SAML (python3-saml) dependencies
run: |
@@ -157,10 +157,10 @@ jobs:
- name: Start Kafka, ClickHouse, Zookeeper
run: docker-compose -f docker-compose.dev.yml up -d zookeeper kafka clickhouse
- name: Set up Python
- name: Set up Python 3.8.12
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.8.12
- name: Install SAML (python3-saml) dependencies
run: |
@@ -239,10 +239,10 @@ jobs:
- name: Start Kafka, ClickHouse, Zookeeper
run: docker-compose -f docker-compose.dev.yml up -d zookeeper kafka clickhouse
- name: Set up Python
- name: Set up Python 3.8.12
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.8.12
- name: Install SAML (python3-saml) dependencies
run: |
@@ -321,10 +321,10 @@ jobs:
- name: Start Kafka, ClickHouse, Zookeeper
run: docker-compose -f docker-compose.dev.yml up -d zookeeper kafka clickhouse
- name: Set up Python
- name: Set up Python 3.8.12
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.8.12
- name: Install SAML (python3-saml) dependencies
run: |

View File

@@ -73,10 +73,10 @@ jobs:
- name: Add kafka host to /etc/hosts for kafka connectivity
run: sudo echo "127.0.0.1 kafka" | sudo tee -a /etc/hosts
- name: Set up Python 3.8
- name: Set up Python 3.8.12
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.8.12
- uses: syphar/restore-virtualenv@v1.2
id: cache-virtualenv

View File

@@ -3,7 +3,7 @@
#
# Note: for 'posthog/posthog-cloud' remember to update 'dev.Dockerfile' as appropriate
#
FROM python:3.8-alpine3.14
FROM python:3.8.12-alpine3.14
ENV PYTHONUNBUFFERED 1
ENV DEBUG 1

View File

@@ -3,7 +3,7 @@
#
# Note: for 'posthog/posthog-cloud' remember to update 'prod.web.Dockerfile' as appropriate
#
FROM python:3.8-alpine3.14
FROM python:3.8.12-alpine3.14
ENV PYTHONUNBUFFERED 1

View File

@@ -1 +1 @@
python-3.8.6
python-3.8.12