Skip to content

Commit f302dc1

Browse files
authored
Merge pull request #2 from eccenca/feature/upgradePluginBase-CMEM-6741
upgrade dependencies, template + adaptions
2 parents f32b326 + f540cfd commit f302dc1

13 files changed

Lines changed: 1412 additions & 942 deletions

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v7.0.0
2+
_commit: v7.3.0-24-g169e035
33
_src_path: gh:eccenca/cmem-plugin-template
44
author_mail: cmempy-developer@eccenca.com
55
author_name: eccenca GmbH

.github/workflows/check.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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
@@ -57,6 +57,10 @@ jobs:
5757
run: |
5858
task check:pytest
5959
60+
- name: deptry
61+
run: |
62+
task check:deptry
63+
6064
- name: safety
6165
run: |
6266
task check:safety

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

.gitlab-ci.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
default:
3-
image: docker-registry.eccenca.com/eccenca-python:v3.11.4
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,12 @@ 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/*
57+
58+
deptry:
59+
stage: test
60+
script:
61+
- task check:deptry
6062

6163
safety:
6264
stage: test
@@ -69,6 +71,7 @@ build:
6971
- mypy
7072
- pytest
7173
- safety
74+
- deptry
7275
script:
7376
- task build
7477
artifacts:

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.11
1+
3.13

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
1+
<!-- markdownlint-disable MD012 MD013 MD024 MD033 -->
12
# Change Log
23

34
All notable changes to this project will be documented in this file.
45

56
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/)
67

8+
## [1.2.0] 2025-10-15
9+
10+
## Changed
11+
12+
- Update of dependencies and template
13+
- validation of python 3.13 compatibility
14+
- python 3.13 required
15+
16+
717
## [1.1.2] 2024-12-24
818

919
### Changed
1020

1121
- update `Validate Entities` plugin documentation
1222

23+
1324
## [1.1.1] 2024-11-28
1425

1526
### Changed

README-public.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Validate graph and data structures.
44

55
[![eccenca Corporate Memory][cmem-shield]][cmem-link]
66

7-
This is a plugin for [eccenca](https://eccenca.com) [Corporate Memory](https://documentation.eccenca.com). You can install it with the [cmemc](https://eccenca.com/go/cmemc) command line clients like this:
7+
This is a plugin for [eccenca](https://eccenca.com) [Corporate Memory](https://documentation.eccenca.com). You can install it with the [cmemc](https://eccenca.com/go/cmemc) command line client like this:
88

99
```
1010
cmemc admin workspace python install cmem-plugin-validation

Taskfile.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff 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

2729
tasks:
2830

@@ -68,7 +70,6 @@ tasks:
6870
| head -1 | cut -d " " -f 2 | cut -d "." -f 1-2
6971
7072
poetry:install:
71-
internal: true
7273
desc: Install dependencies managed by Poetry
7374
run: once
7475
deps:
@@ -110,6 +111,7 @@ tasks:
110111
cmds:
111112
- task: check:ruff
112113
- task: check:mypy
114+
- task: check:deptry
113115
- task: check:safety
114116

115117
check:pytest:
@@ -157,9 +159,13 @@ tasks:
157159
<<: *preparation
158160
cmds:
159161
# ignore 51358 safety - dev dependency only
160-
# ignore 67599 pip - dev dependency only
161-
# ignore 70612 jinja2 - dev dependency only
162-
- poetry run safety check -i 51358 -i 67599 -i 70612
162+
- poetry run safety check -i 51358
163+
164+
check:deptry:
165+
desc: Complain about unused or missing dependencies
166+
<<: *preparation
167+
cmds:
168+
- poetry run deptry .
163169

164170
check:ruff:
165171
desc: Complain about everything else

poetry.lock

Lines changed: 1322 additions & 816 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,29 @@ keywords = [
1414
homepage = "https://github.com/eccenca/cmem-plugin-validation"
1515

1616
[tool.poetry.dependencies]# if you need to change python version here, change it also in .python-version
17-
python = "^3.11"
18-
jsonschema = "^4.23.0"
17+
python = "^3.13"
18+
jsonschema = "^4.25.1"
19+
cmem-cmempy = ">=25.3.0"
20+
requests = ">=2.0.1"
1921

2022
[tool.poetry.dependencies.cmem-plugin-base]
21-
version = "^4.7.0"
23+
version = "^4.15.0"
2224
allow-prereleases = false
2325

2426
[tool.poetry.group.dev.dependencies.cmem-cmemc]
25-
version = "^24.2.0"
27+
version = ">=24.2.0"
2628

2729
[tool.poetry.group.dev.dependencies]
28-
genbadge = {extras = ["coverage"], version = "^1.1.1"}
29-
mypy = "^1.11.1"
30-
pip = "^24"
31-
pytest = "^8.3.2"
32-
pytest-cov = "^5.0.0"
30+
deptry = "^0.23.1"
31+
genbadge = {extras = ["coverage"], version = "^1.1.2"}
32+
mypy = "^1.18.2"
33+
pip = "^25.2"
34+
pytest = "^8.4.2"
35+
pytest-cov = "^7.0.0"
3336
pytest-dotenv = "^0.5.2"
3437
pytest-html = "^4.1.1"
35-
pytest-memray = { version = "^1.7.0", markers = "platform_system != 'Windows'" }
36-
ruff = "^0.6.1"
38+
pytest-memray = { version = "^1.8.0", markers = "platform_system != 'Windows'" }
39+
ruff = "^0.13.3"
3740
safety = "^1.10.3"
3841
types-requests = "^2.31.0.20240406"
3942

@@ -76,7 +79,6 @@ line-ending = "lf" # Use `\n` line endings for all files
7679
[tool.ruff.lint]
7780
select = ["ALL"]
7881
ignore = [
79-
"ANN101", # Missing type annotation for self in method
8082
"ANN204", # Missing return type annotation for special method `__init__`
8183
"COM812", # missing-trailing-comma
8284
"D107", # Missing docstring in __init__
@@ -94,4 +96,3 @@ ignore = [
9496
"S101", # use of assert detected
9597
"TRY003", # Avoid specifying long messages outside the exception class
9698
]
97-

0 commit comments

Comments
 (0)