Skip to content

Commit d482546

Browse files
authored
Merge branch 'main' into fix-typo-dropping-versions
2 parents 71fd792 + 09c02b4 commit d482546

5 files changed

Lines changed: 16 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ repos:
3939
- repo: https://github.com/astral-sh/ruff-pre-commit
4040
rev: v0.14.10
4141
hooks:
42-
- id: ruff
42+
- id: ruff-check
4343
- id: ruff-format

source/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@
148148
# Ignore while StackOverflow is blocking GitHub CI. Ref:
149149
# https://github.com/pypa/packaging.python.org/pull/1474
150150
r"https://stackoverflow\.com/.*",
151+
# Cloudflare challenge blocks automated link checking.
152+
r"https://clickpy\.clickhouse\.com/$",
151153
r"https://pyscaffold\.org/.*",
152154
r"https://anaconda\.org",
153155
r"https://www\.cisa\.gov/sbom",

source/overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ A similar model involves installing an alternative Python
279279
distribution, but does not support arbitrary operating system-level
280280
packages:
281281

282-
* `ActiveState ActivePython <https://www.activestate.com/products/python/>`_
282+
* `ActiveState ActivePython <https://www.activestate.com/platform/supported-languages/python>`_
283283
* `WinPython <http://winpython.github.io/>`_
284284

285285
.. _bringing-your-own-python:

source/shared/build-backend-tabs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@
3838
.. code-block:: toml
3939
4040
[build-system]
41-
requires = ["uv_build >= 0.11.23, <0.12.0"]
41+
requires = ["uv_build >= 0.11.32, <0.12.0"]
4242
build-backend = "uv_build"

source/specifications/inline-script-metadata.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ and the regular expression, the text specification takes precedence.
7070
Tools MUST NOT read from metadata blocks with types that have not been
7171
standardized by this specification.
7272

73+
Note that the specification only requires that *top-level* comment blocks are
74+
recognised as containing metadata. However, parsing Python code is non-trivial,
75+
and therefore:
76+
77+
* Tools MAY choose to do a simple textual scan, rather than a full Python parse.
78+
* As a result of the previous point, the behaviour of scripts that contain data
79+
that looks like metadata within another Python construct such as a multi-line
80+
string is tool-dependent and should not be relied on.
81+
* The canonical regular expression provided above is an example of an
82+
implementation that does a simple textual scan.
83+
7384
script type
7485
-----------
7586

0 commit comments

Comments
 (0)