Skip to content

Commit

Permalink
Merge pull request #639 from cordada/develop
Browse files Browse the repository at this point in the history
Deploy release v0.29.0
  • Loading branch information
fpinto-cdd committed May 15, 2024
2 parents d7df38b + e946d22 commit ed33d76
Show file tree
Hide file tree
Showing 16 changed files with 106 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.28.0
current_version = 0.29.0
commit = True
tag = False
message = chore: Bump version from {current_version} to {new_version}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,18 @@ jobs:

steps:
- name: Check Out VCS Repository
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.1.2

- name: Set Up Python ${{ matrix.python_version }}
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5.1.0
with:
python-version: "${{ matrix.python_version }}"

- name: Create Python Virtual Environment
run: make python-virtualenv PYTHON_VIRTUALENV_DIR="venv"

- name: Restoring/Saving Cache
uses: actions/cache@v4.0.0
uses: actions/cache@v4.0.2
with:
path: "venv"
key: py-v1-deps-${{ runner.os }}-${{ matrix.python_version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('Makefile', 'make/**.mk') }}
Expand Down Expand Up @@ -75,15 +75,15 @@ jobs:

steps:
- name: Check Out VCS Repository
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.1.2

- name: Set Up Python ${{ matrix.python_version }}
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5.1.0
with:
python-version: "${{ matrix.python_version }}"

- name: Restoring/Saving Cache
uses: actions/cache@v4.0.0
uses: actions/cache@v4.0.2
with:
path: "venv"
key: py-v1-deps-${{ runner.os }}-${{ matrix.python_version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('Makefile', 'make/**.mk') }}
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
make test-coverage-report
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
uses: codecov/codecov-action@v4.1.1
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./test-reports/coverage/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dependency-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:

steps:
- name: Check Out VCS Repository
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.1.2

- name: Dependency Review
uses: actions/dependency-review-action@v4.0.0
uses: actions/dependency-review-action@v4.2.5
with:
fail-on-severity: critical
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,22 @@ jobs:

steps:
- name: Check Out VCS Repository
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.1.2

- name: Set Up Python
id: set_up_python
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5.1.0
with:
python-version: "3.10.9"

- name: Restoring/Saving Cache
uses: actions/cache@v4.0.0
uses: actions/cache@v4.0.2
with:
path: "venv"
key: py-v1-deps-${{ runner.os }}-${{ steps.set_up_python.outputs.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('Makefile', 'make/**.mk') }}

- name: Restore Artifacts (Release)
uses: actions/download-artifact@v4.1.2
uses: actions/download-artifact@v4.1.4
with:
name: release
path: ${{ inputs.artifacts_path }}/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ jobs:

steps:
- name: Check Out VCS Repository
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.1.2

- name: Set Up Python
id: set_up_python
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5.1.0
with:
python-version: "3.10.9"

- name: Create Python Virtual Environment
run: make python-virtualenv PYTHON_VIRTUALENV_DIR="venv"

- name: Restoring/Saving Cache
uses: actions/cache@v4.0.0
uses: actions/cache@v4.0.2
with:
path: "venv"
key: py-v1-deps-${{ runner.os }}-${{ steps.set_up_python.outputs.python-version }}-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('Makefile', 'make/**.mk') }}
Expand Down
19 changes: 19 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# History

## 0.29.0 (2024-05-15)

- (PR #614, 2024-03-26) chore: Bump the production-dependencies group with 4 updates
- (PR #617, 2024-03-27) chore: Bump black from 24.1.1 to 24.3.0
- (PR #619, 2024-03-27) chore: Bump pydantic from 2.6.1 to 2.6.4
- (PR #618, 2024-03-27) chore: Bump marshmallow from 3.20.2 to 3.21.1
- (PR #616, 2024-03-27) chore: Bump django from 3.2.24 to 3.2.25
- (PR #615, 2024-03-27) chore: Bump cryptography from 42.0.4 to 42.0.5
- (PR #620, 2024-03-27) chore: Bump the development-dependencies group with 7 updates
- (PR #621, 2024-04-04) chore: Bump the production-dependencies group with 6 updates
- (PR #628, 2024-04-16) chore: Bump sqlparse from 0.4.4 to 0.5.0
- (PR #627, 2024-04-16) chore: Bump idna from 2.10 to 3.7
- (PR #624, 2024-04-16) chore: Bump pyopenssl from 24.0.0 to 24.1.0
- (PR #629, 2024-04-16) chore: Bump lxml from 5.1.0 to 5.2.1
- (PR #626, 2024-04-18) chore: Bump importlib-metadata from 6.1.0 to 7.1.0
- (PR #631, 2024-04-18) chore(deps): Bump the development-dependencies group with 4 updates
- (PR #625, 2024-04-18) chore: Bump djangorestframework from 3.14.0 to 3.15.1
- (PR #636, 2024-05-15) Disallow implicit re-exports of imported values in Python modules

## 0.28.0 (2024-02-26)

- (PR #606, 2024-02-14) fix: Add default value for missing codes in SII CTE Form 29
Expand Down
1 change: 1 addition & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ plugins =

follow_imports = normal
ignore_missing_imports = False
no_implicit_reexport = True
strict_optional = True
disallow_untyped_defs = True
check_untyped_defs = True
Expand Down
18 changes: 9 additions & 9 deletions requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

-c requirements.txt

black==24.1.1
black==24.4.0
bumpversion==0.5.3
coverage==7.4.1
coverage==7.4.4
flake8==7.0.0
isort==5.13.2
mypy==1.8.0
pip-tools==7.3.0
mypy==1.9.0
pip-tools==7.4.1
tox==4.11.4
twine==4.0.2
types-jsonschema==4.21.0.20240118
types-pyOpenSSL==24.0.0.20240130
types-pytz==2024.1.0.20240203
wheel==0.42.0
twine==5.0.0
types-jsonschema==4.21.0.20240331
types-pyOpenSSL==24.0.0.20240417
types-pytz==2024.1.0.20240417
wheel==0.43.0
32 changes: 19 additions & 13 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ attrs==23.1.0
# via
# -c requirements.txt
# referencing
black==24.1.1
black==24.4.0
# via -r requirements-dev.in
bleach==5.0.1
# via readme-renderer
Expand Down Expand Up @@ -36,9 +36,9 @@ click==8.0.3
# pip-tools
colorama==0.4.6
# via tox
coverage==7.4.1
coverage==7.4.4
# via -r requirements-dev.in
cryptography==42.0.4
cryptography==42.0.5
# via
# -c requirements.txt
# secretstorage
Expand All @@ -53,9 +53,9 @@ filelock==3.12.4
# virtualenv
flake8==7.0.0
# via -r requirements-dev.in
idna==2.10
idna==3.7
# via requests
importlib-metadata==6.1.0
importlib-metadata==7.1.0
# via
# -c requirements.txt
# build
Expand All @@ -74,7 +74,7 @@ mccabe==0.7.0
# via flake8
mdurl==0.1.2
# via markdown-it-py
mypy==1.8.0
mypy==1.9.0
# via -r requirements-dev.in
mypy-extensions==1.0.0
# via
Expand All @@ -89,7 +89,7 @@ packaging==23.1
# tox
pathspec==0.9.0
# via black
pip-tools==7.3.0
pip-tools==7.4.1
# via -r requirements-dev.in
pkginfo==1.8.3
# via twine
Expand All @@ -115,7 +115,9 @@ pygments==2.15.0
pyproject-api==1.6.1
# via tox
pyproject-hooks==1.0.0
# via build
# via
# build
# pip-tools
readme-renderer==35.0
# via twine
referencing==0.30.2
Expand Down Expand Up @@ -151,14 +153,18 @@ tomli==2.0.1
# tox
tox==4.11.4
# via -r requirements-dev.in
twine==4.0.2
twine==5.0.0
# via -r requirements-dev.in
types-jsonschema==4.21.0.20240118
types-cffi==1.16.0.20240331
# via types-pyopenssl
types-jsonschema==4.21.0.20240331
# via -r requirements-dev.in
types-pyopenssl==24.0.0.20240130
types-pyopenssl==24.0.0.20240417
# via -r requirements-dev.in
types-pytz==2024.1.0.20240203
types-pytz==2024.1.0.20240417
# via -r requirements-dev.in
types-setuptools==69.5.0.20240415
# via types-cffi
typing-extensions==4.7.1
# via
# -c requirements.txt
Expand All @@ -173,7 +179,7 @@ virtualenv==20.24.5
# via tox
webencodings==0.5.1
# via bleach
wheel==0.42.0
wheel==0.43.0
# via
# -r requirements-dev.in
# pip-tools
Expand Down
15 changes: 8 additions & 7 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
# 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.4
backports-zoneinfo==0.2.1 ; python_version < "3.9" # Used by `djangorestframework`.
cryptography==42.0.5
defusedxml==0.7.1
Django>=2.2.24
djangorestframework>=3.10.3,<3.15
importlib-metadata==6.1.0
djangorestframework>=3.10.3,<3.16
importlib-metadata==7.1.0
jsonschema==4.21.1
lxml==5.1.0
marshmallow==3.20.2
pydantic==2.6.1
pyOpenSSL==24.0.0
lxml==5.2.1
marshmallow==3.21.1
pydantic==2.6.4
pyOpenSSL==24.1.0
pytz==2024.1
signxml==3.2.2
25 changes: 14 additions & 11 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,28 @@ attrs==23.1.0
# via
# jsonschema
# referencing
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -r requirements.in
# djangorestframework
certifi==2023.7.22
# via signxml
cffi==1.15.1
# via cryptography
cryptography==42.0.4
cryptography==42.0.5
# via
# -r requirements.in
# pyopenssl
# signxml
defusedxml==0.7.1
# via -r requirements.in
django==3.2.24
django==3.2.25
# via
# -r requirements.in
# djangorestframework
djangorestframework==3.14.0
djangorestframework==3.15.1
# via -r requirements.in
importlib-metadata==6.1.0
importlib-metadata==7.1.0
# via -r requirements.in
importlib-resources==6.1.0
# via
Expand All @@ -39,31 +43,30 @@ jsonschema==4.21.1
# via -r requirements.in
jsonschema-specifications==2023.7.1
# via jsonschema
lxml==5.1.0
lxml==5.2.1
# via
# -r requirements.in
# signxml
marshmallow==3.20.2
marshmallow==3.21.1
# via -r requirements.in
packaging==23.1
# via marshmallow
pkgutil-resolve-name==1.3.10
# via jsonschema
pycparser==2.20
# via cffi
pydantic==2.6.1
pydantic==2.6.4
# via -r requirements.in
pydantic-core==2.16.2
pydantic-core==2.16.3
# via pydantic
pyopenssl==24.0.0
pyopenssl==24.1.0
# via
# -r requirements.in
# signxml
pytz==2024.1
# via
# -r requirements.in
# django
# djangorestframework
referencing==0.30.2
# via
# jsonschema
Expand All @@ -74,7 +77,7 @@ rpds-py==0.10.6
# referencing
signxml==3.2.2
# via -r requirements.in
sqlparse==0.4.4
sqlparse==0.5.0
# via django
typing-extensions==4.7.1
# via
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_version(*file_paths: str) -> str:

extras_requirements = {
'django': ['Django>=2.2.24'],
'djangorestframework': ['djangorestframework>=3.10.3,<3.15'],
'djangorestframework': ['djangorestframework>=3.10.3,<3.16'],
}

setup_requirements: Sequence[str] = []
Expand Down
2 changes: 1 addition & 1 deletion src/cl_sii/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"""

__version__ = '0.28.0'
__version__ = '0.29.0'
Loading

0 comments on commit ed33d76

Please sign in to comment.