Skip to content

Commit 079356b

Browse files
committed
Change start date to December 1st
1 parent e8b477f commit 079356b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ This repo implements brownout for the deprecated `sklearn` package on PyPI.
77
The following table shows the dates and time window, where an exception will be
88
raised if you attempt to install the `sklearn` package from PyPI.
99

10-
| Dates | Window(s) |
11-
|-----------------------------------|--------------------------------|
12-
| 2022 November 1st - December 30th | :00-:05 every hour |
13-
| 2023 January 1st - February 28th | :00-:10 every hour |
14-
| 2023 March 1st - April 30th | :00-:15 every hour |
15-
| 2023 May 1st - June 30th | :00-:10 and :30-:40 every hour |
16-
| 2023 July 1st - August 31st | :00-:15 and :30-45 every hour |
17-
| 2023 September 1st - October 30th | :00-:20 and :00-50 every hour |
18-
| 2023 November 1st onwards | always raise an exception |
10+
| Dates | Window(s) |
11+
|---------------------------------------|--------------------------------|
12+
| 2022 December 1st - 2023 January 31st | :00-:05 every hour |
13+
| 2023 February 1st - March 31st | :00-:10 every hour |
14+
| 2023 April 1st - May 31st | :00-:15 every hour |
15+
| 2023 June 1st - July 31st | :00-:10 and :30-:40 every hour |
16+
| 2023 August 1st - September 30th | :00-:15 and :30-45 every hour |
17+
| 2023 October 1st - November 30th | :00-:20 and :00-50 every hour |
18+
| 2023 December 1st onwards | always raise an exception |
1919

2020
# How to fix the error for the main use cases
2121

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def maybe_raise_error(checked_datetime):
2525
"because SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=False is set"
2626
)
2727

28-
all_start_dates = [datetime(2022, 11, 1)] + [
29-
datetime(2023, 2 * i + 1, 1) for i in range(6)
28+
all_start_dates = [datetime(2022, 12, 1)] + [
29+
datetime(2023, 2 * i, 1) for i in range(1, 7)
3030
]
3131
date_in_the_far_future = datetime(MAXYEAR, 12, 31, 23, 59, 59)
3232
all_end_dates = all_start_dates[1:] + [date_in_the_far_future]

0 commit comments

Comments
 (0)