Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Python to >= 3.7 #866

Merged
merged 3 commits into from
Nov 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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