dsw-tdk 4.20.1__tar.gz → 4.21.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/CHANGELOG.md +10 -0
  2. {dsw_tdk-4.20.1/dsw_tdk.egg-info → dsw_tdk-4.21.1}/PKG-INFO +2 -1
  3. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/api_client.py +7 -1
  4. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/build_info.py +4 -4
  5. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/consts.py +1 -1
  6. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1/dsw_tdk.egg-info}/PKG-INFO +2 -1
  7. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/pyproject.toml +2 -1
  8. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/LICENSE +0 -0
  9. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/MANIFEST.in +0 -0
  10. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/README.md +0 -0
  11. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/__init__.py +0 -0
  12. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/__main__.py +0 -0
  13. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/cli.py +0 -0
  14. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/core.py +0 -0
  15. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/model.py +0 -0
  16. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/templates/LICENSE.j2 +0 -0
  17. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/templates/README.md.j2 +0 -0
  18. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/templates/env.j2 +0 -0
  19. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/templates/starter.j2 +0 -0
  20. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/utils.py +0 -0
  21. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw/tdk/validation.py +0 -0
  22. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw_tdk.egg-info/SOURCES.txt +0 -0
  23. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw_tdk.egg-info/dependency_links.txt +0 -0
  24. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw_tdk.egg-info/entry_points.txt +0 -0
  25. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw_tdk.egg-info/not-zip-safe +0 -0
  26. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw_tdk.egg-info/requires.txt +0 -0
  27. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/dsw_tdk.egg-info/top_level.txt +0 -0
  28. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/setup.cfg +0 -0
  29. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/setup.py +0 -0
  30. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/tests/test_basic.py +0 -0
  31. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/tests/test_cmd_dot-env.py +0 -0
  32. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/tests/test_cmd_get.py +0 -0
  33. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/tests/test_cmd_list.py +0 -0
  34. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/tests/test_cmd_new.py +0 -0
  35. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/tests/test_cmd_package.py +0 -0
  36. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/tests/test_cmd_put.py +0 -0
  37. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/tests/test_cmd_unpackage.py +0 -0
  38. {dsw_tdk-4.20.1 → dsw_tdk-4.21.1}/tests/test_cmd_verify.py +0 -0
@@ -8,6 +8,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
  ## [Unreleased]
9
9
 
10
10
 
11
+ ## [4.21.1]
12
+
13
+ Released for version consistency with other DSW tools.
14
+
15
+ ## [4.21.0]
16
+
17
+ Released for version consistency with other DSW tools.
18
+
11
19
  ## [4.20.1]
12
20
 
13
21
  ### Changed
@@ -584,3 +592,5 @@ Initial DSW Template Development Kit (versioned as part of the [DSW platform](ht
584
592
  [4.19.1]: /../../tree/v4.19.1
585
593
  [4.20.0]: /../../tree/v4.20.0
586
594
  [4.20.1]: /../../tree/v4.20.1
595
+ [4.21.0]: /../../tree/v4.21.0
596
+ [4.21.1]: /../../tree/v4.21.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dsw-tdk
3
- Version: 4.20.1
3
+ Version: 4.21.1
4
4
  Summary: Data Stewardship Wizard Template Development Toolkit
5
5
  Author-email: Marek Suchánek <marek.suchanek@ds-wizard.org>
6
6
  License: Apache License 2.0
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python
15
15
  Classifier: Programming Language :: Python :: 3.10
16
16
  Classifier: Programming Language :: Python :: 3.11
17
17
  Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
18
19
  Classifier: Topic :: Internet :: WWW/HTTP
19
20
  Classifier: Topic :: Utilities
20
21
  Requires-Python: <4,>=3.10
@@ -158,7 +158,13 @@ class DSWAPIClient:
158
158
  async def login(self, email: str, password: str) -> str | None:
159
159
  req = {'email': email, 'password': password}
160
160
  body = await self._post_json('/tokens', json=req)
161
- self.token = body.get('token', None)
161
+ token_value = body.get('token', None)
162
+ if not isinstance(token_value, str):
163
+ raise DSWCommunicationError(
164
+ reason='Invalid response',
165
+ message='Server did not return a valid token'
166
+ )
167
+ self.token = token_value
162
168
  return self.token
163
169
 
164
170
  @handle_client_errors
@@ -9,9 +9,9 @@ BuildInfo = namedtuple(
9
9
  )
10
10
 
11
11
  BUILD_INFO = BuildInfo(
12
- version='v4.20.1~0e2ea82',
13
- built_at='2025-07-23 08:04:35Z',
14
- sha='0e2ea82aa69b9aae205f7715cf9606bbf75f9f20',
12
+ version='v4.21.1~4620e19',
13
+ built_at='2025-09-05 10:22:18Z',
14
+ sha='4620e195be99d0e5de9df8570098d61896478328',
15
15
  branch='HEAD',
16
- tag='v4.20.1',
16
+ tag='v4.21.1',
17
17
  )
@@ -4,7 +4,7 @@ import re
4
4
  import pathspec
5
5
 
6
6
  APP = 'dsw-tdk'
7
- VERSION = '4.20.1'
7
+ VERSION = '4.21.1'
8
8
  METAMODEL_VERSION = 16
9
9
 
10
10
  REGEX_SEMVER = re.compile(r'^[0-9]+\.[0-9]+\.[0-9]+$')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dsw-tdk
3
- Version: 4.20.1
3
+ Version: 4.21.1
4
4
  Summary: Data Stewardship Wizard Template Development Toolkit
5
5
  Author-email: Marek Suchánek <marek.suchanek@ds-wizard.org>
6
6
  License: Apache License 2.0
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python
15
15
  Classifier: Programming Language :: Python :: 3.10
16
16
  Classifier: Programming Language :: Python :: 3.11
17
17
  Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
18
19
  Classifier: Topic :: Internet :: WWW/HTTP
19
20
  Classifier: Topic :: Utilities
20
21
  Requires-Python: <4,>=3.10
@@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'
4
4
 
5
5
  [project]
6
6
  name = 'dsw-tdk'
7
- version = "4.20.1"
7
+ version = "4.21.1"
8
8
  description = 'Data Stewardship Wizard Template Development Toolkit'
9
9
  readme = 'README.md'
10
10
  keywords = ['documents', 'dsw', 'jinja2', 'template', 'toolkit']
@@ -20,6 +20,7 @@ classifiers = [
20
20
  'Programming Language :: Python :: 3.10',
21
21
  'Programming Language :: Python :: 3.11',
22
22
  'Programming Language :: Python :: 3.12',
23
+ 'Programming Language :: Python :: 3.13',
23
24
  'Topic :: Internet :: WWW/HTTP',
24
25
  'Topic :: Utilities',
25
26
  ]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes