Skip to content

Add tzdata to fix ReadTheDocs build and vendor timezone data#2809

Merged
cwhanse merged 2 commits into
pvlib:mainfrom
yonryzhu:add-tzdata-dependency
Jul 7, 2026
Merged

Add tzdata to fix ReadTheDocs build and vendor timezone data#2809
cwhanse merged 2 commits into
pvlib:mainfrom
yonryzhu:add-tzdata-dependency

Conversation

@yonryzhu

@yonryzhu yonryzhu commented Jul 6, 2026

Copy link
Copy Markdown
Contributor
  • Closes [Docs] ReadTheDocs builds failing #2795
  • I am familiar with the contributing guidelines
  • I attest that all AI-generated material has been vetted for accuracy and is in compliance with the pvlib license
  • Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
  • Pull request is nearly complete and ready for detailed review.
  • Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

@yonryzhu

yonryzhu commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

@echedey-ls tests pass, RTD build succeeds

@cwhanse cwhanse added this to the v0.15.3 milestone Jul 6, 2026
Comment thread docs/sphinx/source/whatsnew/v0.15.3.rst Outdated

Bug fixes
~~~~~~~~~
* Fix missing timezones by adding ``tzdata`` as a dependency. (:issue:`2795`)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Fix missing timezones by adding ``tzdata`` as a dependency. (:issue:`2795`)
* Fix missing timezones by adding ``tzdata`` as a dependency. (:issue:`2795`, :pull:`2809`)

I don't consider this to be a user-facing bugfix, so I rather have one entry in enhancements (like "ensure all timezones are available in all OSes") and another one in maintenance (e.g. "fix documentation builds on runner images lacking link-type timezones"

Comment thread pyproject.toml Outdated
'requests',
'scipy >= 1.7.2',
'h5py',
'tzdata',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'tzdata',
'tzdata', # ensure all timezones are available in all installs for consistency GH#2795

@echedey-ls echedey-ls left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@cwhanse cwhanse merged commit d2e6811 into pvlib:main Jul 7, 2026
30 of 31 checks passed
@cwhanse

cwhanse commented Jul 7, 2026

Copy link
Copy Markdown
Member

Thanks @yonryzhu and @echedey-ls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] ReadTheDocs builds failing

3 participants