Skip to content

Commit b35a9c3

Browse files
Fix date range in HolidayUtil for compatibility with holidays 0.19.0 (#2471)
* update date range for holidays * update release notes
1 parent 10f6e09 commit b35a9c3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs/source/release_notes.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ Future Release
99
* Add ``AbsoluteDiff``, ``SameAsPrevious``, ``Variance``, ``Season``, ``UpperCaseWordCount`` transform primitives (:pr:`2460`)
1010
* Fixes
1111
* Fix bug with consecutive spaces in ``NumWords`` (:pr:`2459`)
12+
* Fix for compatibility with ``holidays`` v0.19.0 (:pr:`2471`)
1213
* Changes
1314
* Specify black and ruff config arguments in pre-commit-config (:pr:`2456`)
1415
* ``NumCharacters`` returns null given null input (:pr:`2463`)
1516
* Documentation Changes
1617
* Update ``release.md`` with instructions for launching Looking Glass performance test runs (:pr:`2461`)
17-
* Pin ``jupyter-client==7.4.9`` to fix broken documentation build (:pr:`2463`)
18-
* Unpin jupyter-client documentation requirement (:pr:`2468`)
18+
* Pin ``jupyter-client==7.4.9`` to fix broken documentation build (:pr:`2463`)
19+
* Unpin jupyter-client documentation requirement (:pr:`2468`)
1920
* Testing Changes
2021
* Add test suites for ``NumWords`` and ``NumCharacters`` primitives (:pr:`2459`, :pr:`2463`)
2122

featuretools/primitives/standard/transform/datetime/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(self, country="US"):
1919
error = "must be one of the available countries:\n%s" % available_countries
2020
raise ValueError(error)
2121

22-
self.federal_holidays = getattr(holidays, country)(years=range(1950, 2100))
22+
self.federal_holidays = getattr(holidays, country)(years=range(1950, 2075))
2323

2424
def to_df(self):
2525
holidays_df = pd.DataFrame(

0 commit comments

Comments
 (0)