Skip to content

Commit

Permalink
Update dependencies according to breathe==4.35.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua committed Sep 12, 2023
1 parent 2759a39 commit 0c073d1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 19 deletions.
38 changes: 21 additions & 17 deletions .github/workflows/test_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,26 +63,10 @@ jobs:
- name: Install Python Tools
run: |
pip install -U pip tox codecov coverage
# Sphinx 3.0.0 ###################################################################
- name: Test Python ${{ matrix.python-version }} / sphinx==3.0.0
env:
# NOTE: this is the current minimum supported.
SPHINX_VERSION: '==3.0.0'
run: |
tox -e py -- --cov-report xml:coverage.xml --cov
- name: Upload Code Coverage for Python ${{ matrix.python-version }} / sphinx==3.0.0
run: |
codecov --required -X gcov -f coverage.xml --name "[GHA] ${{ matrix.os }}-py${{ matrix.python-version }}-sphinx3.0.0"
# Don't let code coverage utilities share anything, force clean it all.
- name: Cleanup Python ${{ matrix.python-version }} Testing / Coverage Artifacts
run: |
mv .gitignore nolongerignored
git clean -n
git clean -f
git reset --hard
# Sphinx 4.x #####################################################################
- name: Test Python ${{ matrix.python-version }} / sphinx 4.x
env:
# NOTE: this is the current minimum supported.
# Test sphinx 4.x.
SPHINX_VERSION: '>=4,<5'
run: |
Expand Down Expand Up @@ -127,3 +111,23 @@ jobs:
if: ${{ matrix.python-version != '3.7' }}
run: |
codecov --required -X gcov -f coverage.xml --name "[GHA] ${{ matrix.os }}-py${{ matrix.python-version }}-sphinx6.x"
# Don't let code coverage utilities share anything, force clean it all.
- name: Cleanup Python ${{ matrix.python-version }} Testing / Coverage Artifacts
run: |
mv .gitignore nolongerignored
git clean -n
git clean -f
git reset --hard
# Sphinx 7.x #####################################################################
- name: Test Python ${{ matrix.python-version }} / sphinx 7.x
# sphinx 7.x requires python 3.9+
if: ${{ matrix.python-version != '3.7' && matrix.python-version != '3.8' }}
env:
# Test sphinx 7.x.
SPHINX_VERSION: '>=7,<8'
run: |
tox -e py -- --cov-report xml:coverage.xml --cov
- name: Upload Code Coverage for Python ${{ matrix.python-version }} / sphinx 7.x
if: ${{ matrix.python-version != '3.7' && matrix.python-version != '3.8' }}
run: |
codecov --required -X gcov -f coverage.xml --name "[GHA] ${{ matrix.os }}-py${{ matrix.python-version }}-sphinx7.x"
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ Exhale Version Compatibility with Python, Sphinx, and Breathe
+----------------+----------------+----------------+-----------------+
| Exhale Version | Python Version | Sphinx Version | Breathe Version |
+================+================+================+=================+
| dev | >=3.7 | >=4.0,!=5.0.0 | >=4.35.0 |
+----------------+----------------+----------------+-----------------+
| 0.3.2 -- 0.3.6 | >=3.7 | >=3.0,<5 | >=4.32.0 |
+----------------+----------------+----------------+-----------------+
| 0.3.0 | >=3.6 | >=3.0,<5 | >=4.32.0 |
Expand Down
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Documentation :: Sphinx
Topic :: Software Development :: Documentation

Expand All @@ -36,9 +37,9 @@ zip_safe = False
packages = find:
# NOTE: making changes here? Please also update tox.ini [testenv{deps}]!
install_requires =
# From breathe==4.32.0
# From breathe==4.35.0
docutils>=0.12
Sphinx>=3.0,<7
Sphinx>=4.0,!=5.0.0
# For exhale
breathe>=4.32.0
beautifulsoup4
Expand Down

0 comments on commit 0c073d1

Please sign in to comment.