Skip to content

Commit 35f4212

Browse files
committed
build: add microsoft tzdata dependency
1 parent 0f8ecf6 commit 35f4212

7 files changed

Lines changed: 8 additions & 1 deletion

File tree

ci/requirements-py3.10.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ dependencies:
2525
- pip:
2626
- nrel-pysam>=2.0
2727
- solarfactors
28+
- tzdata; platform_system == "Windows"

ci/requirements-py3.11.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ dependencies:
2525
- pip:
2626
- nrel-pysam>=2.0
2727
- solarfactors
28+
- tzdata; platform_system == "Windows"

ci/requirements-py3.12.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ dependencies:
2525
- pip:
2626
- nrel-pysam>=2.0
2727
- solarfactors
28+
- tzdata; platform_system == "Windows"

ci/requirements-py3.13.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ dependencies:
2525
- pip:
2626
- nrel-pysam>=2.0
2727
- solarfactors
28+
- tzdata; platform_system == "Windows"

ci/requirements-py3.14.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ dependencies:
2525
- pip:
2626
# - nrel-pysam>=2.0 # not available for py 3.14 as of 2025-11-03
2727
- solarfactors
28+
- tzdata; platform_system == "Windows"

docs/sphinx/source/whatsnew/v0.15.2.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ Benchmarking
4646
Requirements
4747
~~~~~~~~~~~~
4848
* Removed ``pytz`` from core dependencies. ``zoneinfo`` (built into Python 3.9+)
49-
is now used instead. (:ghuser:`JoLo90`, :pull:`2757`)
49+
is now used instead. On Windows, the ``tzdata`` package is required and
50+
installed automatically. (:ghuser:`JoLo90`, :pull:`2757`)
5051

5152

5253
Maintenance

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ dependencies = [
1616
'requests',
1717
'scipy >= 1.7.2',
1818
'h5py',
19+
'tzdata; sys_platform == "win32"',
1920
]
2021
license = "BSD-3-Clause"
2122
classifiers = [

0 commit comments

Comments
 (0)