Skip to content

Commit

Permalink
Merge pull request #14 from ds-wizard/hotfix/3.15.1
Browse files Browse the repository at this point in the history
Hotfix 3.15.1
  • Loading branch information
MarekSuchanek authored Sep 7, 2022
2 parents 8e4f2e8 + 47a5080 commit 2e9efdb
Show file tree
Hide file tree
Showing 18 changed files with 75 additions and 26 deletions.
6 changes: 6 additions & 0 deletions packages/dsw-command-queue/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]


## [3.15.1]

Released for version consistency with other DSW tools.

## [3.15.0]

Released for version consistency with other DSW tools.
Expand All @@ -26,3 +30,5 @@ Released for version consistency with other DSW tools.
[Unreleased]: /../../compare/main...develop
[3.14.0]: /../../tree/v3.14.0
[3.14.1]: /../../tree/v3.14.1
[3.15.0]: /../../tree/v3.15.0
[3.15.1]: /../../tree/v3.15.1
4 changes: 2 additions & 2 deletions packages/dsw-command-queue/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'dsw-command-queue'
version = '3.15.0'
version = '3.15.1'
description = 'Library for working with command queue and persistent commands'
readme = 'README.md'
keywords = ['dsw', 'subscriber', 'publisher', 'database', 'queue', 'processing']
Expand All @@ -27,7 +27,7 @@ classifiers = [
requires-python = '>=3.7, <4'
dependencies = [
# DSW
'dsw-database==3.15.0',
'dsw-database==3.15.1',
]

[project.urls]
Expand Down
6 changes: 6 additions & 0 deletions packages/dsw-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]


## [3.15.1]

Released for version consistency with other DSW tools.

## [3.15.0]

Released for version consistency with other DSW tools.
Expand All @@ -26,3 +30,5 @@ Released for version consistency with other DSW tools.
[Unreleased]: /../../compare/main...develop
[3.14.0]: /../../tree/v3.14.0
[3.14.1]: /../../tree/v3.14.1
[3.15.0]: /../../tree/v3.15.0
[3.15.1]: /../../tree/v3.15.1
2 changes: 1 addition & 1 deletion packages/dsw-config/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'dsw-config'
version = '3.15.0'
version = '3.15.1'
description = 'Library for DSW config manipulation'
readme = 'README.md'
keywords = ['dsw', 'config', 'yaml', 'parser']
Expand Down
6 changes: 6 additions & 0 deletions packages/dsw-data-seeder/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]


## [3.15.1]

Released for version consistency with other DSW tools.

## [3.15.0]

Released for version consistency with other DSW tools.
Expand Down Expand Up @@ -62,3 +66,5 @@ Released for version consistency with other DSW tools.
[3.13.0]: https://github.com/ds-wizard/data-seeder/tree/v3.13.0
[3.14.0]: /../../tree/v3.14.0
[3.14.1]: /../../tree/v3.14.1
[3.15.0]: /../../tree/v3.15.0
[3.15.1]: /../../tree/v3.15.1
10 changes: 5 additions & 5 deletions packages/dsw-data-seeder/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'dsw-data-seeder'
version = '3.15.0'
version = '3.15.1'
description = 'Worker for seeding DSW data'
readme = 'README.md'
keywords = ['data', 'database', 'seed', 'storage']
Expand All @@ -27,10 +27,10 @@ dependencies = [
'click',
'tenacity',
# DSW
'dsw-command-queue==3.15.0',
'dsw-config==3.15.0',
'dsw-database==3.15.0',
'dsw-storage==3.15.0',
'dsw-command-queue==3.15.1',
'dsw-config==3.15.1',
'dsw-database==3.15.1',
'dsw-storage==3.15.1',
]

[project.urls]
Expand Down
5 changes: 5 additions & 0 deletions packages/dsw-database/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]


## [3.15.1]

Released for version consistency with other DSW tools.

## [3.15.0]

Released for version consistency with other DSW tools.
Expand All @@ -27,3 +31,4 @@ Released for version consistency with other DSW tools.
[3.14.0]: /../../tree/v3.14.0
[3.14.1]: /../../tree/v3.14.1
[3.15.0]: /../../tree/v3.15.0
[3.15.1]: /../../tree/v3.15.1
4 changes: 2 additions & 2 deletions packages/dsw-database/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'dsw-database'
version = '3.15.0'
version = '3.15.1'
description = 'Library for managing DSW database'
readme = 'README.md'
keywords = ['dsw', 'database']
Expand All @@ -28,7 +28,7 @@ dependencies = [
'psycopg2',
'tenacity',
# DSW
'dsw-config==3.15.0',
'dsw-config==3.15.1',
]

[project.urls]
Expand Down
7 changes: 7 additions & 0 deletions packages/dsw-document-worker/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]


## [3.15.1]

### Fixed

- Handling document generation exceptions

