From 36ff72b8090aa7d71581423ed373dd11fbe4b50b Mon Sep 17 00:00:00 2001 From: Graeme Watt Date: Thu, 24 Aug 2023 13:08:11 +0100 Subject: [PATCH] Reinstate support for Python 3.6 * Run Python 3.6 tests using older 'ubuntu-20.04' image. * Also add tests for Python 3.10 and 3.11. * Bump version to 0.3.5 in preparation for new release. --- .github/workflows/ci.yml | 8 ++++++-- hepdata_validator/version.py | 2 +- setup.py | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17c3796..7ef670d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,14 @@ jobs: test: - runs-on: ubuntu-latest + runs-on: ${{ matrix.runner }} strategy: matrix: - python-version: [ '3.7', '3.8', '3.9' ] + runner: ['ubuntu-latest'] + python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] + include: + - runner: 'ubuntu-20.04' + python-version: '3.6' steps: - uses: actions/checkout@v3 diff --git a/hepdata_validator/version.py b/hepdata_validator/version.py index 4185af3..43d4913 100644 --- a/hepdata_validator/version.py +++ b/hepdata_validator/version.py @@ -27,4 +27,4 @@ from __future__ import absolute_import, print_function -__version__ = "0.3.4" +__version__ = "0.3.5" diff --git a/setup.py b/setup.py index 15a2a26..dbcbae7 100644 --- a/setup.py +++ b/setup.py @@ -94,7 +94,7 @@ def run_tests(self): test_suite='hepdata_validator.testsuite', tests_require=test_requirements, cmdclass={'test': PyTest}, - python_requires='>=3.7', + python_requires='>=3.6', entry_points={ 'console_scripts': ['hepdata-validate=hepdata_validator.cli:validate'], }