From 9e6bdf6f8b67b9993ab77879cbee6b5db1eaf890 Mon Sep 17 00:00:00 2001 From: "Julio A. Peraza" <52050407+JulioAPeraza@users.noreply.github.com> Date: Wed, 10 Apr 2024 21:35:46 -0400 Subject: [PATCH] Support Python 3.11 (#119) * Support Python 3.11 and 3.12 * fix distutils deprecation error in Python 3.12 * Update pyproject.toml * Drop 3.12 * Update pyproject.toml --- .github/workflows/testing.yml | 2 +- docs/installation.rst | 2 +- pyproject.toml | 4 ++-- setup.cfg | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 3713442..c792186 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -39,7 +39,7 @@ jobs: fail-fast: false matrix: os: ["ubuntu-latest", "macos-latest"] - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11"] name: ${{ matrix.os }} with Python ${{ matrix.python-version }} defaults: diff --git a/docs/installation.rst b/docs/installation.rst index a067783..ffb58fe 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -15,5 +15,5 @@ If you want to use the most up-to-date version, you can install from the ``maste pip install git+https://github.com/neurostuff/PyMARE.git -PyMARE requires Python >=3.6 and a number of packages. +PyMARE requires Python >=3.8 and a number of packages. For a complete list, please see ``setup.cfg``. diff --git a/pyproject.toml b/pyproject.toml index 5d14b1a..abefdaf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,9 @@ [build-system] -requires = ["setuptools==58.2.0", "wheel"] +requires = ["setuptools==68.2.2", "wheel"] [tool.black] line-length = 99 -target-version = ["py37"] +target-version = ["py39"] include = '\.pyi?$' exclude = ''' diff --git a/setup.cfg b/setup.cfg index 276eabe..aa9bbd0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,6 +31,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: Scientific/Engineering [options]