From 3096eeeace370b4608cd6b5bc3a893930ad70e8b Mon Sep 17 00:00:00 2001 From: charles-turner-bot Date: Mon, 25 May 2026 12:58:21 +0800 Subject: [PATCH 1/3] 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 7459c00..6684af9 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -2,6 +2,9 @@ name: CD on: [push, pull_request] +env: + PIP_UPLOADED_PRIOR_TO: P7D + jobs: pypi: name: build and deploy to PyPI From aa991dcfc3959ff42978e54e5bf9c7e3c8e05cf7 Mon Sep 17 00:00:00 2001 From: charles-turner-bot Date: Mon, 25 May 2026 12:58:23 +0800 Subject: [PATCH 2/3] 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 d283d00..6bd55a3 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 5d689ff3932221d64cee9f1f2d861b33555be4ba Mon Sep 17 00:00:00 2001 From: charles-turner-bot Date: Mon, 25 May 2026 12:58:24 +0800 Subject: [PATCH 3/3] chore: add pip uploaded-prior-to cooldown --- .readthedocs.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index dfead7c..309304f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,6 +9,10 @@ build: os: ubuntu-24.04 tools: python: "3.13" + jobs: + post_create_environment: + - mkdir -p "$HOME/.config/pip" + - printf "[global]\nuploaded-prior-to = P7D\n" > "$HOME/.config/pip/pip.conf" sphinx: configuration: docs/conf.py