From 813f6f45189d80445fa157bf4ff35550769817c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Mar 2025 14:03:48 +0000 Subject: [PATCH 1/9] chore(deps): Bump the development-dependencies group with 8 updates Bumps the development-dependencies group with 8 updates in the / directory: | Package | From | To | | --- | --- | --- | | [black](https://github.com/psf/black) | `24.8.0` | `25.1.0` | | [coverage](https://github.com/nedbat/coveragepy) | `7.6.1` | `7.6.12` | | [flake8](https://github.com/pycqa/flake8) | `7.1.1` | `7.1.2` | | [isort](https://github.com/PyCQA/isort) | `5.13.2` | `6.0.1` | | [mypy](https://github.com/python/mypy) | `1.14.1` | `1.15.0` | | [tox](https://github.com/tox-dev/tox) | `4.23.2` | `4.24.2` | | [types-lxml](https://github.com/abelcheung/types-lxml) | `2024.12.13` | `2025.3.4` | | [types-pytz](https://github.com/python/typeshed) | `2024.2.0.20241221` | `2025.1.0.20250204` | Updates `black` from 24.8.0 to 25.1.0 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.8.0...25.1.0) Updates `coverage` from 7.6.1 to 7.6.12 - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.6.1...7.6.12) Updates `flake8` from 7.1.1 to 7.1.2 - [Commits](https://github.com/pycqa/flake8/compare/7.1.1...7.1.2) Updates `isort` from 5.13.2 to 6.0.1 - [Release notes](https://github.com/PyCQA/isort/releases) - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md) - [Commits](https://github.com/PyCQA/isort/compare/5.13.2...6.0.1) Updates `mypy` from 1.14.1 to 1.15.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.14.1...v1.15.0) Updates `tox` from 4.23.2 to 4.24.2 - [Release notes](https://github.com/tox-dev/tox/releases) - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/tox/compare/4.23.2...4.24.2) Updates `types-lxml` from 2024.12.13 to 2025.3.4 - [Release notes](https://github.com/abelcheung/types-lxml/releases) - [Commits](https://github.com/abelcheung/types-lxml/compare/2024.12.13...2025.03.04) Updates `types-pytz` from 2024.2.0.20241221 to 2025.1.0.20250204 - [Commits](https://github.com/python/typeshed/commits) --- updated-dependencies: - dependency-name: black dependency-type: direct:development update-type: version-update:semver-major dependency-group: development-dependencies - dependency-name: coverage dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: flake8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: development-dependencies - dependency-name: isort dependency-type: direct:development update-type: version-update:semver-major dependency-group: development-dependencies - dependency-name: mypy dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: tox dependency-type: direct:development update-type: version-update:semver-minor dependency-group: development-dependencies - dependency-name: types-lxml dependency-type: direct:development update-type: version-update:semver-major dependency-group: development-dependencies - dependency-name: types-pytz dependency-type: direct:development update-type: version-update:semver-major dependency-group: development-dependencies ... Signed-off-by: dependabot[bot] --- requirements-dev.in | 16 ++++++++-------- requirements-dev.txt | 33 ++++++++++++++++++--------------- 2 files changed, 26 insertions(+), 23 deletions(-) diff --git a/requirements-dev.in b/requirements-dev.in index 5e3cdbea..c1035d9c 100644 --- a/requirements-dev.in +++ b/requirements-dev.in @@ -4,18 +4,18 @@ -c requirements.txt -black==24.8.0 +black==25.1.0 build==1.2.2.post1 bumpversion==0.5.3 -coverage==7.6.1 -flake8==7.1.1 -isort==5.13.2 -mypy==1.14.1 +coverage==7.6.12 +flake8==7.1.2 +isort==6.0.1 +mypy==1.15.0 pip-tools==7.4.1 -tox==4.23.2 +tox==4.24.2 twine==6.1.0 types-jsonschema==4.23.0.20241208 -types-lxml==2024.12.13 +types-lxml==2025.3.4 types-pyOpenSSL==24.1.0.20240722 -types-pytz==2024.2.0.20241221 +types-pytz==2025.1.0.20250204 wheel==0.45.1 diff --git a/requirements-dev.txt b/requirements-dev.txt index e559bfc0..27ac19d5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,7 +8,9 @@ attrs==23.2.0 # via # -c requirements.txt # referencing -black==24.8.0 +beautifulsoup4==4.13.3 + # via types-lxml +black==25.1.0 # via -r requirements-dev.in bleach==5.0.1 # via readme-renderer @@ -18,7 +20,7 @@ build==1.2.2.post1 # pip-tools bumpversion==0.5.3 # via -r requirements-dev.in -cachetools==5.5.0 +cachetools==5.5.2 # via tox certifi==2024.7.4 # via @@ -38,7 +40,7 @@ click==8.0.3 # pip-tools colorama==0.4.6 # via tox -coverage==7.6.1 +coverage==7.6.12 # via -r requirements-dev.in cryptography==44.0.1 # via @@ -55,7 +57,7 @@ filelock==3.16.1 # via # tox # virtualenv -flake8==7.1.1 +flake8==7.1.2 # via -r requirements-dev.in id==1.5.0 # via twine @@ -66,7 +68,7 @@ importlib-metadata==8.5.0 # -c requirements.txt # build # twine -isort==5.13.2 +isort==6.0.1 # via -r requirements-dev.in jeepney==0.8.0 # via @@ -80,7 +82,7 @@ mccabe==0.7.0 # via flake8 mdurl==0.1.2 # via markdown-it-py -mypy==1.14.1 +mypy==1.15.0 # via -r requirements-dev.in mypy-extensions==1.0.0 # via @@ -148,7 +150,9 @@ secretstorage==3.3.3 # via keyring six==1.16.0 # via bleach -tomli==2.0.1 +soupsieve==2.6 + # via beautifulsoup4 +tomli==2.2.1 # via # black # build @@ -157,29 +161,28 @@ tomli==2.0.1 # pyproject-api # pyproject-hooks # tox -tox==4.23.2 +tox==4.24.2 # via -r requirements-dev.in twine==6.1.0 # via -r requirements-dev.in -types-beautifulsoup4==4.12.0.20240907 - # via types-lxml types-cffi==1.16.0.20240331 # via types-pyopenssl -types-html5lib==1.1.11.20240806 - # via types-beautifulsoup4 +types-html5lib==1.1.11.20241018 + # via types-lxml types-jsonschema==4.23.0.20241208 # via -r requirements-dev.in -types-lxml==2024.12.13 +types-lxml==2025.3.4 # via -r requirements-dev.in types-pyopenssl==24.1.0.20240722 # via -r requirements-dev.in -types-pytz==2024.2.0.20241221 +types-pytz==2025.1.0.20250204 # via -r requirements-dev.in types-setuptools==75.3.0.20241112 # via types-cffi typing-extensions==4.12.2 # via # -c requirements.txt + # beautifulsoup4 # black # mypy # tox @@ -188,7 +191,7 @@ urllib3==1.26.19 # via # requests # twine -virtualenv==20.26.6 +virtualenv==20.29.3 # via tox webencodings==0.5.1 # via bleach From 934724cc9cdec4b348ac7bb7433caee13563e83e Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Thu, 13 Mar 2025 11:25:15 -0300 Subject: [PATCH 2/9] chore: Reformat source code using 'Black' --- src/cl_sii/dte/data_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cl_sii/dte/data_models.py b/src/cl_sii/dte/data_models.py index aca2aaa8..7abdf147 100644 --- a/src/cl_sii/dte/data_models.py +++ b/src/cl_sii/dte/data_models.py @@ -111,7 +111,7 @@ def validate_non_empty_bytes(value: bytes) -> None: def is_input_trusted_according_to_validation_context( - validation_context: Optional[Mapping[str, object]] + validation_context: Optional[Mapping[str, object]], ) -> bool: """ Return whether the input data is trusted according to the validation context. From 20de737be7177eb81bda4f09ee68471918cd2b7f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Mar 2025 14:31:51 +0000 Subject: [PATCH 3/9] chore(deps): Bump django-filter from 24.3 to 25.1 Bumps [django-filter](https://github.com/carltongibson/django-filter) from 24.3 to 25.1. - [Release notes](https://github.com/carltongibson/django-filter/releases) - [Changelog](https://github.com/carltongibson/django-filter/blob/main/CHANGES.rst) - [Commits](https://github.com/carltongibson/django-filter/compare/24.3...25.1) --- updated-dependencies: - dependency-name: django-filter dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index c4594dd5..5920540b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -28,7 +28,7 @@ django==4.2.20 # -r requirements.in # django-filter # djangorestframework -django-filter==24.3 +django-filter==25.1 # via -r requirements.in djangorestframework==3.15.2 # via -r requirements.in From fc206d88d6af7658a0fb593ffca30e565bfe218f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 13 Mar 2025 14:56:24 +0000 Subject: [PATCH 4/9] chore(deps): Bump marshmallow from 3.22.0 to 3.26.1 Bumps [marshmallow](https://github.com/marshmallow-code/marshmallow) from 3.22.0 to 3.26.1. - [Changelog](https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst) - [Commits](https://github.com/marshmallow-code/marshmallow/compare/3.22.0...3.26.1) --- updated-dependencies: - dependency-name: marshmallow dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.in | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.in b/requirements.in index 4045e05a..3f2a4d92 100644 --- a/requirements.in +++ b/requirements.in @@ -14,7 +14,7 @@ djangorestframework>=3.10.3,<3.16 importlib-metadata==8.5.0 jsonschema==4.23.0 lxml==5.3.1 -marshmallow==3.22.0 +marshmallow==3.26.1 pydantic==2.10.6 pyOpenSSL==25.0.0 pytz==2025.1 diff --git a/requirements.txt b/requirements.txt index 5920540b..7312abaa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -42,7 +42,7 @@ lxml==5.3.1 # via # -r requirements.in # signxml -marshmallow==3.22.0 +marshmallow==3.26.1 # via -r requirements.in packaging==24.2 # via marshmallow From 16e4abd3b72e0e7daa28e6ee8582e77465710211 Mon Sep 17 00:00:00 2001 From: Jose Tomas Robles Hahn Date: Mon, 17 Mar 2025 09:19:08 -0300 Subject: [PATCH 5/9] fix(libs): Fix errors reported by Mypy in `CustomMarshmallowDateField` --- src/cl_sii/libs/mm_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cl_sii/libs/mm_utils.py b/src/cl_sii/libs/mm_utils.py index 67c3126a..13eb98ab 100644 --- a/src/cl_sii/libs/mm_utils.py +++ b/src/cl_sii/libs/mm_utils.py @@ -96,7 +96,9 @@ def __init__(self, format: Optional[str] = None, **kwargs: Any) -> None: # TODO: for 'marshmallow 3', rename 'dateformat' to 'datetimeformat'. self.dateformat = format - def _bind_to_schema(self, field_name: str, schema: marshmallow.Schema) -> None: + def _bind_to_schema( + self, field_name: str, schema: marshmallow.Schema | marshmallow.Field + ) -> None: super()._bind_to_schema(field_name, schema) self.dateformat = self.dateformat or schema.opts.dateformat From 14c486cdc89ee6dbe956f8716b45534f67387f4f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Mar 2025 13:51:14 +0000 Subject: [PATCH 6/9] chore(deps): Bump importlib-metadata from 8.5.0 to 8.6.1 Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 8.5.0 to 8.6.1. - [Release notes](https://github.com/python/importlib_metadata/releases) - [Changelog](https://github.com/python/importlib_metadata/blob/main/NEWS.rst) - [Commits](https://github.com/python/importlib_metadata/compare/v8.5.0...v8.6.1) --- updated-dependencies: - dependency-name: importlib-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- requirements.in | 2 +- requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 27ac19d5..f35a5a5f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -63,7 +63,7 @@ id==1.5.0 # via twine idna==3.7 # via requests -importlib-metadata==8.5.0 +importlib-metadata==8.6.1 # via # -c requirements.txt # build diff --git a/requirements.in b/requirements.in index 3f2a4d92..a8c7e54c 100644 --- a/requirements.in +++ b/requirements.in @@ -11,7 +11,7 @@ defusedxml==0.7.1 django-filter>=24.2 Django>=4.2 djangorestframework>=3.10.3,<3.16 -importlib-metadata==8.5.0 +importlib-metadata==8.6.1 jsonschema==4.23.0 lxml==5.3.1 marshmallow==3.26.1 diff --git a/requirements.txt b/requirements.txt index 7312abaa..72df99c2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,7 +32,7 @@ django-filter==25.1 # via -r requirements.in djangorestframework==3.15.2 # via -r requirements.in -importlib-metadata==8.5.0 +importlib-metadata==8.6.1 # via -r requirements.in jsonschema==4.23.0 # via -r requirements.in From 08f9ea511a32f65fd7bb9c153975314c58ce197c Mon Sep 17 00:00:00 2001 From: Felipe Pinto Date: Wed, 19 Mar 2025 16:54:56 -0300 Subject: [PATCH 7/9] chore: Require Python >= 3.9 - Update requirement in `pyproject.toml` file. Ref: https://app.shortcut.com/cordada/story/13263 [sc-13263] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0e4af765..a79bfbff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dependencies = [ "signxml>=4.0.0", "typing-extensions>=4.0.1", ] -requires-python = ">=3.8, <3.11" +requires-python = ">=3.9, <3.11" authors = [ {name = "Fyntex TI SpA", email = "no-reply@fyntex.ai"}, ] From d8f02abebc96147b16fd3f513b558d50de8014a2 Mon Sep 17 00:00:00 2001 From: Felipe Pinto Date: Mon, 24 Mar 2025 12:13:47 -0300 Subject: [PATCH 8/9] chore: Update history for new version --- HISTORY.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 56d05788..b4eb7b71 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,13 @@ # History +## 0.45.0 (2025-03-24) + +- (PR #784, 2025-03-13) chore(deps): Bump the development-dependencies group with 8 updates +- (PR #773, 2025-03-13) chore(deps): Bump django-filter from 24.3 to 25.1 +- (PR #774, 2025-03-17) chore(deps): Bump marshmallow from 3.22.0 to 3.26.1 +- (PR #776, 2025-03-17) chore(deps): Bump importlib-metadata from 8.5.0 to 8.6.1 +- (PR #787, 2025-03-24) Require Python ≥3.9 + ## 0.44.0 (2025-03-13) - (PR #783, 2025-03-13) deps: Update `packaging` from 24.1 to 24.2 From fa89797546e4902fdc51b5b1455fdc8c4d52a20e Mon Sep 17 00:00:00 2001 From: Felipe Pinto Date: Mon, 24 Mar 2025 12:14:13 -0300 Subject: [PATCH 9/9] chore: Bump version from 0.44.0 to 0.45.0 --- .bumpversion.cfg | 2 +- src/cl_sii/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index af5307f7..81bd1f0e 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.44.0 +current_version = 0.45.0 commit = True tag = False message = chore: Bump version from {current_version} to {new_version} diff --git a/src/cl_sii/__init__.py b/src/cl_sii/__init__.py index 262f0c5e..f87c773b 100644 --- a/src/cl_sii/__init__.py +++ b/src/cl_sii/__init__.py @@ -4,4 +4,4 @@ """ -__version__ = '0.44.0' +__version__ = '0.45.0'