Skip to content

Do not rely on system python in tests #2783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -52,11 +52,6 @@ jobs:
with:
go-version-file: go.mod

- name: Setup Python
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
with:
python-version: '3.9'

- name: Install uv
uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 # v5.4.1
with:
@@ -71,7 +66,6 @@ jobs:
- name: Pull external libraries
run: |
make vendor
pip3 install wheel==0.45.1
- name: Run tests with coverage
run: make cover
7 changes: 0 additions & 7 deletions acceptance/bundle/artifacts/test.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
RecordRequests = true
Ignore = [
'.venv',
'dist',
'build',
'*egg-info',
'.databricks',
]

[[Server]]
Pattern = "GET /api/2.1/clusters/get"
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@ export PYTHONDONTWRITEBYTECODE=1

uv venv -q .venv
venv_activate
uv pip install -q setuptools
uv pip install -q setuptools wheel==0.45.1
9 changes: 9 additions & 0 deletions acceptance/bundle/test.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
Ignore = [
'.venv',
'dist',
'build',
'*egg-info',
'.databricks',
'__pycache__',
]

[Env]
# The lowest Python version we support. Alternative to "uv run --python 3.10"
UV_PYTHON = "3.10"