Skip to content

Commit 49efb91

Browse files
committed
Cleanup script tests passing
1 parent 1a29cb1 commit 49efb91

File tree

3 files changed

+3
-309
lines changed

3 files changed

+3
-309
lines changed

.github/workflows/cleanup_pypi.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ jobs:
5151
- name: Run Cleanup
5252
run: |
5353
set -x
54-
pypi_index_flag=${{ inputs.environment == 'production.pypi' && '--prod' || '--test' }}
5554
uv sync --only-group pypi --no-install-project
56-
uv run --no-sync -s scripts/pypi_cleanup.py ${{ inputs.dry-run && '--dry' || '' }} \
57-
${pypi_index_flag} \
55+
uv run --no-sync python -u -m duckdb_packaging.pypi_cleanup ${{ inputs.dry-run && '--dry' || '' }} \
56+
${{ inputs.environment == 'production.pypi' && '--prod' || '--test' }} \
5857
--username "${{ vars.PYPI_CLEANUP_USERNAME }}" \
5958
--max-nightlies ${{ vars.PYPI_MAX_NIGHTLIES }} > cleanup_output 2>&1
6059

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ test = [ # dependencies used for running tests
235235
"polars",
236236
"psutil",
237237
"py4j",
238+
"pyotp",
238239
"pyspark",
239240
"pytz",
240241
"requests",

scripts/pypi_cleanup.py

Lines changed: 0 additions & 306 deletions
This file was deleted.

0 commit comments

Comments
 (0)