File tree Expand file tree Collapse file tree 8 files changed +736
-609
lines changed
Expand file tree Collapse file tree 8 files changed +736
-609
lines changed Original file line number Diff line number Diff line change 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
44author_mail : cmempy-developer@eccenca.com
55author_name : eccenca GmbH
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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+
6166safety :
6267 stage : test
6368 script :
Original file line number Diff line number Diff line change @@ -5,7 +5,14 @@ All notable changes to this project will be documented in this file.
55
66The 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
Original file line number Diff line number Diff 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```
1010cmemc admin workspace python install cmem-plugin-python
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
1818python = " ^3.11"
19+ cmem_cmempy = " ^25.3.0"
1920pydantic = " ^2.11.4"
2021
2122[tool .poetry .dependencies .cmem-plugin-base ]
22- version = " ^4.8.0 "
23+ version = " ^4.12.1 "
2324allow-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"
3436pytest-dotenv = " ^0.5.2"
3537pytest-html = " ^4.1.1"
3638pytest-memray = { version = " ^1.7.0" , markers = " platform_system != 'Windows'" }
37- ruff = " ^0.9.4 "
39+ ruff = " ^0.12.0 "
3840safety = " ^1.10.3"
3941types-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-
You can’t perform that action at this time.
0 commit comments