Skip to content

Commit

Permalink
restrict docutils by myst-parser wishes
Browse files Browse the repository at this point in the history
- docs: add to ignore sourceforge.net
- chore: bump myst-parser to 4.0.0
- chore: match myst-parser docutils specifier docutils>=0.19,<0.22
  • Loading branch information
msftcangoblowm committed Oct 15, 2024
1 parent 332f6f6 commit f978040
Show file tree
Hide file tree
Showing 13 changed files with 103 additions and 98 deletions.
9 changes: 9 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ Changelog

.. scriv-start-here
.. _changes_2-0-1:

Version 2.0.1 — 2024-10-15
--------------------------

- docs: add to ignore sourceforge.net
- chore: bump myst-parser to 4.0.0
- chore: match myst-parser docutils specifier docutils>=0.19,<0.22

.. _changes_2-0-0p1:

Version 2.0.0.post1 — 2024-10-01
Expand Down
8 changes: 4 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
# @@@ editable
copyright = "2023–2024, Dave Faulkmore"
# The short X.Y.Z version.
version = "2.0.0"
version = "2.0.1"
# The full version, including alpha/beta/rc tags.
release = "2.0.0.post1"
release = "2.0.1"
# The date of release, in "monthname day, year" format.
release_date = "October 1, 2024"
release_date = "October 15, 2024"
# @@@ end

