Skip to content

Commit 0841816

Browse files
Merge pull request #380 from ds-wizard/release/4.29.0
Release 4.29.0
2 parents 107dd95 + 3977606 commit 0841816

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+622
-930
lines changed

.github/workflows/code-style.yml

Lines changed: 0 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -4,150 +4,6 @@ on:
44
push:
55

66
jobs:
7-
# Flake 8 for basic code style checks
8-
flake8:
9-
name: Flake 8
10-
runs-on: ubuntu-latest
11-
12-
steps:
13-
- name: Check out repository
14-
uses: actions/checkout@v6
15-
16-
- name: Set up Python
17-
uses: actions/setup-python@v6
18-
with:
19-
python-version: 3.13
20-
cache: pip
21-
cache-dependency-path: |
22-
**/pyproject.toml
23-
**/requirements*.txt
24-
25-
- name: Create build info
26-
run: |
27-
bash scripts/build-info.sh
28-
29-
- name: Install Flake8 (7.3.0)
30-
run: |
31-
python -m pip install --upgrade pip
32-
pip install flake8==7.3.0
33-
34-
- name: Install dependencies
35-
run: |
36-
ROOT=$(pwd)
37-
for package in $(ls packages); do
38-
echo "-------------------------------------------------"
39-
echo "- $package"
40-
echo "-------------------------------------------------"
41-
cd "$ROOT/packages/$package"
42-
pip install -r requirements.txt
43-
make local-deps
44-
echo "================================================="
45-
done
46-
47-
- name: Install package
48-
run: |
49-
for package in $(ls packages); do
50-
echo "-------------------------------------------------"
51-
echo "- $package"
52-
echo "-------------------------------------------------"
53-
pip install packages/$package
54-
rm -rf packages/$package/build
55-
echo "================================================="
56-
done
57-
58-
- name: Lint with flake8
59-
run: |
60-
flake8 packages --count --select=E9,F63,F7,F82 --show-source --statistics
61-
flake8 packages --count --max-complexity=12 --max-line-length=130 --statistics
62-
63-
# Consistency of version tagging
64-
version:
65-
name: Version consts.py
66-
runs-on: ubuntu-latest
67-
68-
steps:
69-
- name: Check out repository
70-
uses: actions/checkout@v6
71-
72-
- name: Check dsw-data-seeder
73-
run: |
74-
bash scripts/check-version.sh \
75-
packages/dsw-data-seeder/dsw/data_seeder/consts.py \
76-
packages/dsw-data-seeder/pyproject.toml
77-
78-
- name: Check dsw-document-worker
79-
run: |
80-
bash scripts/check-version.sh \
81-
packages/dsw-document-worker/dsw/document_worker/consts.py \
82-
packages/dsw-document-worker/pyproject.toml
83-
84-
- name: Check dsw-mailer
85-
run: |
86-
bash scripts/check-version.sh \
87-
packages/dsw-mailer/dsw/mailer/consts.py \
88-
packages/dsw-mailer/pyproject.toml
89-
90-
- name: Check dsw-tdk
91-
run: |
92-
bash scripts/check-version.sh \
93-
packages/dsw-tdk/dsw/tdk/consts.py \
94-
packages/dsw-tdk/pyproject.toml
95-
96-
# Pylint
97-
pylint:
98-
name: Pylint
99-
runs-on: ubuntu-latest
100-
101-
steps:
102-
- name: Check out repository
103-
uses: actions/checkout@v6
104-
105-
- name: Set up Python
106-
uses: actions/setup-python@v6
107-
with:
108-
python-version: 3.13
109-
cache: pip
110-
cache-dependency-path: |
111-
**/pyproject.toml
112-
**/requirements*.txt
113-
114-
- name: Create build info
115-
run: |
116-
bash scripts/build-info.sh
117-
118-
- name: Install PyLint (3.3.7)
119-
run: |
120-
python -m pip install --upgrade pip
121-
pip install pylint==3.3.7
122-
123-
- name: Install dependencies
124-
run: |
125-
ROOT=$(pwd)
126-
for package in $(ls packages); do
127-
echo "-------------------------------------------------"
128-
echo "- $package"
129-
echo "-------------------------------------------------"
130-
cd "$ROOT/packages/$package"
131-
pip install -r requirements.txt
132-
make local-deps
133-
echo "================================================="
134-
done
135-
136-
- name: Install packages
137-
run: |
138-
for package in $(ls packages); do
139-
echo "-------------------------------------------------"
140-
echo "- $package"
141-
echo "-------------------------------------------------"
142-
pip install packages/$package
143-
rm -rf packages/$package/build
144-
echo "================================================="
145-
done
146-
147-
- name: Lint with PyLint
148-
run: |
149-
pylint --rcfile=.pylintrc.ini packages/*/dsw
150-
1517
# CSpell
1528
cspell:
1539
name: CSpell

Makefile

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,6 @@ install:
1515
dev-install:
1616
pip install -r requirements.dev.txt
1717

18-
.PHONY: code-style
19-
code-style:
20-
flake8 \
21-
--count
22-
--max-complexity=12
23-
--max-line-length=130
24-
--statistics \
25-
packages
26-
27-
.PHONY: lint
28-
lint:
29-
pylint \
30-
--rcfile=.pylintrc.ini \
31-
--recursive y \
32-
--verbose \
33-
packages/*/dsw
34-
3518
.PHONY: spelling
3619
spelling:
3720
cspell \
@@ -45,10 +28,10 @@ spelling:
4528
packages/**/*.yml \
4629
packages/**/*.yaml
4730