## [3.15.0]

### Changed
Expand All @@ -29,3 +35,4 @@ Released for version consistency with other DSW tools.
[3.14.0]: /../../tree/v3.14.0
[3.14.1]: /../../tree/v3.14.1
[3.15.0]: /../../tree/v3.15.0
[3.15.1]: /../../tree/v3.15.1
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ def __init__(self, job_id: str, msg: str, exc=None):
self.msg = msg
self.exc = exc

def __str__(self):
return self.msg

def log_message(self):
if self.exc is None:
return self.msg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,11 @@ def to_context_obj(ctx, **options) -> DocumentContext:
class TemplateRenderingError(JobException):

def __init__(self, title, message):
self.message = f'{title}\n\n{message}'

def __str__(self):
return self.message
super().__init__(
job_id='',
msg=f'{title}\n\n{message}',
exc=None,
)


def raise_error(message, title='Document rendering error'):
Expand Down
10 changes: 5 additions & 5 deletions packages/dsw-document-worker/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'dsw-document-worker'
version = '3.15.0'
version = '3.15.1'
description = 'Worker for assembling and transforming documents'
readme = 'README.md'
keywords = ['documents', 'generation', 'jinja2', 'pandoc', 'worker']
Expand Down Expand Up @@ -40,10 +40,10 @@ dependencies = [
'sentry-sdk',
'tenacity',
# DSW
'dsw-command-queue==3.15.0',
'dsw-config==3.15.0',
'dsw-database==3.15.0',
'dsw-storage==3.15.0',
'dsw-command-queue==3.15.1',
'dsw-config==3.15.1',
'dsw-database==3.15.1',
'dsw-storage==3.15.1',
]

[project.urls]
Expand Down
5 changes: 5 additions & 0 deletions packages/dsw-mailer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]


## [3.15.1]

Released for version consistency with other DSW tools.

## [3.15.0]

### Changed
Expand All @@ -29,3 +33,4 @@ Released for version consistency with other DSW tools.
[3.14.0]: /../../tree/v3.14.0
[3.14.1]: /../../tree/v3.14.1
[3.15.0]: /../../tree/v3.15.0
[3.15.1]: /../../tree/v3.15.1
8 changes: 4 additions & 4 deletions packages/dsw-mailer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'dsw-mailer'
version = '3.15.0'
version = '3.15.1'
description = 'Worker for sending email notifications'
readme = 'README.md'
keywords = ['email', 'jinja2', 'notification', 'template']
Expand All @@ -29,9 +29,9 @@ dependencies = [
'sentry-sdk',
'tenacity',
# DSW
'dsw-command-queue==3.15.0',
'dsw-config==3.15.0',
'dsw-database==3.15.0',
'dsw-command-queue==3.15.1',
'dsw-config==3.15.1',
'dsw-database==3.15.1',
]

[project.urls]
Expand Down
5 changes: 5 additions & 0 deletions packages/dsw-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]


## [3.15.1]

Released for version consistency with other DSW tools.

## [3.15.0]

Released for version consistency with other DSW tools.
Expand All @@ -27,3 +31,4 @@ Released for version consistency with other DSW tools.
[3.14.0]: /../../tree/v3.14.0
[3.14.1]: /../../tree/v3.14.1
[3.15.0]: /../../tree/v3.15.0
[3.15.1]: /../../tree/v3.15.1
4 changes: 2 additions & 2 deletions packages/dsw-storage/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'dsw-storage'
version = '3.15.0'
version = '3.15.1'
description = 'Library for managing DSW S3 storage'
readme = 'README.md'
keywords = ['dsw', 's3', 'bucket', 'storage']
Expand All @@ -28,7 +28,7 @@ dependencies = [
'minio',
'tenacity',
# DSW
'dsw-config==3.15.0',
'dsw-config==3.15.1',
]

[project.urls]
Expand Down
5 changes: 5 additions & 0 deletions packages/dsw-tdk/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]


## [3.15.1]

Released for version consistency with other DSW tools.

## [3.15.0]

Released for version consistency with other DSW tools.
Expand Down Expand Up @@ -213,3 +217,4 @@ Initial DSW Template Development Kit (versioned as part of the [DSW platform](ht
[3.14.0]: /../../tree/v3.14.0
[3.14.1]: /../../tree/v3.14.1
[3.15.0]: /../../tree/v3.15.0
[3.15.1]: /../../tree/v3.15.1
2 changes: 1 addition & 1 deletion packages/dsw-tdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = 'setuptools.build_meta'

[project]
name = 'dsw-tdk'
version = '3.15.0'
version = '3.15.1'
description = 'Data Stewardship Wizard Template Development Toolkit'
readme = 'README.md'
keywords = ['documents', 'dsw', 'jinja2', 'template', 'toolkit']
Expand Down

0 comments on commit 2e9efdb

Please sign in to comment.