We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f5168b + 81000fe commit 3d934f0Copy full SHA for 3d934f0
.github/workflows/python.yml
@@ -50,7 +50,7 @@ jobs:
50
strategy:
51
matrix:
52
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
53
- python-version: [3.9, "3.10", "3.11", "3.12", "3.13", "3.14"]
+ python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
54
openslide: [system, wheel]
55
include:
56
- os: ubuntu-latest
@@ -165,7 +165,7 @@ jobs:
165
shell: bash
166
167
168
169
openslide: [zip, wheel]
170
steps:
171
- name: Check out repo
.pre-commit-config.yaml
@@ -20,7 +20,7 @@ repos:
20
hooks:
21
- id: pyupgrade
22
name: Modernize python code
23
- args: ["--py39-plus"]
+ args: ["--py310-plus"]
24
25
- repo: https://github.com/PyCQA/isort
26
rev: 7.0.0
README.md
@@ -41,7 +41,7 @@ OpenSlide can read virtual slides in several formats:
41
42
## Requirements
43
44
-* Python ≥ 3.9
+* Python ≥ 3.10
45
* OpenSlide ≥ 3.4.0
46
* Pillow
47
openslide/lowlevel.py
@@ -31,6 +31,7 @@
31
32
from __future__ import annotations
33
34
+from collections.abc import Callable
35
from ctypes import (
36
CDLL,
37
POINTER,
@@ -49,7 +50,7 @@
49
from itertools import count
import os
import platform
-from typing import TYPE_CHECKING, Any, Callable, Protocol, TypeVar, cast
+from typing import TYPE_CHECKING, Any, Protocol, TypeVar, cast
from PIL import Image
pyproject.toml
@@ -18,7 +18,6 @@ classifiers = [
18
"Operating System :: POSIX :: Linux",
19
"Programming Language :: Python",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
@@ -27,7 +26,7 @@ classifiers = [
27
"Topic :: Scientific/Engineering :: Bio-Informatics",
28
"Typing :: Typed",
29
]
30
-requires-python = ">= 3.9"
+requires-python = ">= 3.10"
dependencies = ["Pillow"]
dynamic = ["version"]
@@ -52,7 +51,7 @@ openslide = ["py.typed", "*.pyi"]
[tool.black]
skip-string-normalization = true
-target-version = ["py39", "py310", "py311", "py312", "py313", "py314"]
+target-version = ["py310", "py311", "py312", "py313", "py314"]
57
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
58
[tool.codespell]
0 commit comments