mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
Python: use version 3.8.12 (#8677)
This commit is contained in:
4
.github/workflows/benchmark.yml
vendored
4
.github/workflows/benchmark.yml
vendored
@@ -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
|
||||
|
||||
23
.github/workflows/ci-backend.yml
vendored
23
.github/workflows/ci-backend.yml
vendored
@@ -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
|
||||
|
||||
16
.github/workflows/ci-plugin-server.yml
vendored
16
.github/workflows/ci-plugin-server.yml
vendored
@@ -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: |
|
||||
|
||||
4
.github/workflows/e2e.yml
vendored
4
.github/workflows/e2e.yml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
python-3.8.6
|
||||
python-3.8.12
|
||||
|
||||
Reference in New Issue
Block a user