Skip to content

Commit 7a269f5

Browse files
authored
Add minimum support version docs (#43)
1 parent 3588162 commit 7a269f5

File tree

8 files changed

+494
-416
lines changed

8 files changed

+494
-416
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Fixes
151151
* Initial public release
152152

153153

154-
.. _v1.0.0-dev: https://github.com/speedyleion/sphinx-c-autodoc/compare/v1.0.0...master
154+
.. _v1.1.0-dev: https://github.com/speedyleion/sphinx-c-autodoc/compare/v1.0.0...master
155155
.. _v1.0.0: https://github.com/speedyleion/sphinx-c-autodoc/compare/v0.4.0...v1.0.0
156156
.. _v0.4.0: https://github.com/speedyleion/sphinx-c-autodoc/compare/v0.3.1...v0.4.0
157157
.. _v0.3.1: https://github.com/speedyleion/sphinx-c-autodoc/compare/v0.3.0...v0.3.1

docs/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ your system. Some common tox environments are:
1313
- ``tox -e py37-cov`` to run the tests for coverage.
1414
- ``tox -e docs`` to generate the documentation.
1515

16-
.. note:: Prior to contributing via a pull request pleas ensure all tox
16+
.. note:: Prior to contributing via a pull request please ensure all tox
1717
environments pass by running ``tox``, with no additional arguments.
1818

1919
Coverage

docs/developing.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Developing
2+
==========
3+
4+
.. toctree::
5+
:maxdepth: 2
6+
:caption: Developing
7+
8+
developer_notes
9+
contributing

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ C Autodoc Extension For Sphinx.
2020
napoleon
2121
viewcode
2222
apidoc
23-
developer_notes
24-
contributing
23+
minimum_supported_versions
2524
changelog
25+
developing
2626

2727

2828
Indices and tables
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
==========================
2+
Minimum Supported Versions
3+
==========================
4+
5+
Keeping with the industry support of Python versions
6+
https://www.python.org/downloads/, this package will try to support it's main
7+
dependencies for 5 years.
8+
9+
Dropping support for a dependency version is considered a major change and will
10+
result in a major version bump.
11+
12+
Python Version
13+
--------------
14+
15+
============== ============== ==============
16+
Python Version First Released End of Support
17+
============== ============== ==============
18+
3.11 2022-10-24 2027-10
19+
3.10 2021-10-04 2026-10
20+
3.9 2020-10-05 2025-10
21+
3.8 2019-10-14 2024-10
22+
3.7 2018-06-27 2023-06-27
23+
============== ============== ==============
24+
25+
Sphinx Version
26+
--------------
27+
28+
============== ============== ==============
29+
Sphinx Version First Released End of Support
30+
============== ============== ==============
31+
5.0 2022-05-30 2027-05
32+
4.0 2021-05-09 2026-05
33+
3.1 2020-06-08 2025-06
34+
============== ============== ==============
35+
36+
Should a supported Sphinx version only work with an unsupported Python version
37+
then that Sphinx version will be dropped early. This is in anticipation of
38+
possible CI limitations running unsupported versions.
39+
40+
Clang Version
41+
-------------
42+
43+
============= ============== ==============
44+
Clang Version First Released End of Support
45+
============= ============== ==============
46+
15.0 2022-09-26 2027-09
47+
14.0 2022-03-25 2027-03
48+
13.0 2021-10-04 2026-10
49+
12.0 2021-04-14 2026-04
50+
11.0 2020-10-12 2025-10
51+
10.0 2020-03-24 2025-03
52+
9.0 2019-09-19 2024-09
53+
8.0 2019-03-20 2024-03
54+
7.0 2018-09-19 2023-09
55+
6.0 2018-03-08 2023-06
56+
============= ============== ==============
57+
58+
Since Clang seems to be on a 6 month release cycle while Python is on a one
59+
year, and that this package uses few features of Clang, this package will most
60+
likely continue to support some versions of Clang until the nearest Python
61+
version gets removed.
62+
63+
.. note:: The different Clang versions are *not* exercised in CI. Most of the
64+
Python API for Clang seems pretty stable and as long as the most recent
65+
version of Clang keeps working it's hoped that it will catch most issues.

poetry.lock

Lines changed: 414 additions & 410 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pycodestyle = "2.8.0"
3030
mypy = "0.991"
3131
pytest = "7.2.0"
3232
pytest-cov = "4.0.0"
33-
sphinx_rtd_theme = "0.4.2"
33+
sphinx_rtd_theme = "1.1.1"
3434
sphinxcontrib-autoprogram = "0.1.7"
3535
types-docutils = "0.19.1.1"
3636

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ commands =
2525
black: black --check {toxinidir}/src/sphinx_c_autodoc {toxinidir}/tests {posargs}
2626
mypy: poetry run mypy {toxinidir}/src/sphinx_c_autodoc {posargs}
2727
cov: poetry run pytest --cov=sphinx_c_autodoc --cov-config={[coverage]file} --cov-report=xml --cov-fail-under=100 {posargs}
28-
docs: python -m sphinx {toxinidir}/docs {toxinidir}/docs/_build
28+
docs: poetry run sphinx-build {toxinidir}/docs {toxinidir}/docs/_build
2929

3030
[testenv:py{37, 38, 39, 310, 311}]
3131
commands =

0 commit comments

Comments
 (0)