Skip to content

Commit 0771e78

Browse files
committed
upgades and fix dependency specification
1 parent 924422e commit 0771e78

File tree

8 files changed

+736
-609
lines changed

8 files changed

+736
-609
lines changed

.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.1.0
2+
_commit: v7.3.0
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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

.gitlab-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ pytest:
5858
- dist/coverage
5959
- dist/coverage.xml
6060

61+
deptry:
62+
stage: test
63+
script:
64+
- task check:deptry
65+
6166
safety:
6267
stage: test
6368
script:

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,14 @@ All notable changes to this project will be documented in this file.
55

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

8-
## [1.2.0] 2025-05-12
8+
## [1.2.1] 2025-09-18
9+
10+
### Fixed
11+
12+
- cmem-plugin-base dependency specification
13+
14+
15+
## [1.2.0] 2025-05-12 - Yanked
916

1017
### Added
1118

README-public.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Write ad-hoc transformations and workflow tasks with Python.
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-python

Taskfile.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ tasks:
6868
| head -1 | cut -d " " -f 2 | cut -d "." -f 1-2
6969
7070
poetry:install:
71-
internal: true
7271
desc: Install dependencies managed by Poetry
7372
run: once
7473
deps:
@@ -110,6 +109,7 @@ tasks:
110109
cmds:
111110
- task: check:ruff
112111
- task: check:mypy
112+
- task: check:deptry
113113
- task: check:safety
114114

115115
check:pytest:
@@ -159,6 +159,12 @@ tasks:
159159
# ignore 51358 safety - dev dependency only
160160
- poetry run safety check -i 51358
161161

162+
check:deptry:
163+
desc: Complain about unused or missing dependencies
164+
<<: *preparation
165+
cmds:
166+
- poetry run deptry .
167+
162168
check:ruff:
163169
desc: Complain about everything else
164170
<<: *preparation

poetry.lock

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

pyproject.toml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,27 @@ homepage = "https://github.com/eccenca/cmem-plugin-python"
1616
[tool.poetry.dependencies]
1717
# if you need to change python version here, change it also in .python-version
1818
python = "^3.11"
19+
cmem_cmempy = "^25.3.0"
1920
pydantic = "^2.11.4"
2021

2122
[tool.poetry.dependencies.cmem-plugin-base]
22-
version = "^4.8.0"
23+
version = "^4.12.1"
2324
allow-prereleases = false
2425

2526
[tool.poetry.group.dev.dependencies.cmem-cmemc]
26-
version = "^24.3.0"
27+
version = "^25.3.0"
2728

2829
[tool.poetry.group.dev.dependencies]
29-
genbadge = {extras = ["coverage"], version = "^1.1.1"}
30-
mypy = "^1.14.1"
31-
pip = "^25.0"
32-
pytest = "^8.3.4"
33-
pytest-cov = "^6.0.0"
30+
deptry = "^0.23.0"
31+
genbadge = {extras = ["coverage"], version = "^1.1.2"}
32+
mypy = "^1.16.1"
33+
pip = "^25.1.1"
34+
pytest = "^8.4.1"
35+
pytest-cov = "^6.2.1"
3436
pytest-dotenv = "^0.5.2"
3537
pytest-html = "^4.1.1"
3638
pytest-memray = { version = "^1.7.0", markers = "platform_system != 'Windows'" }
37-
ruff = "^0.9.4"
39+
ruff = "^0.12.0"
3840
safety = "^1.10.3"
3941
types-requests = "^2.31.0.10"
4042

@@ -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)