From 719fc34901f4870cf43e3bb6e4398a94d7bf5c7e Mon Sep 17 00:00:00 2001 From: charles-turner-bot Date: Mon, 25 May 2026 12:33:55 +0800 Subject: [PATCH 1/4] chore: add pip uploaded-prior-to cooldown --- .github/workflows/CD.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 51e5893..e420b7c 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -11,6 +11,9 @@ on: required: false type: string +env: + PIP_UPLOADED_PRIOR_TO: P7D + jobs: pypi: name: build and deploy to PyPI From be73e87a9c61afda1e460051658d1907ac343ceb Mon Sep 17 00:00:00 2001 From: charles-turner-bot Date: Mon, 25 May 2026 12:33:57 +0800 Subject: [PATCH 2/4] chore: add pip uploaded-prior-to cooldown --- .github/workflows/CI.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e50f005..ca4db26 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -2,6 +2,9 @@ name: CI on: [pull_request, push, workflow_dispatch] +env: + PIP_UPLOADED_PRIOR_TO: P7D + jobs: pre-commit: runs-on: ubuntu-latest From ad1f2de13c4185652412f8e7b103137210d4a5ac Mon Sep 17 00:00:00 2001 From: charles-turner-bot Date: Mon, 25 May 2026 12:33:59 +0800 Subject: [PATCH 3/4] chore: add pip uploaded-prior-to cooldown --- .github/workflows/testing.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/testing.yaml b/.github/workflows/testing.yaml index de96381..c65670d 100644 --- a/.github/workflows/testing.yaml +++ b/.github/workflows/testing.yaml @@ -7,6 +7,9 @@ on: branches: - '**' +env: + PIP_UPLOADED_PRIOR_TO: P7D + jobs: build: # Use vis server to run From 350cd372209bb34a5729aa7aa797dc14f15a58cd Mon Sep 17 00:00:00 2001 From: charles-turner-bot Date: Mon, 25 May 2026 12:34:01 +0800 Subject: [PATCH 4/4] chore: add pip uploaded-prior-to cooldown --- .readthedocs.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 04709fc..9e18e37 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,6 +10,10 @@ build: os: ubuntu-22.04 tools: python: "3.12" + jobs: + post_create_environment: + - mkdir -p "$HOME/.config/pip" + - printf "[global]\nuploaded-prior-to = P7D\n" > "$HOME/.config/pip/pip.conf" # You can also specify other tool versions: # nodejs: "19" # rust: "1.64"