From 42cf95076f64438d6b00d6b0f0d3a3173772f394 Mon Sep 17 00:00:00 2001 From: Miles Wells Date: Thu, 24 Oct 2024 14:39:41 +0300 Subject: [PATCH] Bump python version to >= 3.10 --- .github/workflows/main.yaml | 2 +- CHANGELOG.md | 9 ++++++++- one/__init__.py | 2 +- setup.py | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index ab2945af..bc54bd6b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -16,7 +16,7 @@ jobs: fail-fast: false # Whether to stop execution of other instances max-parallel: 2 matrix: - python-version: ["3.8", "3.11"] + python-version: ["3.10", "3.13"] os: ["ubuntu-latest", "windows-latest"] # , "macos-latest" steps: - uses: actions/checkout@v2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 587853d6..6c317aeb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog -## [Latest](https://github.com/int-brain-lab/ONE/commits/main) [2.10.0] +## [Latest](https://github.com/int-brain-lab/ONE/commits/main) [3.0.0] +This version drops support for python 3.9 and below, and ONE is now in remote mode by default. + +### Modified + +- Supports python >= 3.10 only + +## [2.10.0] This version improves behaviour of loading revisions and loading datasets from list_datasets output. ### Modified diff --git a/one/__init__.py b/one/__init__.py index 07a5d384..f6354797 100644 --- a/one/__init__.py +++ b/one/__init__.py @@ -1,2 +1,2 @@ """The Open Neurophysiology Environment (ONE) API.""" -__version__ = '2.10.0' +__version__ = '3.0.0' diff --git a/setup.py b/setup.py index 3750d929..84f1cc89 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ CURRENT_DIRECTORY = Path(__file__).parent.absolute() CURRENT_PYTHON = sys.version_info[:2] -REQUIRED_PYTHON = (3, 7) +REQUIRED_PYTHON = (3, 10) if CURRENT_PYTHON < REQUIRED_PYTHON: sys.stderr.write(""" ==========================