From 0c073d19a2f2b683f727ada82d04af973a4ad79f Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Tue, 12 Sep 2023 08:52:09 +0200 Subject: [PATCH] Update dependencies according to breathe==4.35.0 --- .github/workflows/test_python.yaml | 38 +++++++++++++++++------------- README.rst | 2 ++ setup.cfg | 5 ++-- 3 files changed, 26 insertions(+), 19 deletions(-) diff --git a/.github/workflows/test_python.yaml b/.github/workflows/test_python.yaml index f4b40e0..b7e7fe5 100644 --- a/.github/workflows/test_python.yaml +++ b/.github/workflows/test_python.yaml @@ -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: | @@ -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" diff --git a/README.rst b/README.rst index 7b9237f..bfddca1 100644 --- a/README.rst +++ b/README.rst @@ -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 | diff --git a/setup.cfg b/setup.cfg index 200fac9..2b92581 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 @@ -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