Skip to content

Commit

Permalink
Remove Python 3.8 support, bump OWL-RL to newest version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleysommer committed Nov 1, 2024
1 parent c992727 commit d7241ca
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 99 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
strategy:
matrix:
python-version:
- '3.8'
- '3.9'
- '3.10'
- '3.11'
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,8 @@ celerybeat-schedule
# Environments
.env
.venv/
.venv38/
.venv39/
.venv311/
env/
venv/
ENV/
Expand Down
56 changes: 0 additions & 56 deletions .travis.yml

This file was deleted.

61 changes: 28 additions & 33 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 6 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
[project]
name = "pyshacl"
# Black and Ruff both now read target-version from [project.requires-python]
requires-python = ">=3.8.1"
requires-python = ">=3.9"

[tool.poetry]
name = "pyshacl"
Expand Down Expand Up @@ -60,11 +60,10 @@ include = [
]

[tool.poetry.dependencies]
python = "^3.8.1" # Poetry doesn't read from [project.requires-python]
# Note, 3.8.0 is not supported, only 3.8.1 or above. See:
# https://github.com/RDFLib/rdflib/blob/3bee979cd0e5b6efc57296b4fc43dd8ede8cf375/CHANGELOG.md?plain=1#L53
rdflib = {version=">=6.3.2,<8.0", python = ">=3.8.1", extras=["html"]}
owlrl = ">=6.0.2,<7"
# The <4 is reauired for compatiblity with OWL-RL that requdires Python <4
python = ">=3.9,<4" # Poetry doesn't read from [project.requires-python]
rdflib = {version=">=7.1.1,<8.0", extras=["html"]}
owlrl = ">=7.1.2,<8"
prettytable = [
{version=">=3.5.0", python = ">=3.8,<3.12"},
{version=">=3.7.0", python = ">=3.12"}
Expand Down Expand Up @@ -206,7 +205,7 @@ testpaths = [
legacy_tox_ini = """
[tox]
skipsdist = true
envlist = py38, py39, py310, py311, py312, lint, type-checking
envlist = py39, py310, py311, py312, lint, type-checking
toxworkdir={env:TOX_WORK_DIR:.tox}
[testenv]
Expand Down Expand Up @@ -259,6 +258,5 @@ python =
3.11 = py311
3.10 = py310
3.9 = py39
3.8 = py38
"""

0 comments on commit d7241ca

Please sign in to comment.