From b7130f0f426d00fb7cb4464ea1fdf4df949fb6e5 Mon Sep 17 00:00:00 2001 From: Jayaram Kancherla Date: Wed, 25 Oct 2023 14:11:22 -0700 Subject: [PATCH] add min python requirement; run github action for various python versions --- .github/workflows/pypi-test.yml | 9 +++++++-- setup.cfg | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi-test.yml b/.github/workflows/pypi-test.yml index 94e48dd..754eb79 100644 --- a/.github/workflows/pypi-test.yml +++ b/.github/workflows/pypi-test.yml @@ -13,13 +13,18 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python-version: [ '3.8', '3.9', '3.10' ] + name: Python ${{ matrix.python-version }} steps: - uses: actions/checkout@v2 - - name: Set up Python 3.9 + - name: Setup Python uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: ${{ matrix.python-version }} + cache: 'pip' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/setup.cfg b/setup.cfg index b79e371..bd91926 100644 --- a/setup.cfg +++ b/setup.cfg @@ -41,7 +41,7 @@ package_dir = =src # Require a min/specific Python version (comma-separated conditions) -# python_requires = >=3.8 +python_requires = >=3.8 # Add here dependencies of your project (line-separated), e.g. requests>=2.2,<3.0. # Version specifiers like >=2.2,<3.0 avoid problems due to API changes in