Fix running Python 3.4 and 3.5 on CI

This commit is contained in:
Mike Naberezny 2023-11-18 16:34:11 -08:00
parent 55eef25998
commit 9ae3871388
2 changed files with 39 additions and 1 deletions

View File

@ -26,6 +26,42 @@ jobs:
- name: Run the tests
run: python setup.py test -q
build_py34:
runs-on: ubuntu-20.04
container: python:3.4
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Show Python version
run: python -V
- name: Install dependencies
run: $PIP install setuptools
- name: Run the tests
run: python setup.py test -q
build_py35:
runs-on: ubuntu-20.04
container: python:3.5
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Show Python version
run: python -V
- name: Install dependencies
run: $PIP install setuptools
- name: Run the tests
run: python setup.py test -q
build_py3x:
strategy:
fail-fast: false

View File

@ -7,7 +7,7 @@ PY3 = py_version[0] == 3
if PY3:
if py_version < (3, 4):
raise RuntimeError('On Python 3, Py65 requires Python 3.6 or later')
raise RuntimeError('On Python 3, Py65 requires Python 3.4 or later')
else:
if py_version < (2, 7):
raise RuntimeError('On Python 2, Py65 requires Python 2.7 or later')
@ -27,6 +27,8 @@ CLASSIFIERS = [
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',