Skip to content

Commit 95d1cd0

Browse files
Merge branch 'main' into move-news
# Conflicts: # core-team/committing.rst
2 parents fb346bc + b736a43 commit 95d1cd0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1278
-1156
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
# It uses the same pattern rule for gitignore file
55
# https://git-scm.com/docs/gitignore#_pattern_format
66

7-
8-
garbage_collector.rst @pablogsal
7+
# PSRT member list owned by PSRT admins.
8+
developer-workflow/psrt.csv @warsaw @ewdurbin @ned-deily @sethmlarson

.github/CONTRIBUTING.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ Please be aware that our workflow does deviate slightly from the typical GitHub
1818
project. Details on how to properly submit a pull request are covered in
1919
[Lifecycle of a Pull Request](https://devguide.python.org/pullrequest/).
2020
We utilize various bots and status checks to help with this, so do follow the
21-
comments they leave and their "Details" links, respectively. The key points of
22-
our workflow that are not covered by a bot or status check are:
21+
comments they leave and their "Details" links, respectively.
2322

24-
- All discussions that are not directly related to the code in the pull request
25-
should happen on the [issue tracker](https://devguide.python.org/tracker/)
26-
- Upon your first non-trivial pull request (which includes documentation changes),
27-
feel free to add yourself to [`Misc/ACKS`](https://github.com/python/cpython/blob/main/Misc/ACKS)
23+
The final key part of our workflow is that all discussions that are not
24+
directly related to the code in the pull request should happen on the
25+
[issue tracker](https://devguide.python.org/tracker/), generally in the
26+
pull request's parent issue.
2827

2928

3029
## Setting Expectations

.github/dependabot.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,23 @@
11
version: 2
22
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
assignees:
8+
- "ezio-melotti"
9+
groups:
10+
actions:
11+
patterns:
12+
- "*"
13+
314
- package-ecosystem: pip
415
directory: "/"
516
schedule:
617
interval: monthly
7-
open-pull-requests-limit: 10
18+
assignees:
19+
- "ezio-melotti"
20+
groups:
21+
pip:
22+
patterns:
23+
- "*"

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
timeout-minutes: 10
1313

1414
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-python@v5
15+
- uses: actions/checkout@v6
16+
- uses: actions/setup-python@v6
1717
with:
1818
python-version: "3"
1919
- name: Install uv

.github/workflows/documentation-links.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
timeout-minutes: 10
99

1010
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions/setup-python@v4
11+
- uses: actions/checkout@v6
12+
- uses: actions/setup-python@v6
1313
with:
1414
python-version: "3.x"
15-
- uses: pre-commit/action@v3.0.0
15+
- uses: pre-commit/action@v3.0.1

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ celerybeat-schedule
9090
# Generated CSV and SVG files
9191
include/branches.csv
9292
include/end-of-life.csv
93-
include/release-cycle.svg
94-
include/release-cycle-all.svg
93+
_static/release-cycle.svg
94+
_static/release-cycle-all.svg

.pre-commit-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,12 @@ repos:
77
args: [--exit-non-zero-on-fix]
88
- id: ruff-format
99
name: Run Ruff (format)
10-
args: [--check]
1110

1211
- repo: https://github.com/pre-commit/pre-commit-hooks
1312
rev: v4.5.0
1413
hooks:
1514
- id: check-case-conflict
1615
- id: check-merge-conflict
17-
- id: check-json
1816
- id: check-yaml
1917
- id: debug-statements
2018
- id: end-of-file-fixer

Makefile

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ REQUIREMENTS = requirements.txt
2222
_ALL_SPHINX_OPTS = --jobs $(JOBS) $(SPHINXOPTS)
2323
_RELEASE_CYCLE = include/branches.csv \
2424
include/end-of-life.csv \
25-
include/release-cycle-all.svg \
26-
include/release-cycle.svg
25+
_static/release-cycle-all.svg \
26+
_static/release-cycle.svg
2727

2828
.PHONY: help
2929
help:
@@ -103,15 +103,20 @@ _ensure-pre-commit:
103103
lint: _ensure-pre-commit
104104
$(VENVDIR)/bin/python3 -m pre_commit run --all-files
105105

106-
# Defined so that "include/release-cycle.json"
107-
# doesn't fall through to the catch-all target.
108-
include/release-cycle.json:
109-
@exit
110-
111-
$(_RELEASE_CYCLE): include/release-cycle.json
106+
# Generate all release cycle files together with a single script invocation
107+
# Use branches.csv as the primary target, others depend on it
108+
include/branches.csv:
112109
$(VENVDIR)/bin/python3 _tools/generate_release_cycle.py
113110
@echo Release cycle data generated.
114111

112+
# Other files are generated together with branches.csv
113+
include/end-of-life.csv: include/branches.csv
114+
@:
115+
_static/release-cycle-all.svg: include/branches.csv
116+
@:
117+
_static/release-cycle.svg: include/branches.csv
118+
@:
119+
115120
# Catch-all target: route all unknown targets to Sphinx using the new
116121
# "make mode" option.
117122
.PHONY: Makefile

_static/devguide_overrides.css

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -6,102 +6,6 @@
66
height: 110px;
77
}
88

9-
/* Release cycle chart */
10-
11-
.release-cycle-chart {
12-
width: 100%;
13-
}
14-
15-
.release-cycle-chart .release-cycle-year-line {
16-
stroke: var(--color-foreground-primary);
17-
stroke-width: 0.8px;
18-
opacity: 75%;
19-
}
20-
21-
.release-cycle-chart .release-cycle-year-text {
22-
fill: var(--color-foreground-primary);
23-
}
24-
25-
.release-cycle-chart .release-cycle-today-line {
26-
stroke: var(--color-brand-primary);
27-
stroke-width: 1.6px;
28-
}
29-
30-
.release-cycle-chart .release-cycle-row-shade {
31-
fill: var(--color-background-item);
32-
opacity: 50%;
33-
}
34-
35-
.release-cycle-chart .release-cycle-version-label {
36-
fill: var(--color-foreground-primary);
37-
}
38-
39-
.release-cycle-chart .release-cycle-blob {
40-
stroke-width: 1.6px;
41-
/* default colours, overridden below for individual statuses */
42-
fill: var(--color-background-primary);
43-
stroke: var(--color-foreground-primary);
44-
}
45-
46-
.release-cycle-chart .release-cycle-blob-label {
47-
/* white looks good on both light & dark */
48-
fill: white;
49-
}
50-
51-
.release-cycle-chart .release-cycle-blob-label.release-cycle-status-security,
52-
.release-cycle-chart .release-cycle-blob-label.release-cycle-status-bugfix {
53-
/* but use black to improve contrast for lighter backgrounds */
54-
fill: black;
55-
}
56-
57-
.release-cycle-chart .release-cycle-blob-label.release-cycle-status-end-of-life,
58-
.release-cycle-chart .release-cycle-blob-label.release-cycle-status-prerelease,
59-
.release-cycle-chart .release-cycle-blob-label.release-cycle-status-feature {
60-
/* and FG when it's not in a blob */
61-
fill: var(--color-foreground-primary);
62-
}
63-
64-
.release-cycle-chart .release-cycle-status-end-of-life {
65-
--status-bg-color: #DD2200;
66-
--status-border-color: #FF8888;
67-
}
68-
69-
.release-cycle-chart .release-cycle-status-security {
70-
--status-bg-color: #FFDD44;
71-
--status-border-color: #FF8800;
72-
}
73-
74-
.release-cycle-chart .release-cycle-status-bugfix {
75-
--status-bg-color: #00DD22;
76-
--status-border-color: #008844;
77-
}
78-
79-
.release-cycle-chart .release-cycle-status-prerelease {
80-
--status-bg-color: teal;
81-
--status-border-color: darkgreen;
82-
}
83-
84-
.release-cycle-chart .release-cycle-status-feature {
85-
--status-bg-color: #2222EE;
86-
--status-border-color: #008888;
87-
}
88-
89-
.release-cycle-chart .release-cycle-blob {
90-
fill: var(--status-bg-color);
91-
stroke: transparent;
92-
}
93-
94-
.release-cycle-chart .release-cycle-blob-full {
95-
fill: var(--status-bg-color);
96-
stroke: var(--status-border-color);
97-
}
98-
99-
.release-cycle-chart .release-cycle-border {
100-
fill: transparent;
101-
stroke: var(--status-border-color);
102-
stroke-width: 1.6px;
103-
}
104-
1059
.good pre {
10610
border-left: 3px solid rgba(74, 182, 93, 1);
10711
}

0 commit comments

Comments
 (0)