diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8113f61..653dbe3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fda1155..5dc7083 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - id: trailing-whitespace name: " ✂️ Trim trailing whitespaces" - repo: https://github.com/psf/black - rev: 23.9.0 # Newer versions requires py3.8 + rev: 23.11.0 hooks: - id: black name: " ✒️ Formatting code with Black" diff --git a/README.md b/README.md index b2546c0..686b127 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Built with [RDFLib](https://github.com/RDFLib/rdflib) and [FastAPI](https://fast ## 📦️ Installation -This package requires Python >=3.7, install it from [PyPI](https://pypi.org/project/rdflib-endpoint/) with: +This package requires Python >=3.8, install it from [PyPI](https://pypi.org/project/rdflib-endpoint/) with: ```shell pip install rdflib-endpoint diff --git a/pyproject.toml b/pyproject.toml index 977111f..9901edf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["hatchling"] build-backend = "hatchling.build" [project] -requires-python = ">=3.7" +requires-python = ">=3.8" name = "rdflib-endpoint" description = "A package to deploy SPARQL endpoint to serve local RDF files, machine learning models, or any other logic implemented in Python, using RDFLib and FastAPI." readme = "README.md" @@ -25,7 +25,6 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -109,7 +108,7 @@ cov = [ [[tool.hatch.envs.all.matrix]] -python = ["3.7", "3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11", "3.12"] # TOOLS @@ -162,14 +161,14 @@ disallow_untyped_calls = false # needed due to _eval() not being typed in rdflib [tool.black] color = true line-length = 120 -target-version = ['py37'] +target-version = ['py38'] skip-string-normalization = false # https://beta.ruff.rs/docs/rules [tool.ruff] src = ["src", "tests"] -target-version = "py37" +target-version = "py38" line-length = 120 select = [ "I", # isort