Skip to content

Commit 805f757

Browse files
authored
SPEC0 - Adjust past quarter to 9 month and regenerate (#318)
1 parent 564911e commit 805f757

File tree

3 files changed

+42
-10
lines changed

3 files changed

+42
-10
lines changed

spec-0000/SPEC0_versions.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import requests
2-
import itertools
32
import collections
43
from datetime import datetime, timedelta
54

@@ -29,12 +28,18 @@
2928
]
3029
plus36 = timedelta(days=int(365 * 3))
3130
plus24 = timedelta(days=int(365 * 2))
32-
delta6month = timedelta(days=int(365 // 2))
3331

3432
# Release data
3533

36-
now = datetime.now()
37-
cutoff = now - delta6month
34+
# put cutoff 3 quarters ago – we do not use "just" -9 month,
35+
# to avoid the content of the quarter to change depending on when we generate this
36+
# file during the current quarter.
37+
38+
current_date = pd.Timestamp.now()
39+
current_quarter_start = pd.Timestamp(
40+
current_date.year, (current_date.quarter - 1) * 3 + 1, 1
41+
)
42+
cutoff = current_quarter_start - pd.DateOffset(months=9)
3843

3944

4045
def get_release_dates(package, support_time=plus24):

spec-0000/chart.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ axisFormat %m / %Y
44
title Support Window
55

66
section python
7+
3.9 : 2020-10-05,2023-10-05
78
3.10 : 2021-10-04,2024-10-03
89
3.11 : 2022-10-24,2025-10-23
910
3.12 : 2023-10-02,2026-10-01
@@ -30,6 +31,7 @@ section matplotlib
3031
3.8.0 : 2023-09-15,2025-09-14
3132

3233
section pandas
34+
1.3.0 : 2021-07-02,2023-07-02
3335
1.4.0 : 2022-01-22,2024-01-22
3436
1.5.0 : 2022-09-19,2024-09-18
3537
2.0.0 : 2023-04-03,2025-04-02
@@ -44,6 +46,7 @@ section scikit-image
4446
0.23.0 : 2024-04-10,2026-04-10
4547

4648
section networkx
49+
2.6 : 2021-07-08,2023-07-08
4750
2.7 : 2022-02-28,2024-02-28
4851
2.8 : 2022-04-09,2024-04-08
4952
3.0 : 2023-01-08,2025-01-07
@@ -52,12 +55,14 @@ section networkx
5255
3.3 : 2024-04-06,2026-04-06
5356

5457
section scikit-learn
58+
1.0 : 2021-09-24,2023-09-24
5559
1.1.0 : 2022-05-12,2024-05-11
5660
1.2.0 : 2022-12-08,2024-12-07
5761
1.3.0 : 2023-06-30,2025-06-29
5862
1.4.0 : 2024-01-18,2026-01-17
5963

6064
section xarray
65+
0.19.0 : 2021-07-23,2023-07-23
6166
0.20.0 : 2021-11-02,2023-11-02
6267
0.21.0 : 2022-01-28,2024-01-28
6368
2022.3.0 : 2022-03-02,2024-03-01
@@ -81,8 +86,12 @@ section xarray
8186
2024.1.0 : 2024-01-17,2026-01-16
8287
2024.2.0 : 2024-02-19,2026-02-18
8388
2024.3.0 : 2024-03-29,2026-03-29
89+
2024.5.0 : 2024-05-13,2026-05-13
8490

8591
section ipython
92+
7.26.0 : 2021-08-01,2023-08-01
93+
7.27.0 : 2021-08-27,2023-08-27
94+
7.28.0 : 2021-09-25,2023-09-25
8695
7.29.0 : 2021-10-30,2023-10-30
8796
7.30.0 : 2021-11-26,2023-11-26
8897
7.31.0 : 2022-01-05,2024-01-05
@@ -116,10 +125,13 @@ section ipython
116125
8.24.0 : 2024-04-26,2026-04-26
117126

118127
section zarr
128+
2.9.0 : 2021-08-23,2023-08-23
129+
2.10.0 : 2021-09-19,2023-09-19
119130
2.11.0 : 2022-02-07,2024-02-07
120131
2.12.0 : 2022-06-23,2024-06-22
121132
2.13.0 : 2022-09-22,2024-09-21
122133
2.14.0 : 2023-02-10,2025-02-09
123134
2.15.0 : 2023-06-14,2025-06-13
124135
2.16.0 : 2023-07-20,2025-07-19
125136
2.17.0 : 2024-02-14,2026-02-13
137+
2.18.0 : 2024-05-07,2026-05-07

spec-0000/schedule.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
#### 2023 - Quarter 4:
2+
3+
###### Recommend drop support for:
4+
5+
| | | |
6+
| ------------ | ---------------- | ------------------------------ |
7+
| ipython | 7.29.0 to 7.30.0 | released Oct 2021 and Nov 2021 |
8+
| matplotlib | 3.5.0 | released Nov 2021 |
9+
| numpy | 1.22.0 | released Dec 2021 |
10+
| python | 3.9 | released Oct 2020 |
11+
| scikit-image | 0.19.0 | released Dec 2021 |
12+
| xarray | 0.20.0 | released Nov 2021 |
13+
114
#### 2024 - Quarter 1:
215

316
###### Recommend drop support for:
@@ -120,12 +133,14 @@
120133

121134
###### Recommend drop support for:
122135

123-
| | | |
124-
| ------------ | ------ | ----------------- |
125-
| ipython | 8.24.0 | released Apr 2024 |
126-
| networkx | 3.3 | released Apr 2024 |
127-
| scikit-image | 0.23.0 | released Apr 2024 |
128-
| scipy | 1.13.0 | released Apr 2024 |
136+
| | | |
137+
| ------------ | -------- | ----------------- |
138+
| ipython | 8.24.0 | released Apr 2024 |
139+
| networkx | 3.3 | released Apr 2024 |
140+
| scikit-image | 0.23.0 | released Apr 2024 |
141+
| scipy | 1.13.0 | released Apr 2024 |
142+
| xarray | 2024.5.0 | released May 2024 |
143+
| zarr | 2.18.0 | released May 2024 |
129144

130145
#### 2026 - Quarter 4:
131146

0 commit comments

Comments
 (0)