Skip to content

Add docs requirements to pyproject.toml #1494

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 11, 2023

Conversation

jakirkham
Copy link
Member

Instead of having a separate requirements file for RTD, fold these requirements into pyproject.toml as is done with Numcodecs.

@github-actions github-actions bot added the needs release notes Automatically applied to PRs which haven't added release notes label Aug 9, 2023
@jakirkham jakirkham closed this Aug 9, 2023
@jakirkham jakirkham reopened this Aug 9, 2023
@jakirkham
Copy link
Member Author

Toggling for RTD. Looks like the last build was unable to fetch the PR

@jakirkham jakirkham closed this Aug 9, 2023
@jakirkham jakirkham reopened this Aug 9, 2023
@jakirkham
Copy link
Member Author

Weird RTD still can't fetch the PR

@jakirkham
Copy link
Member Author

jakirkham commented Aug 9, 2023

Maybe this is upstream issue ( readthedocs/readthedocs.org#10601 ). Not sure why it started happening just now. Numcodecs didn't have the same issue. Also builds on main work here

@jakirkham
Copy link
Member Author

Well at least RTD is reporting the status now, which it wasn't before. Let's see what upstream says

@github-actions github-actions bot removed the needs release notes Automatically applied to PRs which haven't added release notes label Aug 9, 2023
Move the RTD exclusion to the `numpy` dependency directly.
@@ -13,7 +13,7 @@ maintainers = [
requires-python = ">=3.8"
dependencies = [
'asciitree',
'numpy>=1.20',
'numpy>=1.20,!=1.21.0',
Copy link
Member Author

Choose a reason for hiding this comment

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

'sphinx-rtd-theme',
'pydata-sphinx-theme',
'numpydoc',
'numcodecs[msgpack]',
Copy link
Member Author

Choose a reason for hiding this comment

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

Since msgpack is a numcodecs requirement, specify it via numcodecs' extra requirement

@jakirkham jakirkham requested a review from joshmoore August 9, 2023 19:23
@jakirkham
Copy link
Member Author

@joshmoore could you please review? This is some follow on work from issue ( #1492 )

Copy link
Member

@joshmoore joshmoore left a comment

Choose a reason for hiding this comment

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

❤️ More of this goodness!

@joshmoore joshmoore merged commit 0cedd98 into zarr-developers:main Aug 11, 2023
@jakirkham jakirkham deleted the use_pyproj_rtd branch August 11, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants