From e220a7585e09e7546f8cf5a6d264bb44228f82f9 Mon Sep 17 00:00:00 2001 From: Samuel Villegas Date: Wed, 14 Feb 2024 15:38:05 -0300 Subject: [PATCH 1/6] fix(cte): Add default value for missing codes in SII CTE Form 29 - Added codes `100` and `103` to file used by schema validator :func:`cte_f29_datos_schema_best_effort_validator`, since this code is currently missing in the `tipos` and `glosa` sections of the F29 file. Ref: https://app.shortcut.com/cordada/story/4579/ Ref: [FD-CL-DATA-230](https://fynpal-com.sentry.io/issues/4907498672/) --- src/cl_sii/data/cte/f29_datos_obj_missing_key_fixes.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cl_sii/data/cte/f29_datos_obj_missing_key_fixes.json b/src/cl_sii/data/cte/f29_datos_obj_missing_key_fixes.json index 48eb5a69..b1283e6e 100644 --- a/src/cl_sii/data/cte/f29_datos_obj_missing_key_fixes.json +++ b/src/cl_sii/data/cte/f29_datos_obj_missing_key_fixes.json @@ -2,13 +2,17 @@ "glosa": { "049": "(Desconocido)", "098": "(Desconocido)", + "100": "(Desconocido)", + "103": "(Desconocido)", "156": "BASE IMPTO.A74,T.V.", "157": "RET..ART74,T.VAR", "8020": "(Desconocido)" }, "tipos": { "049": "M", - "098": "M", + "098": "M", + "100": "M", + "103": "M", "156": "M", "157": "M", "8020": "M" From ce6e6b887daaf0db4eb337ad12217df377c78a56 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 17 Feb 2024 00:52:23 +0000 Subject: [PATCH 2/6] chore: Bump cryptography from 41.0.7 to 42.0.2 Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.7 to 42.0.2. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pyca/cryptography/compare/41.0.7...42.0.2) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production ... 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 6516c209..ade778c9 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -38,7 +38,7 @@ colorama==0.4.6 # via tox coverage==7.4.1 # via -r requirements-dev.in -cryptography==41.0.7 +cryptography==42.0.2 # via # -c requirements.txt # secretstorage diff --git a/requirements.in b/requirements.in index 313df023..c89a9ae9 100644 --- a/requirements.in +++ b/requirements.in @@ -5,7 +5,7 @@ # Note: To install a package from a Git VCS repository, see the following example: # git+https://github.com/example/example.git@example-vcs-ref#egg=example-pkg[foo,bar]==1.42.3 -cryptography==41.0.7 +cryptography==42.0.2 defusedxml==0.7.1 Django>=2.2.24 djangorestframework>=3.10.3,<3.15 diff --git a/requirements.txt b/requirements.txt index 4c5cd68f..7cc3f689 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,7 @@ certifi==2023.7.22 # via signxml cffi==1.15.1 # via cryptography -cryptography==41.0.7 +cryptography==42.0.2 # via # -r requirements.in # pyopenssl From f4210e6aa0d3893a033517731ca7a18ea78bb63e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 13:35:32 +0000 Subject: [PATCH 3/6] chore: Bump django from 3.2.23 to 3.2.24 Bumps [django](https://github.com/django/django) from 3.2.23 to 3.2.24. - [Commits](https://github.com/django/django/compare/3.2.23...3.2.24) --- updated-dependencies: - dependency-name: django dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7cc3f689..73fc3ac9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,7 +23,7 @@ cryptography==42.0.2 # signxml defusedxml==0.7.1 # via -r requirements.in -django==3.2.23 +django==3.2.24 # via # -r requirements.in # djangorestframework From e2869d001012260aaa6693ef107ff82706175efd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 20:47:54 +0000 Subject: [PATCH 4/6] chore: Bump cryptography from 42.0.2 to 42.0.4 Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.4. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pyca/cryptography/compare/42.0.2...42.0.4) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production ... 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 ade778c9..7031b9ee 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -38,7 +38,7 @@ colorama==0.4.6 # via tox coverage==7.4.1 # via -r requirements-dev.in -cryptography==42.0.2 +cryptography==42.0.4 # via # -c requirements.txt # secretstorage diff --git a/requirements.in b/requirements.in index c89a9ae9..3aaa0a3a 100644 --- a/requirements.in +++ b/requirements.in @@ -5,7 +5,7 @@ # Note: To install a package from a Git VCS repository, see the following example: # git+https://github.com/example/example.git@example-vcs-ref#egg=example-pkg[foo,bar]==1.42.3 -cryptography==42.0.2 +cryptography==42.0.4 defusedxml==0.7.1 Django>=2.2.24 djangorestframework>=3.10.3,<3.15 diff --git a/requirements.txt b/requirements.txt index 73fc3ac9..a7f87c66 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,7 @@ certifi==2023.7.22 # via signxml cffi==1.15.1 # via cryptography -cryptography==42.0.2 +cryptography==42.0.4 # via # -r requirements.in # pyopenssl From 202fc1d074427aa32e410a3dd5d42b089d969900 Mon Sep 17 00:00:00 2001 From: Samuel Villegas Date: Mon, 26 Feb 2024 11:29:02 -0300 Subject: [PATCH 5/6] chore: Update history for new version --- HISTORY.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index f20f42f4..f0b8396b 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,12 @@ # History +## 0.28.0 (2024-02-26) + +- (PR #606, 2024-02-14) fix: Add default value for missing codes in SII CTE Form 29 +- (PR #607, 2024-02-19) chore: Bump cryptography from 41.0.7 to 42.0.2 +- (PR #605, 2024-02-19) chore: Bump django from 3.2.23 to 3.2.24 +- (PR #608, 2024-02-26) chore: Bump cryptography from 42.0.2 to 42.0.4 + ## 0.27.0 (2024-02-07) - (PR #593, 2024-02-01) chore: Bump pydantic from 2.5.3 to 2.6.0 From ba75d9cc66c611785901a44fd12745f7cce3ebb0 Mon Sep 17 00:00:00 2001 From: Samuel Villegas Date: Mon, 26 Feb 2024 11:29:07 -0300 Subject: [PATCH 6/6] chore: Bump version from 0.27.0 to 0.28.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 c7dba797..449a934e 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.27.0 +current_version = 0.28.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 1164314c..1219275e 100644 --- a/src/cl_sii/__init__.py +++ b/src/cl_sii/__init__.py @@ -4,4 +4,4 @@ """ -__version__ = '0.27.0' +__version__ = '0.28.0'