Skip to content

Commit

Permalink
DOC: lock the whole environment (not just direct dependencies)
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Oct 27, 2024
1 parent 5f7d5fb commit 8faebf7
Show file tree
Hide file tree
Showing 6 changed files with 124 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
version: 2
updates:
- package-ecosystem: pip
directory: /requirements
target-branch: develop
directory: docs
target-branch: master
schedule:
interval: monthly
groups:
Expand All @@ -16,7 +16,7 @@ updates:

- package-ecosystem: github-actions
directory: /.github/workflows
target-branch: develop
target-branch: master
schedule:
interval: monthly
groups:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:

- name: Build
run: |
uvx --python 3.12 --with-requirements=requirements/docs.txt --from sphinx \
uvx --python 3.12 --with-requirements=docs/requirements.txt.txt --from sphinx \
sphinx-build -M html docs/source site -W
- name: Upload artifacts
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: '3.12'
python: '3.13'

# Build documentation in the "docs/" directory with Sphinx
sphinx:
Expand All @@ -17,4 +17,4 @@ sphinx:

python:
install:
- requirements: requirements/docs.txt
- requirements: docs/requirements.txt.txt
6 changes: 6 additions & 0 deletions docs/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.
sphinx>=7.2.6
sphinx-autobuild>=2021.3.14
sphinx_rtd_theme>=2.0.0
jinja2>=3.1.2
markupsafe>=2.1.3
112 changes: 112 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# This file was autogenerated by uv via the following command:
# uv pip compile docs/requirements.in
alabaster==1.0.0
# via sphinx
anyio==4.6.2.post1
# via
# starlette
# watchfiles
babel==2.16.0
# via sphinx
certifi==2024.8.30
# via requests
charset-normalizer==3.4.0
# via requests
click==8.1.7
# via uvicorn
.
# via -r docs/requirements.in
colorama==0.4.6
# via sphinx-autobuild
colorspacious==1.1.2
# via cmasher
contourpy==1.3.0
# via matplotlib
cycler==0.12.1
# via matplotlib
docutils==0.21.2
# via
# sphinx
# sphinx-rtd-theme
fonttools==4.54.1
# via matplotlib
h11==0.14.0
# via uvicorn
idna==3.10
# via
# anyio
# requests
imagesize==1.4.1
# via sphinx
jinja2==3.1.4
# via
# -r docs/requirements.in
# sphinx
kiwisolver==1.4.7
# via matplotlib
markupsafe==3.0.2
# via
# -r docs/requirements.in
# jinja2
matplotlib==3.9.2
# via cmasher
numpy==2.1.2
# via
# cmasher
# colorspacious
# contourpy
# matplotlib
packaging==24.1
# via
# matplotlib
# sphinx
pillow==11.0.0
# via matplotlib
pygments==2.18.0
# via sphinx
pyparsing==3.2.0
# via matplotlib
python-dateutil==2.9.0.post0
# via matplotlib
requests==2.32.3
# via sphinx
six==1.16.0
# via python-dateutil
sniffio==1.3.1
# via anyio
snowballstemmer==2.2.0
# via sphinx
sphinx==8.1.3
# via
# -r docs/requirements.in
# sphinx-autobuild
# sphinx-rtd-theme
# sphinxcontrib-jquery
sphinx-autobuild==2024.10.3
# via -r docs/requirements.in
sphinx-rtd-theme==3.0.1
# via -r docs/requirements.in
sphinxcontrib-applehelp==2.0.0
# via sphinx
sphinxcontrib-devhelp==2.0.0
# via sphinx
sphinxcontrib-htmlhelp==2.1.0
# via sphinx
sphinxcontrib-jquery==4.1
# via sphinx-rtd-theme
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
starlette==0.41.0
# via sphinx-autobuild
urllib3==2.2.3
# via requests
uvicorn==0.32.0
# via sphinx-autobuild
watchfiles==0.24.0
# via sphinx-autobuild
websockets==13.1
# via sphinx-autobuild
6 changes: 0 additions & 6 deletions requirements/docs.txt

This file was deleted.

0 comments on commit 8faebf7

Please sign in to comment.