From e151b06ab0a5a77bd784a9fb1850e8c0a039fe58 Mon Sep 17 00:00:00 2001 From: Jason Eshraghian Date: Sat, 14 Oct 2023 16:40:45 -0700 Subject: [PATCH] add py3.11 to testing matrix --- .github/workflows/build-tag.yml | 2 +- .github/workflows/build.yml | 2 +- CONTRIBUTING.rst | 2 +- tox.ini | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-tag.yml b/.github/workflows/build-tag.yml index 30ec2997..5f69e260 100644 --- a/.github/workflows/build-tag.yml +++ b/.github/workflows/build-tag.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c03203c5..02174f70 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index f54c1f6f..0f26492f 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -102,7 +102,7 @@ Before you submit a pull request, check that it meets these guidelines: 2. If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in README.rst. -3. The pull request should work for Python 3.7, 3.8, 3.9 and for PyPy. Check +3. The pull request should work for Python 3.8, 3.9, 3.10, 3.11 and for PyPy. Check https://github.com/jeshraghian/snntorch/actions and make sure that the tests pass for all supported Python versions. diff --git a/tox.ini b/tox.ini index f86f0ac7..15762b85 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,9 @@ [tox] -envlist = py38, py39, py310, flake8 +envlist = py38, py39, py310, py311, flake8 [gh-actions] python = + 3.11: py311 3.10: py310 3.9: py39 3.8: py38