You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7b40380
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/standard.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,9 +108,8 @@ minor and that minor's free-threaded build** (`3.14` and `3.14t` today). The mat
108
108
from the repo's floor to the newest, plus the free-threaded newest. The `Programming Language ::
109
109
Python :: 3.X` classifiers list every minor in the matrix.
110
110
111
-
In the shared checks workflow (section 7) the matrix is derived at run time from `requires-python`
112
-
and the newest released cycle, so no repo edits a matrix when a Python ships; a repo still on its
113
-
own `_checks.yml` maintains the list by hand.
111
+
The matrix is a hand-maintained list in each repo's `_checks.yml` (section 7), so a new Python is
112
+
a one-line change in every repo, made in one sweep.
114
113
115
114
## 7. CI
116
115
@@ -121,7 +120,7 @@ Two workflows per repo, both thin:
121
120
failure, opening or updating a tracking issue in the repo. This is how a dependency release or a
122
121
new Python that breaks the build becomes a ticket without anyone watching.
123
122
124
-
Both call one reusable `checks.yml` with these jobs:
123
+
Both call the repo's own reusable `_checks.yml`, which has these jobs:
125
124
126
125
| Job | What it does |
127
126
|---|---|
@@ -130,9 +129,12 @@ Both call one reusable `checks.yml` with these jobs:
130
129
|`links`|[lychee](https://github.com/lycheeverse/lychee-action) with `--offline`, remapping this repo's `blob/main` URLs to the checkout, so it fails only on a relative link or file path the diff broke |
131
130
|`docs`|`just docs-build` (`mkdocs build --strict`), only for repos with a docs site |
132
131
133
-
The shared `checks.yml` will live in `modern-python/.github` and be referenced at `main`, so a
134
-
change to it reaches every repo on merge; such a change is first exercised from a branch ref in
135
-
one repo. Until it exists, each repo carries the same jobs in a local `_checks.yml`.
132
+
`_checks.yml` is per repo by decision, not by omission. A shared workflow in `modern-python/.github`
133
+
was built and proven
134
+
([#95](https://github.com/modern-python/.github/issues/95)), and rejected on its interface: a
135
+
`workflow_call` input is a scalar, so a service container or an env map has to be flattened into
136
+
a string, and image knowledge ends up in the org repo. A change to the jobs is a sweep across the
137
+
repos instead, which is how the rest of this standard already lands.
0 commit comments