Skip to content

Commit

Permalink
Merge pull request #866 from jakobandersen/bump-py-version
Browse files Browse the repository at this point in the history
Bump Python to >= 3.7
  • Loading branch information
jakobandersen committed Nov 3, 2022
2 parents 12155e0 + 47511b0 commit 285b1a7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.7', '3.8', '3.9', '3.10']
sphinx-version:
- '4.0.3'
- '4.1.2'
Expand All @@ -19,10 +19,6 @@ jobs:
- '5.3.0'
- git+https://github.com/sphinx-doc/sphinx.git@master
exclude:
# Since sphinx 7e68154e49fbb260f7ffee9791bfafdb7fd2e119 python 3.6
# support is removed. Breathe will probably also drop 3.6 soon.
- python-version: '3.6'
sphinx-version: git+https://github.com/sphinx-doc/sphinx.git@master
# avoid bug in following configurations
# sphinx/util/typing.py:37: in <module>
# from types import Union as types_Union
Expand All @@ -31,6 +27,9 @@ jobs:
sphinx-version: '4.0.3'
- python-version: '3.10'
sphinx-version: '4.1.2'
# Sphinx has removed support for Python 3.7, Breathe will follow.
- python-version: '3.7'
sphinx-version: git+https://github.com/sphinx-doc/sphinx.git@master

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Inspired by `Keepachangelog.com <http://keepachangelog.com/>`__.
`#833 <https://github.com/michaeljones/breathe/pull/833>`__
- Fix tests for changes in Sphinx 5.3.
`#865 <https://github.com/breathe-doc/breathe/pull/865>`__
- Bump Python requirement to 3.7.
`#866 <https://github.com/breathe-doc/breathe/pull/866>`__

- 2022-06-20 - **Breathe v4.34.0**

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

requires = ["Sphinx>=4.0,<6,!=5.0.0", "docutils>=0.12"]

if sys.version_info < (3, 6):
print("ERROR: Sphinx requires at least Python 3.6 to run.")
if sys.version_info < (3, 7):
print("ERROR: Sphinx requires at least Python 3.7 to run.")
sys.exit(1)


Expand Down

0 comments on commit 285b1a7

Please sign in to comment.