Skip to content

Commit 9bfe92f

Browse files
authored
BUG: Fix install in older Python by changing v2 to confv2 (#62)
* Use older Python to build wheel * BUG: Fix install for older Python by changing v2 to confv2 in extras_require
1 parent 1ca1569 commit 9bfe92f

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fetch-depth: 0
1919
- uses: actions/setup-python@v4
2020
with:
21-
python-version: "3.11"
21+
python-version: "3.8"
2222

2323
- name: Install build dependencies
2424
run: python -m pip install pip build "twine>=3.3" -U

CHANGES.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
Changes in sphinx-astropy
22
=========================
33

4-
2.0 (unreleased)
5-
----------------
4+
1.9.1 (2023-06-07)
5+
------------------
6+
7+
- Renamed ``[v2]`` optional dependencies key to ``[confv2]``
8+
to avoid triggering build error in Python 3.10 or earlier. [#63]
69

710
1.9 (2023-06-06)
811
----------------

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ Installing **sphinx-astropy** will automatically install (if not already present
5050

5151
* `pytest-doctestplus <https://github.com/astropy/pytest-doctestplus/>`_ - providing the 'doctestplus' extension to skip code snippets in narrative documentation.
5252

53-
pydata-sphinx-theme (v2)
54-
^^^^^^^^^^^^^^^^^^^^^^^^
53+
pydata-sphinx-theme (confv2)
54+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5555

5656
To use the new `pydata-sphinx-theme` with `sphinx_astropy.conf.v2`, you have to install
57-
the optional `[v2]` dependencies::
57+
the optional `[confv2]` dependencies::
5858

59-
pip install sphinx-astropy[v2]
59+
pip install sphinx-astropy[confv2]
6060

6161
That would pull in the following as well:
6262

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ install_requires =
3030
pytest-doctestplus>=0.11
3131

3232
[options.extras_require]
33-
v2 =
33+
confv2 =
3434
pydata-sphinx-theme
3535
sphinx-copybutton
3636
all = astropy

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ changedir = .tmp/{envname}
1212
description = run tests
1313
extras =
1414
tests
15-
v2deps: v2
15+
v2deps: confv2
1616
deps =
1717
sphinx30: sphinx==3.0.*
1818
sphinx30: docutils==0.17.*

0 commit comments

Comments
 (0)