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 728c201 + 50dd399 commit 4632262Copy full SHA for 4632262
.github/workflows/python.yml
@@ -43,7 +43,7 @@ jobs:
43
strategy:
44
matrix:
45
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest]
46
- python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"]
+ python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
47
openslide: [system, wheel]
48
include:
49
- os: ubuntu-latest
@@ -158,7 +158,7 @@ jobs:
158
shell: bash
159
160
161
162
openslide: [zip, wheel]
163
steps:
164
- 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: ["--py38-plus"]
+ args: ["--py39-plus"]
24
25
- repo: https://github.com/PyCQA/isort
26
rev: 6.0.1
README.md
@@ -41,7 +41,7 @@ OpenSlide can read virtual slides in several formats:
41
42
## Requirements
-* Python ≥ 3.8
+* Python ≥ 3.9
* OpenSlide ≥ 3.4.0
* Pillow
examples/deepzoom/deepzoom_server.py
@@ -22,12 +22,12 @@
from argparse import ArgumentParser
import base64
-from collections.abc import Callable
+from collections.abc import Callable, Mapping
from io import BytesIO
27
import os
28
from pathlib import Path
29
import re
30
-from typing import TYPE_CHECKING, Any, Literal, Mapping
+from typing import TYPE_CHECKING, Any, Literal
31
from unicodedata import normalize
32
import zlib
33
openslide/__init__.py
@@ -25,9 +25,10 @@
from __future__ import annotations
from abc import ABCMeta, abstractmethod
+from collections.abc import Iterator, Mapping
from types import TracebackType
-from typing import Iterator, Literal, Mapping, TypeVar
+from typing import Literal, TypeVar
from PIL import Image, ImageCms
34
pyproject.toml
@@ -18,7 +18,6 @@ classifiers = [
18
"Operating System :: POSIX :: Linux",
19
"Programming Language :: Python",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
@@ -27,7 +26,7 @@ classifiers = [
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Typing :: Typed",
]
-requires-python = ">= 3.8"
+requires-python = ">= 3.9"
dependencies = ["Pillow"]
dynamic = ["version"]
@@ -49,7 +48,7 @@ openslide = ["py.typed", "*.pyi"]
50
[tool.black]
51
skip-string-normalization = true
52
-target-version = ["py38", "py39", "py310", "py311", "py312", "py313"]
+target-version = ["py39", "py310", "py311", "py312", "py313"]
53
54
# Ref: https://github.com/codespell-project/codespell#using-a-config-file
55
[tool.codespell]
0 commit comments