From 84ab6e57748c2631b0e780255dcbc1d6e372269d Mon Sep 17 00:00:00 2001 From: Matthew Muckley Date: Mon, 26 Jun 2023 13:03:09 -0400 Subject: [PATCH] Update Python for CI (#315) * Update Python for CI * Fix Python 3.10 * Update numpy * Update mypy * Publish with 3.8 --- .github/workflows/build-and-test.yml | 4 ++-- setup.cfg | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1f373649..10a1d52b 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -15,7 +15,7 @@ jobs: max-parallel: 4 matrix: platform: [ubuntu-latest] - python-version: [3.8] + python-version: ["3.8", "3.10"] runs-on: ${{ matrix.platform }} @@ -41,7 +41,7 @@ jobs: max-parallel: 4 matrix: platform: [ubuntu-latest] - python-version: [3.8] + python-version: ["3.8", "3.10"] runs-on: ${{ matrix.platform }} diff --git a/setup.cfg b/setup.cfg index cd62edbe..82022eb0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -64,7 +64,7 @@ python_requires = >=3.8 dev = black==22.3.0 flake8==4.0.1 - mypy==0.961 + mypy==1.1.1 pytest==7.1.2 types-pyyaml==5.4.10 types-requests==2.27.6 @@ -74,8 +74,8 @@ tests = flake8==4.0.1 h5py==3.7.0 isort==5.10.1 - mypy==0.961 - numpy==1.22.3 + mypy==1.1.1 + numpy==1.23.5 pandas==1.4.2 pandas-stubs==1.2.0.61 pytest==7.1.2