31+
.PHONY: lint
32+
lint:
33+
uv run ruff check
34+
4835
.PHONY: type-check
4936
type-check:
50-
mypy \
51-
--install-types \
52-
--check-untyped-defs \
53-
--non-interactive \
54-
packages/*/dsw
37+
uv run ty check

packages/dsw-command-queue/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88
## [Unreleased]
99

1010

11+
## [4.29.0]
12+
13+
Released for version consistency with other DSW tools.
14+
1115
## [4.28.4]
1216

1317
Released for version consistency with other DSW tools.
@@ -446,3 +450,4 @@ Released for version consistency with other DSW tools.
446450
[4.28.2]: /../../tree/v4.28.2
447451
[4.28.3]: /../../tree/v4.28.3
448452
[4.28.4]: /../../tree/v4.28.4
453+
[4.29.0]: /../../tree/v4.29.0

packages/dsw-command-queue/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dsw-command-queue"
3-
version = "4.28.4"
3+
version = "4.29.0"
44
description = "Library for working with command queue and persistent commands"
55
readme = "README.md"
66
keywords = ["dsw", "subscriber", "publisher", "database", "queue", "processing"]
@@ -23,7 +23,7 @@ dependencies = [
2323
"func-timeout",
2424
"tenacity",
2525
# DSW
26-
"dsw-database==4.28.4",
26+
"dsw-database==4.29.0",
2727
]
2828

2929
[project.urls]

packages/dsw-config/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88
## [Unreleased]
99

1010

11+
## [4.29.0]
12+
13+
Released for version consistency with other DSW tools.
14+
1115
## [4.28.4]
1216

1317
Released for version consistency with other DSW tools.
@@ -453,3 +457,4 @@ Released for version consistency with other DSW tools.
453457
[4.28.2]: /../../tree/v4.28.2
454458
[4.28.3]: /../../tree/v4.28.3
455459
[4.28.4]: /../../tree/v4.28.4
460+
[4.29.0]: /../../tree/v4.29.0

packages/dsw-config/dsw/config/keys.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# pylint: disable=too-few-public-methods
21
import collections
32
import typing
43

@@ -70,7 +69,6 @@ def __str__(self):
7069
class ConfigKeysMeta(type):
7170

7271
@classmethod
73-
# pylint: disable-next=unused-argument
7472
def __prepare__(mcs, name: str, bases: tuple,
7573
/, **kwargs) -> collections.abc.MutableMapping[str, object]:
7674
return collections.OrderedDict()

packages/dsw-config/dsw/config/logging.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def __init__(self, *args, **kwargs):
2828

2929

3030
def prepare_logging(logging_cfg):
31-
# pylint: disable-next=no-member
3231
logger_dict = logging.root.manager.loggerDict
3332
if logging_cfg.dict_config is not None:
3433
logging.config.dictConfig(logging_cfg.dict_config)

packages/dsw-config/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dsw-config"
3-
version = "4.28.4"
3+
version = "4.29.0"
44
description = "Library for DSW config manipulation"
55
readme = "README.md"
66
keywords = ["dsw", "config", "yaml", "parser"]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
certifi==2026.1.4
1+
certifi==2026.2.25
22
PyYAML==6.0.3
3-
sentry-sdk==2.53.0
3+
sentry-sdk==2.55.0
44
urllib3==2.6.3

packages/dsw-data-seeder/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88
## [Unreleased]
99

1010

11+
## [4.29.0]
12+
13+
Released for version consistency with other DSW tools.
14+
1115
## [4.28.4]
1216

1317
Released for version consistency with other DSW tools.
@@ -522,3 +526,4 @@ Released for version consistency with other DSW tools.
522526
[4.28.2]: /../../tree/v4.28.2
523527
[4.28.3]: /../../tree/v4.28.3
524528
[4.28.4]: /../../tree/v4.28.4
529+
[4.29.0]: /../../tree/v4.29.0

0 commit comments

Comments
 (0)