diff options
| -rw-r--r-- | .github/workflows/test-ci.yml | 2 | ||||
| -rwxr-xr-x | main.py | 2 | ||||
| -rw-r--r-- | requirements.json | 4 | ||||
| -rwxr-xr-x | setup.py | 2 | ||||
| -rw-r--r-- | tox.ini | 3 |
5 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/test-ci.yml b/.github/workflows/test-ci.yml index ec6f3791..19881858 100644 --- a/.github/workflows/test-ci.yml +++ b/.github/workflows/test-ci.yml | |||
| @@ -14,7 +14,7 @@ jobs: | |||
| 14 | fail-fast: false | 14 | fail-fast: false |
| 15 | matrix: | 15 | matrix: |
| 16 | os: [ubuntu-latest, macos-latest, windows-latest] | 16 | os: [ubuntu-latest, macos-latest, windows-latest] |
| 17 | python-version: [3.5, 3.6, 3.7, 3.8, 3.9] | 17 | python-version: [3.6, 3.7, 3.8, 3.9] |
| 18 | runs-on: ${{ matrix.os }} | 18 | runs-on: ${{ matrix.os }} |
| 19 | 19 | ||
| 20 | steps: | 20 | steps: |
| @@ -71,7 +71,7 @@ from subcmds import all_commands | |||
| 71 | # | 71 | # |
| 72 | # python-3.6 is in Ubuntu Bionic. | 72 | # python-3.6 is in Ubuntu Bionic. |
| 73 | MIN_PYTHON_VERSION_SOFT = (3, 6) | 73 | MIN_PYTHON_VERSION_SOFT = (3, 6) |
| 74 | MIN_PYTHON_VERSION_HARD = (3, 5) | 74 | MIN_PYTHON_VERSION_HARD = (3, 6) |
| 75 | 75 | ||
| 76 | if sys.version_info.major < 3: | 76 | if sys.version_info.major < 3: |
| 77 | print('repo: error: Python 2 is no longer supported; ' | 77 | print('repo: error: Python 2 is no longer supported; ' |
diff --git a/requirements.json b/requirements.json index 86b9a46c..cb55cd25 100644 --- a/requirements.json +++ b/requirements.json | |||
| @@ -38,9 +38,9 @@ | |||
| 38 | # Supported Python versions. | 38 | # Supported Python versions. |
| 39 | # | 39 | # |
| 40 | # python-3.6 is in Ubuntu Bionic. | 40 | # python-3.6 is in Ubuntu Bionic. |
| 41 | # python-3.5 is in Debian Stretch. | 41 | # python-3.7 is in Debian Buster. |
| 42 | "python": { | 42 | "python": { |
| 43 | "hard": [3, 5], | 43 | "hard": [3, 6], |
| 44 | "soft": [3, 6] | 44 | "soft": [3, 6] |
| 45 | }, | 45 | }, |
| 46 | 46 | ||
| @@ -56,6 +56,6 @@ setuptools.setup( | |||
| 56 | 'Programming Language :: Python :: 3 :: Only', | 56 | 'Programming Language :: Python :: 3 :: Only', |
| 57 | 'Topic :: Software Development :: Version Control :: Git', | 57 | 'Topic :: Software Development :: Version Control :: Git', |
| 58 | ], | 58 | ], |
| 59 | python_requires='>=3.5', | 59 | python_requires='>=3.6', |
| 60 | packages=['subcmds'], | 60 | packages=['subcmds'], |
| 61 | ) | 61 | ) |
| @@ -15,11 +15,10 @@ | |||
| 15 | # https://tox.readthedocs.io/ | 15 | # https://tox.readthedocs.io/ |
| 16 | 16 | ||
| 17 | [tox] | 17 | [tox] |
| 18 | envlist = py35, py36, py37, py38, py39 | 18 | envlist = py36, py37, py38, py39 |
| 19 | 19 | ||
| 20 | [gh-actions] | 20 | [gh-actions] |
| 21 | python = | 21 | python = |
| 22 | 3.5: py35 | ||
| 23 | 3.6: py36 | 22 | 3.6: py36 |
| 24 | 3.7: py37 | 23 | 3.7: py37 |
| 25 | 3.8: py38 | 24 | 3.8: py38 |
