mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
chore: Add minimum uv version (#30634)
This commit is contained in:
@@ -26,6 +26,7 @@ runs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Install SAML (python3-saml) dependencies
|
||||
shell: bash
|
||||
|
||||
1
.github/actions/run-backend-tests/action.yml
vendored
1
.github/actions/run-backend-tests/action.yml
vendored
@@ -82,6 +82,7 @@ runs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Determine if hogql-parser has changed compared to master
|
||||
shell: bash
|
||||
|
||||
1
.github/workflows/benchmark.yml
vendored
1
.github/workflows/benchmark.yml
vendored
@@ -61,6 +61,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Install SAML (python3-saml) dependencies
|
||||
shell: bash
|
||||
|
||||
2
.github/workflows/ci-backend.yml
vendored
2
.github/workflows/ci-backend.yml
vendored
@@ -139,6 +139,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Install SAML (python3-saml) dependencies
|
||||
run: |
|
||||
@@ -316,6 +317,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Install SAML (python3-saml) dependencies
|
||||
run: |
|
||||
|
||||
1
.github/workflows/ci-dagster.yml
vendored
1
.github/workflows/ci-dagster.yml
vendored
@@ -106,6 +106,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Install SAML (python3-saml) dependencies
|
||||
run: |
|
||||
|
||||
2
.github/workflows/ci-hog.yml
vendored
2
.github/workflows/ci-hog.yml
vendored
@@ -74,6 +74,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Install SAML (python3-saml) dependencies
|
||||
run: |
|
||||
@@ -178,6 +179,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
- name: Install SAML (python3-saml) dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
|
||||
2
.github/workflows/ci-plugin-server.yml
vendored
2
.github/workflows/ci-plugin-server.yml
vendored
@@ -120,6 +120,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Install rust
|
||||
if: needs.changes.outputs.plugin-server == 'true'
|
||||
@@ -236,6 +237,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Install SAML (python3-saml) dependencies
|
||||
if: needs.changes.outputs.plugin-server == 'true'
|
||||
|
||||
1
.github/workflows/ci-rust.yml
vendored
1
.github/workflows/ci-rust.yml
vendored
@@ -136,6 +136,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Install SAML (python3-saml) dependencies
|
||||
if: needs.changes.outputs.rust == 'true' && matrix.package == 'feature-flags'
|
||||
|
||||
1
.github/workflows/ci-turbo.yml
vendored
1
.github/workflows/ci-turbo.yml
vendored
@@ -47,6 +47,7 @@ jobs:
|
||||
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
|
||||
with:
|
||||
enable-cache: true
|
||||
pyproject-file: 'pyproject.toml'
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
|
||||
|
||||
@@ -125,7 +125,7 @@ RUN apt-get update && \
|
||||
"pkg-config" \
|
||||
&& \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
pip install uv~=0.6 --no-cache-dir && \
|
||||
pip install uv~=0.6.11 --no-cache-dir && \
|
||||
UV_PROJECT_ENVIRONMENT=/python-runtime uv sync --frozen --no-dev --no-cache --compile-bytecode --no-binary-package lxml --no-binary-package xmlsec
|
||||
|
||||
ENV PATH=/python-runtime/bin:$PATH \
|
||||
|
||||
@@ -186,6 +186,9 @@ dev = [
|
||||
"watchdog==5.0.3",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
required-version = ">=0.6.0"
|
||||
|
||||
[tool.uv.sources]
|
||||
infi-clickhouse-orm = { git = "https://github.com/PostHog/infi.clickhouse_orm", rev = "9578c79f29635ee2c1d01b7979e89adab8383de2" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user