Skip to content

Commit

Permalink
Bump Python to >= 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobandersen committed Oct 29, 2022
1 parent 12155e0 commit a78fc2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 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 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 a78fc2b

Please sign in to comment.