Skip to content

Commit

Permalink
remove support for python 3.7, now deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
vemonet committed Nov 28, 2023
1 parent d4aa273 commit 6a7b6d1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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",
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6a7b6d1

Please sign in to comment.