diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e71834f..cc67ca8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,7 +40,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.12"] + python-version: ["3.10", "3.12"] runs-on: [ubuntu-latest, macos-latest, windows-latest] steps: diff --git a/idc_index/index.py b/idc_index/index.py index dfef66a..9aaf111 100644 --- a/idc_index/index.py +++ b/idc_index/index.py @@ -9,9 +9,9 @@ import subprocess import tempfile import time +from collections.abc import Callable from importlib.metadata import distribution, version from pathlib import Path -from typing import Callable import duckdb import idc_index_data diff --git a/pyproject.toml b/pyproject.toml index 45015e2..1912d8c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ authors = [ description = "Package to query and download data from an index of ImagingDataCommons" readme = "README.md" license.file = "LICENSE" -requires-python = ">=3.8" +requires-python = ">=3.10" classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", @@ -22,8 +22,6 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -111,7 +109,7 @@ report.exclude_also = [ [tool.mypy] files = ["idc_index", "tests"] -python_version = "3.8" +python_version = "3.10" warn_unused_configs = true strict = true enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] @@ -220,7 +218,7 @@ convention = "google" [tool.pylint] -py-version = "3.8" +py-version = "3.10" ignore-paths = [".*/_version.py"] reports.output-format = "colorized" similarities.ignore-imports = "yes"