Skip to content

Commit 19718f9

Browse files
authored
Update version constraints in requirements.txt files (#48)
* Pin implicit dependencies in `doc/requirements.txt` * Bump dependencies with security vulnerabilities * Update changelog * Bump Python version used in `Formatting Check` workflow
1 parent 81af099 commit 19718f9

File tree

13 files changed

+29
-6
lines changed

13 files changed

+29
-6
lines changed

.github/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
## Release 0.6.0 (development release)
22

3+
### Improvements
4+
5+
* Pinned some implicit requirements in `doc/requirements.txt`.
6+
[(#48)](https://github.com/XanaduAI/xanadu-sphinx-theme/pull/48)
7+
8+
* Bumped the pinned versions of `black` and `pillow`.
9+
[(#48)](https://github.com/XanaduAI/xanadu-sphinx-theme/pull/48)
10+
311
### Contributors
412

513
This release contains contributions from (in alphabetical order):
614

15+
[Mikhail Andrenkov](https://github.com/Mandrenkov).
16+
717
## Release 0.5.0 (current release)
818

919
### Improvements

.github/workflows/format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v2
1515
with:
16-
python-version: 3.8
16+
python-version: 3.9
1717

1818
- uses: actions/checkout@v2
1919

doc/requirements.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
m2r2
22
matplotlib==3.5.3
3-
pillow==10.0.1
3+
numpy==1.26.4
4+
pillow==10.3.0
45
sphinx==4.5.0
5-
sphinx-copybutton
6+
sphinx-copybutton==0.5.2
67
sphinx-gallery==0.10.1
7-
matplotlib
8+
sphinxcontrib-applehelp==1.0.4
9+
sphinxcontrib-devhelp==1.0.2
10+
sphinxcontrib-qthelp==1.0.3
11+
sphinxcontrib-htmlhelp==2.0.1
12+
sphinxcontrib-serializinghtml==1.1.5

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
black==22.3.0
1+
black==24.10.0
22
build==0.7.0
33
isort[colors]==5.10.1
44
pylint==2.13.7

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
importlib-resources==5.9.0
2-
pillow==10.0.1
2+
pillow==10.3.0
33
sphinx==4.5.0
44
sphinx-gallery==0.10.1

xanadu_sphinx_theme/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
This module registers the Xanadu Sphinx Theme. For more information, see
33
https://www.sphinx-doc.org/en/master/development/theming.html
44
"""
5+
56
from pathlib import Path
67

78
from importlib_resources import files

xanadu_sphinx_theme/directives/community_card.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This module implements the ``community-card`` reST directive."""
2+
23
import re
34
from inspect import cleandoc
45

xanadu_sphinx_theme/directives/details.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This module implements the ``details`` reST directive."""
2+
23
from inspect import cleandoc
34

45
from docutils import nodes

xanadu_sphinx_theme/directives/gallery_item.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3535
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3636
"""
37+
3738
import os
3839
from inspect import cleandoc
3940
from pathlib import Path

xanadu_sphinx_theme/directives/index_card.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This module implements the ``index-card`` reST directive."""
2+
23
from inspect import cleandoc
34

45
from docutils import nodes

xanadu_sphinx_theme/directives/related_demo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This module implements the ``related-demo`` reST directive."""
2+
23
from inspect import cleandoc
34

45
from docutils import nodes

xanadu_sphinx_theme/directives/title_card.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This module implements the ``title-card`` reST directive."""
2+
23
from inspect import cleandoc
34

45
from docutils import nodes

xanadu_sphinx_theme/directives/youtube_video.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""This module implements the ``youtube-video`` reST directive."""
2+
23
from inspect import cleandoc
34

45
from docutils import nodes

0 commit comments

Comments
 (0)