v = parse(release)
Expand Down Expand Up @@ -134,7 +134,7 @@
"https://github.com/crdoconnor/strictyaml",
("objects-strictyaml-source.inv", "objects-strictyaml-source.txt"),
),
"docutils-source": (
"docutils-source": ( # sourceforge.net 403 client foridden
"https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils",
("objects-docutils-source.inv", "objects-docutils-source.txt"),
),
Expand Down
3 changes: 1 addition & 2 deletions docs/requirements.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
# For details: https://github.com/msftcangoblowm/logging-strict/blob/master/NOTICE.txt
# For details: https://github.com/msftcangoblowm/sphinx-external-toc-strict/blob/master/NOTICE.txt

-c ../requirements/pins.pip
-c ../requirements/prod.unlock # currently same venv

# sphinx-external-toc-strict
scriv # for writing GitHub releases
sphobjinv # cross-references inventories, objects.inv
sphinx
sphinx-pyproject
sphinx-autobuild
sphinx-paramlinks
Expand Down
30 changes: 15 additions & 15 deletions docs/requirements.pip
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,17 @@ natsort==8.4.0
# via domdf-python-tools
packaging==24.1
# via sphinx
pygments==2.17.2
pygments==2.18.0
# via sphinx
referencing==0.34.0
referencing==0.35.1
# via
# jsonschema
# jsonschema-specifications
requests==2.31.0
requests==2.32.3
# via
# scriv
# sphinx
rpds-py==0.18.0
rpds-py==0.20.0
# via
# jsonschema
# referencing
Expand All @@ -78,39 +78,39 @@ six==1.16.0
# via livereload
snowballstemmer==2.2.0
# via sphinx
sphinx==8.0.2
sphinx==8.1.3
# via
# -c docs/../requirements/prod.unlock
# -r docs/requirements.in
# sphinx-autobuild
# sphinx-paramlinks
sphinx-autobuild==2024.2.4
sphinx-autobuild==2024.10.3
# via -r docs/requirements.in
sphinx-paramlinks==0.6.0
# via -r docs/requirements.in
sphinx-pyproject==0.3.0
# via -r docs/requirements.in
sphinxcontrib-applehelp==1.0.8
sphinxcontrib-applehelp==2.0.0
# via sphinx
sphinxcontrib-devhelp==1.0.6
sphinxcontrib-devhelp==2.0.0
# via sphinx
sphinxcontrib-htmlhelp==2.0.5
sphinxcontrib-htmlhelp==2.1.0
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.7
sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==1.1.10
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
sphobjinv==2.3.1
sphobjinv==2.3.1.1
# via -r docs/requirements.in
tomli==2.0.1
tomli==2.0.2 ; python_version < "3.11"
# via
# dom-toml
# sphinx
tornado==6.4
# via livereload
typing-extensions==4.12.2
typing-extensions==4.12.2; python_version<"3.10"
# via domdf-python-tools
urllib3==2.2.1
urllib3==2.2.3
# via requests
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ linkcheck_ignore = [
"https://github.com/sphinx-doc/sphinx/blob/0a162fa8da21154011a2c890bb82fd0ce96ebf16/tests/test_extensions/test_ext_intersphinx.py#L49",
"https://github.com/sphinx-doc/sphinx/blob/abb3ead01a76093f0d48068743c6fce7dc6d57c0/sphinx/ext/intersphinx/_resolve.py#L253",
"https://github.com/sphinx-doc/sphinx/blob/7487e764cbd45269ef8be9976af67ce8bd37b48f/sphinx/ext/intersphinx/_resolve.py#L253C5-L253C22",
"https://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils/docutils/nodes.py",
]
myst_enable_extensions = ["colon_fence", "html_image"]
external_toc_exclude_missing = true
Expand Down
30 changes: 15 additions & 15 deletions requirements/dev.pip
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ black==24.3.0
# blackdoc
blackdoc==0.3.9
# via -r requirements/dev.in
certifi==2024.2.2
certifi==2024.8.30
# via
# requests
# sphobjinv
Expand Down Expand Up @@ -118,17 +118,17 @@ pathspec==0.12.1
# blackdoc
pkginfo==1.10.0
# via twine
platformdirs==4.2.0
platformdirs==4.3.6
# via black
pluggy==1.4.0
pluggy==1.5.0
# via pytest
pycodestyle==2.11.1
# via flake8
pycparser==2.22
# via cffi
pyflakes==3.2.0
# via flake8
pygments==2.17.2
pygments==2.18.0
# via
# readme-renderer
# rich
Expand All @@ -148,7 +148,7 @@ pyyaml==6.0.1
# via
# myst-parser
# pytest-regressions
readme-renderer==43.0
readme-renderer==36.0
# via twine
referencing==0.35.1
# via
Expand All @@ -163,7 +163,7 @@ requests-toolbelt==1.0.0
# via twine
rfc3986==2.0.0
# via twine
rich==13.7.1
rich==13.8.1
# via
# blackdoc
# twine
Expand All @@ -177,27 +177,27 @@ six==1.16.0
# via python-dateutil
snowballstemmer==2.2.0
# via sphinx
sphinx==8.0.2
sphinx==8.1.3
# via
# -r requirements/prod.unlock
# myst-parser
sphinxcontrib-applehelp==1.0.8
sphinxcontrib-applehelp==2.0.0
# via sphinx
sphinxcontrib-devhelp==1.0.6
sphinxcontrib-devhelp==2.0.0
# via sphinx
sphinxcontrib-htmlhelp==2.0.5
sphinxcontrib-htmlhelp==2.1.0
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.7
sphinxcontrib-qthelp==2.0.0
# via sphinx
sphinxcontrib-serializinghtml==1.1.10
sphinxcontrib-serializinghtml==2.0.0
# via sphinx
sphobjinv==2.3.1.1
# via -r requirements/dev.in
strictyaml==1.7.3
# via -r requirements/prod.unlock
tomli==2.0.1 ; python_version < "3.11"
tomli==2.0.2 ; python_version < "3.11"
# via
# -c requirements/pins.pip
# black
Expand All @@ -208,11 +208,11 @@ tomli==2.0.1 ; python_version < "3.11"
# sphinx
twine==5.0.0
# via -r requirements/dev.in
typing-extensions==4.12.2
typing-extensions==4.12.2; python_version<"3.10"
# via
# black
# mypy
urllib3==2.2.1
urllib3==2.2.3
# via
# requests
# twine
Expand Down
8 changes: 4 additions & 4 deletions requirements/kit.pip
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ bracex==2.4
# via cibuildwheel
build==1.2.1
# via -r requirements/kit.in
certifi==2024.2.2
certifi==2024.8.30
# via cibuildwheel
cibuildwheel==2.17.0
# via -r requirements/kit.in
Expand All @@ -22,7 +22,7 @@ packaging==24.1
# build
# cibuildwheel
# setuptools-scm
platformdirs==4.2.0
platformdirs==4.3.6
# via cibuildwheel
pyelftools==0.31
# via auditwheel
Expand All @@ -41,13 +41,13 @@ tomli==2.0.1 ; python_version < "3.11"
# cibuildwheel
# pyproject-hooks
# setuptools-scm
typing-extensions==4.12.2
typing-extensions==4.12.2; python_version<"3.10"
# via cibuildwheel
wheel==0.43.0
# via -r requirements/kit.in

# The following packages are considered to be unsafe in a requirements file:
setuptools==75.1.0
setuptools==69.2.0
# via
# -r requirements/kit.in
# setuptools-scm
8 changes: 7 additions & 1 deletion requirements/manage.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@

twine # pypi.org
pre-commit
restview # viewer for vanilla ReStructuredText files (README.rst)

# restview restricts readme_renderer. restview maybe abandonware
# https://github.com/mgedmin/restview/blob/master/setup.py
readme_renderer<37

# viewer for vanilla ReStructuredText files (README.rst)
restview
Loading

0 comments on commit f978040

Please sign in to comment.