Skip to content

Commit b2cf5fa

Browse files
committed
simplify requirements, pin sphinx-rtf-theme, idk why
1 parent 478868a commit b2cf5fa

File tree

8 files changed

+54
-28
lines changed

8 files changed

+54
-28
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ docs: botedits ## generate Sphinx HTML documentation, including API docs
4848
tox -e docs
4949
$(BROWSER)docs/_build/html/index.html
5050

51-
PIP_COMPILE = uv pip compile -q --universal -c requirements/constraints.txt --upgrade
51+
PIP_COMPILE = uv pip compile -q --universal -c requirements/constraints.in --upgrade
5252
upgrade: export UV_CUSTOM_COMPILE_COMMAND=make upgrade
5353
upgrade: ## update the requirements/*.txt files with the latest packages satisfying requirements/*.in
5454
# Make sure to compile files after any other files they include!

requirements/base.in

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
# Core requirements for using this application
22

3-
-r core.txt
3+
attrs
4+
click
5+
click-log
6+
jinja2>=2.7
7+
markdown-it-py
8+
requests

requirements/base.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
# This file was autogenerated by uv via the following command:
22
# make upgrade
33
attrs==25.4.0
4-
# via -r requirements/core.txt
4+
# via -r requirements/base.in
55
certifi==2025.11.12
66
# via requests
77
charset-normalizer==3.4.4
88
# via requests
99
click==8.3.1
1010
# via
11-
# -r requirements/core.txt
11+
# -r requirements/base.in
1212
# click-log
1313
click-log==0.4.0
14-
# via -r requirements/core.txt
14+
# via -r requirements/base.in
1515
colorama==0.4.6 ; sys_platform == 'win32'
1616
# via click
1717
idna==3.11
1818
# via requests
1919
jinja2==3.1.6
20-
# via -r requirements/core.txt
20+
# via -r requirements/base.in
2121
markdown-it-py==4.0.0
22-
# via -r requirements/core.txt
22+
# via -r requirements/base.in
2323
markupsafe==3.0.3
2424
# via jinja2
2525
mdurl==0.1.2
2626
# via markdown-it-py
2727
requests==2.32.5
28-
# via -r requirements/core.txt
28+
# via -r requirements/base.in
2929
urllib3==2.6.0
3030
# via requests

requirements/constraints.txt renamed to requirements/constraints.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@
77
# link to other information that will help people in the future to remove the
88
# pin when possible. Writing an issue against the offending project and
99
# linking to it here is good.
10+
11+
# I don't understand why uv wouldn't upgrade to the latest theme, but putting
12+
# this constraint makes it work with no complaints.
13+
sphinx-rtd-theme>3.0.0

requirements/core.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

requirements/dev.txt

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ docutils==0.21.2
8989
# readme-renderer
9090
# restructuredtext-lint
9191
# sphinx
92+
# sphinx-rtd-theme
9293
exceptiongroup==1.3.1 ; python_full_version < '3.11'
9394
# via
9495
# -r requirements/quality.txt
@@ -310,7 +311,7 @@ rich==14.2.0
310311
# via
311312
# -r requirements/quality.txt
312313
# twine
313-
roman-numerals==3.1.0 ; python_full_version >= '3.11'
314+
roman-numerals-py==3.1.0 ; python_full_version >= '3.11'
314315
# via
315316
# -r requirements/quality.txt
316317
# sphinx
@@ -335,12 +336,16 @@ sphinx==8.1.3 ; python_full_version < '3.11'
335336
# via
336337
# -r requirements/quality.txt
337338
# sphinx-rtd-theme
338-
sphinx==9.0.4 ; python_full_version >= '3.11'
339+
# sphinxcontrib-jquery
340+
sphinx==8.2.3 ; python_full_version >= '3.11'
339341
# via
340342
# -r requirements/quality.txt
341343
# sphinx-rtd-theme
342-
sphinx-rtd-theme==0.5.1
343-
# via -r requirements/quality.txt
344+
# sphinxcontrib-jquery
345+
sphinx-rtd-theme==3.0.2
346+
# via
347+
# -c requirements/constraints.in
348+
# -r requirements/quality.txt
344349
sphinxcontrib-applehelp==2.0.0
345350
# via
346351
# -r requirements/quality.txt
@@ -353,6 +358,10 @@ sphinxcontrib-htmlhelp==2.1.0
353358
# via
354359
# -r requirements/quality.txt
355360
# sphinx
361+
sphinxcontrib-jquery==4.1
362+
# via
363+
# -r requirements/quality.txt
364+
# sphinx-rtd-theme
356365
sphinxcontrib-jsmath==1.0.1
357366
# via
358367
# -r requirements/quality.txt

