From ecafe5fc40cab6d952054ec4af7cfdda1d3f23e8 Mon Sep 17 00:00:00 2001 From: Isaac Virshup Date: Wed, 17 Nov 2021 16:45:38 +0100 Subject: [PATCH] Bump minimum python version to 3.7 (#649) --- .azure-pipelines.yml | 12 ++++++------ pyproject.toml | 5 ++--- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index d7d7de930..be36b9a33 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -11,11 +11,11 @@ jobs: vmImage: 'ubuntu-18.04' strategy: matrix: - Python38: - python.version: '3.8' + Python39: + python.version: '3.9' RUN_COVERAGE: yes - Python36: - python.version: '3.6' + Python37: + python.version: '3.7' steps: - task: UsePythonVersion@0 inputs: @@ -75,8 +75,8 @@ jobs: - task: UsePythonVersion@0 inputs: - versionSpec: '3.8' - displayName: 'Use Python 3.8' + versionSpec: '3.9' + displayName: 'Use Python 3.9' - script: | python -m pip install --upgrade pip diff --git a/pyproject.toml b/pyproject.toml index 7845737be..99a0076f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ requires = [ [project] name = "anndata" description = "Annotated data." -requires-python = ">=3.6" +requires-python = ">=3.7" license = {file = "LICENSE"} authors = [ {name = "Philipp Angerer"}, @@ -34,7 +34,6 @@ classifiers = [ "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", @@ -112,5 +111,5 @@ xfail_strict = true [tool.black] line-length = 88 -target-version = ["py36"] +target-version = ["py37"] exclude = "^/build/.*$"