mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
revert(deps): downgrade Python from 3.12.12 to 3.12.11 (#40290)
This commit is contained in:
@@ -28,7 +28,7 @@ jobs:
|
||||
concurrency: 1
|
||||
group: 1
|
||||
token: ${{ secrets.POSTHOG_BOT_PAT }}
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
segment: 'FOSS'
|
||||
person-on-events: false
|
||||
|
||||
44
.github/workflows/ci-backend.yml
vendored
44
.github/workflows/ci-backend.yml
vendored
@@ -121,7 +121,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.12.12
|
||||
python-version: 3.12.11
|
||||
token: ${{ secrets.POSTHOG_BOT_PAT }}
|
||||
|
||||
- name: Install uv
|
||||
@@ -329,7 +329,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ['3.12.12']
|
||||
python-version: ['3.12.11']
|
||||
clickhouse-server-image: ['clickhouse/clickhouse-server:25.6.9.98']
|
||||
segment: ['Core']
|
||||
person-on-events: [false]
|
||||
@@ -382,121 +382,121 @@ jobs:
|
||||
- segment: 'Core'
|
||||
person-on-events: true
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 1
|
||||
- segment: 'Core'
|
||||
person-on-events: true
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 2
|
||||
- segment: 'Core'
|
||||
person-on-events: true
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 3
|
||||
- segment: 'Core'
|
||||
person-on-events: true
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 4
|
||||
- segment: 'Core'
|
||||
person-on-events: true
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 5
|
||||
- segment: 'Core'
|
||||
person-on-events: true
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 6
|
||||
- segment: 'Core'
|
||||
person-on-events: true
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 7
|
||||
- segment: 'Core'
|
||||
person-on-events: true
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 8
|
||||
- segment: 'Core'
|
||||
person-on-events: true
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 9
|
||||
- segment: 'Core'
|
||||
person-on-events: true
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 10
|
||||
- segment: 'Temporal'
|
||||
person-on-events: false
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 1
|
||||
- segment: 'Temporal'
|
||||
person-on-events: false
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 2
|
||||
- segment: 'Temporal'
|
||||
person-on-events: false
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 3
|
||||
- segment: 'Temporal'
|
||||
person-on-events: false
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 4
|
||||
- segment: 'Temporal'
|
||||
person-on-events: false
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 5
|
||||
- segment: 'Temporal'
|
||||
person-on-events: false
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 6
|
||||
- segment: 'Temporal'
|
||||
person-on-events: false
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 7
|
||||
- segment: 'Temporal'
|
||||
person-on-events: false
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 8
|
||||
- segment: 'Temporal'
|
||||
person-on-events: false
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 9
|
||||
- segment: 'Temporal'
|
||||
person-on-events: false
|
||||
clickhouse-server-image: 'clickhouse/clickhouse-server:25.6.9.98'
|
||||
python-version: '3.12.12'
|
||||
python-version: '3.12.11'
|
||||
concurrency: 10
|
||||
group: 10
|
||||
|
||||
|
||||
2
.github/workflows/ci-e2e-playwright.yml
vendored
2
.github/workflows/ci-e2e-playwright.yml
vendored
@@ -138,7 +138,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.12.12
|
||||
python-version: 3.12.11
|
||||
token: ${{ secrets.POSTHOG_BOT_PAT }}
|
||||
|
||||
- name: Install uv
|
||||
|
||||
2
.github/workflows/ci-python.yml
vendored
2
.github/workflows/ci-python.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.12.12
|
||||
python-version: 3.12.11
|
||||
|
||||
- name: Install uv
|
||||
id: setup-uv
|
||||
|
||||
@@ -134,7 +134,7 @@ RUN --mount=type=cache,id=pnpm,target=/tmp/pnpm-store-v23 \
|
||||
# ---------------------------------------------------------
|
||||
#
|
||||
# Same as pyproject.toml so that uv can pick it up and doesn't need to download a different Python version.
|
||||
FROM python:3.12.12-slim-bookworm AS posthog-build
|
||||
FROM python:3.12.11-slim-bookworm AS posthog-build
|
||||
WORKDIR /code
|
||||
SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Same as pyproject.toml so that uv can pick it up and doesn't need to download a different Python version.
|
||||
FROM python:3.12.12-slim-bookworm AS python-base
|
||||
FROM python:3.12.11-slim-bookworm AS python-base
|
||||
FROM cruizba/ubuntu-dind:latest
|
||||
SHELL ["/bin/bash", "-e", "-o", "pipefail", "-c"]
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
'/home/runner/work/posthog/posthog/products/tasks/backend/serializers.py: Warning [TaskViewSet > TaskSerializer]: unable to resolve type hint for function "get_primary_repository". Consider using a type hint or @extend_schema_field. Defaulting to string.',
|
||||
'/home/runner/work/posthog/posthog/products/tasks/backend/serializers.py: Warning [TaskViewSet > TaskSerializer]: unable to resolve type hint for function "get_repository_list". Consider using a type hint or @extend_schema_field. Defaulting to string.',
|
||||
'/home/runner/work/posthog/posthog/products/user_interviews/backend/api.py: Warning [UserInterviewViewSet]: could not derive type of path parameter "project_id" because model "products.user_interviews.backend.models.UserInterview" contained no such field. Consider annotating parameter with @extend_schema. Defaulting to "string".',
|
||||
'/opt/hostedtoolcache/Python/3.12.12/x64/lib/python3.12/site-packages/pydantic/_internal/_model_construction.py: Warning [QueryViewSet > ModelMetaclass]: Encountered 2 components with identical names "Person" and different identities <class \'str\'> and <class \'posthog.api.person.PersonSerializer\'>. This will very likely result in an incorrect schema. Try renaming one.',
|
||||
'/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/pydantic/_internal/_model_construction.py: Warning [QueryViewSet > ModelMetaclass]: Encountered 2 components with identical names "Person" and different identities <class \'str\'> and <class \'posthog.api.person.PersonSerializer\'>. This will very likely result in an incorrect schema. Try renaming one.',
|
||||
'Warning: encountered multiple names for the same choice set (EffectiveMembershipLevelEnum). This may be unwanted even though the generated schema is technically correct. Add an entry to ENUM_NAME_OVERRIDES to fix the naming.',
|
||||
'Warning: encountered multiple names for the same choice set (EffectivePrivilegeLevelEnum). This may be unwanted even though the generated schema is technically correct. Add an entry to ENUM_NAME_OVERRIDES to fix the naming.',
|
||||
'Warning: encountered multiple names for the same choice set (HrefMatchingEnum). This may be unwanted even though the generated schema is technically correct. Add an entry to ENUM_NAME_OVERRIDES to fix the naming.',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "posthog"
|
||||
version = "0.0.0"
|
||||
requires-python = "==3.12.12" # Leave patch version so that we don't accidentally upgrade minor versions
|
||||
requires-python = "==3.12.11" # Leave patch version so that we don't accidentally upgrade minor versions
|
||||
dependencies = [
|
||||
"aioboto3==12.0.0",
|
||||
"aiohttp==3.11.10",
|
||||
|
||||
Reference in New Issue
Block a user