requirements/doc.txt

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ docutils==0.21.2
4646
# doc8
4747
# restructuredtext-lint
4848
# sphinx
49+
# sphinx-rtd-theme
4950
exceptiongroup==1.3.1 ; python_full_version < '3.11'
5051
# via
5152
# -r requirements/test.txt
@@ -144,7 +145,7 @@ responses==0.25.8
144145
# via -r requirements/test.txt
145146
restructuredtext-lint==2.0.2
146147
# via doc8
147-
roman-numerals==3.1.0 ; python_full_version >= '3.11'
148+
roman-numerals-py==3.1.0 ; python_full_version >= '3.11'
148149
# via sphinx
149150
six==1.17.0
150151
# via
@@ -156,18 +157,24 @@ sphinx==8.1.3 ; python_full_version < '3.11'
156157
# via
157158
# -r requirements/doc.in
158159
# sphinx-rtd-theme
159-
sphinx==9.0.4 ; python_full_version >= '3.11'
160+
# sphinxcontrib-jquery
161+
sphinx==8.2.3 ; python_full_version >= '3.11'
160162
# via
161163
# -r requirements/doc.in
162164
# sphinx-rtd-theme
163-
sphinx-rtd-theme==0.5.1
164-
# via -r requirements/doc.in
165+
# sphinxcontrib-jquery
166+
sphinx-rtd-theme==3.0.2
167+
# via
168+
# -c requirements/constraints.in
169+
# -r requirements/doc.in
165170
sphinxcontrib-applehelp==2.0.0
166171
# via sphinx
167172
sphinxcontrib-devhelp==2.0.0
168173
# via sphinx
169174
sphinxcontrib-htmlhelp==2.1.0
170175
# via sphinx
176+
sphinxcontrib-jquery==4.1
177+
# via sphinx-rtd-theme
171178
sphinxcontrib-jsmath==1.0.1
172179
# via sphinx
173180
sphinxcontrib-qthelp==2.0.0

requirements/quality.txt

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ docutils==0.21.2
7878
# readme-renderer
7979
# restructuredtext-lint
8080
# sphinx
81+
# sphinx-rtd-theme
8182
exceptiongroup==1.3.1 ; python_full_version < '3.11'
8283
# via
8384
# -r requirements/doc.txt
@@ -279,7 +280,7 @@ rfc3986==2.0.0
279280
# via twine
280281
rich==14.2.0
281282
# via twine
282-
roman-numerals==3.1.0 ; python_full_version >= '3.11'
283+
roman-numerals-py==3.1.0 ; python_full_version >= '3.11'
283284
# via
284285
# -r requirements/doc.txt
285286
# sphinx
@@ -301,12 +302,16 @@ sphinx==8.1.3 ; python_full_version < '3.11'
301302
# via
302303
# -r requirements/doc.txt
303304
# sphinx-rtd-theme
304-
sphinx==9.0.4 ; python_full_version >= '3.11'
305+
# sphinxcontrib-jquery
306+
sphinx==8.2.3 ; python_full_version >= '3.11'
305307
# via
306308
# -r requirements/doc.txt
307309
# sphinx-rtd-theme
308-
sphinx-rtd-theme==0.5.1
309-
# via -r requirements/doc.txt
310+
# sphinxcontrib-jquery
311+
sphinx-rtd-theme==3.0.2
312+
# via
313+
# -c requirements/constraints.in
314+
# -r requirements/doc.txt
310315
sphinxcontrib-applehelp==2.0.0
311316
# via
312317
# -r requirements/doc.txt
@@ -319,6 +324,10 @@ sphinxcontrib-htmlhelp==2.1.0
319324
# via
320325
# -r requirements/doc.txt
321326
# sphinx
327+
sphinxcontrib-jquery==4.1
328+
# via
329+
# -r requirements/doc.txt
330+
# sphinx-rtd-theme
322331
sphinxcontrib-jsmath==1.0.1
323332
# via
324333
# -r requirements/doc.txt

0 commit comments

Comments
 (0)