Update certifi in update_top_ranking_issues script (#65902)

This fixes a critical security alert (GHSA-6q48-6c7w-9gw2) in the helper
script that ranks top GitHub issues. The script now installs a safe
version of `certifi`.

## What changed

One entry in `script/update_top_ranking_issues/uv.lock` changed.
`certifi` moves from `2024.8.30` to `2026.10.19`. No other package
changed.

## Why it matters

`certifi` is the list of security certificates that Python trusts when
it connects to websites. Versions before `2026.10.18` still trust the
"emSign ECC Root CA - G3" certificate. Eight certificates issued under
it had their private keys stolen, and the issuer has revoked them. A
program that uses the old list can trust a fake website.

Nothing in this script asks for `certifi` directly. The `requests`
package (used to call the GitHub API) needs it. So only the lock file
changed, and `pyproject.toml` did not.

This script is a maintenance tool. It is not part of the Zed app, so Zed
users are not affected.

## Checks

- `uv lock --upgrade-package certifi` on `main`: changed only `certifi`.
- `uv run --frozen python -c "import certifi, requests"`: loads `certifi
2026.10.19` with `requests 2.34.2`.
- `uv run --frozen python main.py --help`: runs.
- Not run: the full script. It needs a GitHub token and makes real
changes to GitHub issues.

Release Notes:

- N/A
This commit is contained in:
morgankrey
2026-10-21 03:45:20 +00:00
committed by GitHub
parent fae8a35482
commit 92447a17cc
+3 -3
View File
@@ -4,11 +4,11 @@ requires-python = ">=3.13"
[[package]]
name = "certifi"
version = "2024.8.30"
version = "2026.10.19"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/b0/ee/9b19140fe824b367c04c5e1b369942dd754c4c5462d5674002f75c4dedc1/certifi-2024.8.30.tar.gz", hash = "sha256:bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9", size = 168507, upload-time = "2024-08-30T01:55:04.365Z" }
sdist = { url = "https://files.pythonhosted.org/packages/a6/bd/1436c50cc46699de0230fbaacc1d1de7bfec413176099949e9d5112e88f2/certifi-2026.10.19.tar.gz", hash = "sha256:035c1e85572b141bf1c3a3eff0e33a8eb74917522f2559075ff8d2fea780a1ae", size = 137598, upload-time = "2026-10-20T02:24:16.604Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/12/90/3c9ff0512038035f59d279fddeb79f5f1eccd8859f06d6163c58798b9487/certifi-2024.8.30-py3-none-any.whl", hash = "sha256:922820b53db7a7257ffbda3f597266d435245903d80737e34f8a45ff3e3230d8", size = 167321, upload-time = "2024-08-30T01:55:02.591Z" },
{ url = "https://files.pythonhosted.org/packages/c4/51/29046e48f693c54e5b7412216d447a1d8362c9653148d98c02cdf65fa733/certifi-2026.10.19-py3-none-any.whl", hash = "sha256:42d35340cc5b9ba78e818ddbff0c5b1c2b779de448a340fd1b989f5fa8670e1b", size = 136464, upload-time = "2026-10-20T02:24:15.072Z" },
]
[[package]]