From 5295fd6cfec36d6c3a0bf9d5f902ca0126622506 Mon Sep 17 00:00:00 2001 From: Phil Schaf Date: Thu, 31 Aug 2023 16:22:00 +0200 Subject: [PATCH] Test auto update --- .azure-pipelines.yml | 4 ++-- docs/release-notes/0.10.0.md | 2 ++ pyproject.toml | 8 ++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index c3d9e6c23..4bd5feae1 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -16,8 +16,8 @@ jobs: Python3.11: python.version: "3.11" RUN_COVERAGE: yes - Python3.8: - python.version: "3.8" + Python3.9: + python.version: "3.9" PreRelease: python.version: "3.11" PRERELEASE_DEPENDENCIES: yes diff --git a/docs/release-notes/0.10.0.md b/docs/release-notes/0.10.0.md index 933994191..f37b37d21 100644 --- a/docs/release-notes/0.10.0.md +++ b/docs/release-notes/0.10.0.md @@ -24,6 +24,8 @@ ```{rubric} Other updates ``` +- Bump minimum python version to 3.8 {pr}`820` {user}`flying-sheep` + ```{rubric} Deprecations ``` diff --git a/pyproject.toml b/pyproject.toml index 41682d2aa..6009b01a0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires = ["hatchling", "hatch-vcs"] [project] name = "anndata" description = "Annotated data." -requires-python = ">=3.8" +requires-python = ">=3.9" license = "BSD-3-Clause" authors = [ {name = "Philipp Angerer"}, @@ -29,7 +29,6 @@ classifiers = [ "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -139,10 +138,15 @@ select = [ "E", "F", "W", + "UP", + "I", ] [tool.ruff.per-file-ignores] # E721 comparing types, but we specifically are checking that we aren't getting subtypes (views) "anndata/tests/test_readwrite.py" = ["E721"] +[tool.ruff.isort] +known-first-party = ["anndata"] +required-imports = ["from __future__ import annotations"] [tool.codespell] skip = ".git,*.pdf,*.svg"