Skip to content

Exempt certifi from the dependency cooldown - #6928

Merged
not522 merged 1 commit into
optuna:masterfrom
gen740:ci/exempt-certifi-20261021
Oct 21, 2026
Merged

not522 merged 1 commit into
optuna:masterfrom
gen740:ci/exempt-certifi-20261021

Conversation

@gen740

@gen740 gen740 commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

The shared uv configuration applies a five-day dependency cooldown, which can delay certifi updates. Add certifi = false to the existing [tool.uv].exclude-newer-package mapping so ordinary uv sync and CI can resolve current CA certificates.

The five-day cutoff and all existing package exceptions remain unchanged. There are no workflow, Makefile, dependency declaration, or lockfile changes.

Validation:

  • TOML comparison confirms the certifi exception is the only configuration change; git diff --check passes.
  • Actual PyPI resolution using only the project configuration selects certifi 2026.10.19, compared with 2026.7.22 before this change. All four other packages in the certifi/requests probe remain unchanged and predate the five-day cutoff.
  • The configuration works with uv 0.13.4 and uv 0.9.25, the first release supporting package exemptions. Existing CI versions support this syntax.
  • Full project resolution (uv lock --dry-run, without a CLI exception) succeeds and selects certifi 2026.10.19 without writing a lockfile.

@gen740
gen740 force-pushed the ci/exempt-certifi-20261021 branch from 12d1073 to 035e2a2 Compare October 21, 2026 06:21
@gen740 gen740 changed the title ci: exempt certifi from the dependency cooldown Exempt certifi from the dependency cooldown Oct 21, 2026
@gen740
gen740 marked this pull request as ready for review October 21, 2026 07:12
@c-bata c-bata assigned not522 and y0z Oct 21, 2026

@not522 not522 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@not522
not522 merged commit 2b50cfc into optuna:master Oct 21, 2026
11 checks passed
@not522 not522 added this to the v5.1.0 milestone Oct 21, 2026
@not522 not522 added the CI Continuous integration. label Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous integration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants