File tree Expand file tree Collapse file tree 10 files changed +782
-655
lines changed
Expand file tree Collapse file tree 10 files changed +782
-655
lines changed Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier
2- _commit : v7.2 .0-5-g30b73b4
2+ _commit : v7.3 .0-22-g87d8a9b
33_src_path : gh:eccenca/cmem-plugin-template
44author_mail : cmempy-developer@eccenca.com
55author_name : eccenca GmbH
Original file line number Diff line number Diff line change @@ -20,16 +20,16 @@ jobs:
2020
2121 steps :
2222 - name : Check out repository
23- uses : actions/checkout@v4
23+ uses : actions/checkout@v5
2424
2525 - name : Install Task
2626 uses : arduino/setup-task@v2
2727
2828 - name : Set up python
2929 id : setup-python
30- uses : actions/setup-python@v5
30+ uses : actions/setup-python@v6
3131 with :
32- python-version : ' 3.11 '
32+ python-version : ' 3.13 '
3333
3434 - name : Install and configure poetry
3535 uses : snok/install-poetry@v1
Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ jobs:
1717
1818 steps :
1919 - name : Check out repository
20- uses : actions/checkout@v4
20+ uses : actions/checkout@v5
2121
2222 - name : Install Task
2323 uses : arduino/setup-task@v2
2424
2525 - name : Set up python
2626 id : setup-python
27- uses : actions/setup-python@v5
27+ uses : actions/setup-python@v6
2828 with :
29- python-version : ' 3.11 '
29+ python-version : ' 3.13 '
3030
3131 - name : Install and configure poetry
3232 uses : snok/install-poetry@v1
Original file line number Diff line number Diff line change 11---
22default :
3- image : docker-registry.eccenca.com/eccenca-python:v3.11.9-2
3+ image : docker-registry.eccenca.com/eccenca-python:v3.13.8
44 # all jobs can be interrupted in case a new commit is pushed
55 interruptible : true
66 before_script :
@@ -53,10 +53,7 @@ pytest:
5353 junit :
5454 - dist/junit-pytest.xml
5555 paths :
56- - dist/badge-coverage.svg
57- - dist/badge-tests.svg
58- - dist/coverage
59- - dist/coverage.xml
56+ - dist/*
6057
6158deptry :
6259 stage : test
7471 - mypy
7572 - pytest
7673 - safety
74+ - deptry
7775 script :
7876 - task build
7977 artifacts :
Original file line number Diff line number Diff line change 1- 3.11
1+ 3.13
Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ ) and this project adheres to [ Semantic Versioning] ( https://semver.org/ )
66
7+ ## [ Unreleased]
8+
9+ ### Changed
10+
11+ - update template and adjust tests accordingly
12+ - ensure python 3.13 compatability
13+ - python 3.13 required
14+
715## [ 4.1.0] 2025-07-17
816
917### Changed
Original file line number Diff line number Diff line change @@ -20,9 +20,11 @@ includes:
2020 custom :
2121 taskfile : ./TaskfileCustom.yaml
2222 optional : true
23+ flatten : true
2324 plugin :
2425 taskfile : .tasks-plugin.yml
2526 optional : true
27+ flatten : true
2628
2729tasks :
2830
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ keywords = [
1515homepage = " https://github.com/eccenca/cmem-plugin-shapes"
1616
1717[tool .poetry .dependencies ]# if you need to change python version here, change it also in .python-version
18- python = " ^3.11 "
18+ python = " ^3.13 "
1919validators = " ^0.35.0"
2020rdflib = " ^7.1.4"
2121cmem-cmempy = " ^25"
@@ -28,16 +28,16 @@ allow-prereleases = false
2828version = " ^25.3.0"
2929
3030[tool .poetry .group .dev .dependencies ]
31- deptry = " ^0.23.0 "
31+ deptry = " ^0.23.1 "
3232genbadge = {extras = [" coverage" ], version = " ^1.1.2" }
33- mypy = " ^1.16.1 "
34- pip = " ^25.1.1 "
35- pytest = " ^8.4.1 "
36- pytest-cov = " ^6.2.1 "
33+ mypy = " ^1.18.2 "
34+ pip = " ^25.2 "
35+ pytest = " ^8.4.2 "
36+ pytest-cov = " ^7.0.0 "
3737pytest-dotenv = " ^0.5.2"
3838pytest-html = " ^4.1.1"
39- pytest-memray = { version = " ^1.7 .0" , markers = " platform_system != 'Windows'" }
40- ruff = " ^0.12.0 "
39+ pytest-memray = { version = " ^1.8 .0" , markers = " platform_system != 'Windows'" }
40+ ruff = " ^0.13.3 "
4141safety = " ^1.10.3"
4242
4343[build-system ]
Original file line number Diff line number Diff line change 2626from tests .cmemc_command_utils import run , run_without_assertion
2727
2828DATETIME_PATTERN = re .compile (
29- r'^"[1-9][0-9]{3}-[0-1] [1-9]-[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9].[0-9]{3}Z"\^\^'
29+ r'^"[1-9][0-9]{3}-(0 [1-9]|1[0-2]) -[0-3][0-9]T[0-2][0-9]:[0-5][0-9]:[0-5][0-9].[0-9]{3}Z"\^\^'
3030 "<http://www.w3.org/2001/XMLSchema#dateTime>"
3131)
3232
@@ -124,7 +124,7 @@ def test_workflow_execution(graph_setup: GraphSetupFixture) -> None:
124124 test = Graph ().parse (f"{ FIXTURE_DIR } /test_shapes.ttl" )
125125 assert isomorphic (result_graph , test )
126126 with pytest .raises (
127- ValueError , match = "Graph <http://docker.localhost/my-persons-shapes> already exists."
127+ ValueError , match = r "Graph <http://docker.localhost/my-persons-shapes> already exists."
128128 ):
129129 ShapesPlugin (
130130 data_graph_iri = graph_setup .dataset_iri ,
You can’t perform that action at this time.
0 commit comments