Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy release v0.43.0 #782

Merged
merged 28 commits into from
Mar 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
6cb9da3
fix: Python dependency sync check is never executed in CI/CD workflow
jtrobles-cdd Jan 28, 2025
3303f16
Merge pull request #764 from cordada/bugfix/ci-cd-python-deps-sync-check
jtrobles-cdd Jan 28, 2025
30bc730
chore: Bump the production-dependencies group with 3 updates
dependabot[bot] Feb 1, 2025
e35ca22
Merge pull request #765 from cordada/dependabot/github_actions/produc…
jtrobles-cdd Feb 3, 2025
bc5c654
chore(deps-dev): Bump twine in the development-dependencies group
dependabot[bot] Feb 3, 2025
17818d3
Merge pull request #766 from cordada/dependabot/pip/development-depen…
jtrobles-cdd Feb 3, 2025
6ded016
chore(deps): Bump pydantic from 2.10.4 to 2.10.6
dependabot[bot] Feb 3, 2025
c861614
Merge pull request #767 from cordada/dependabot/pip/pydantic-2.10.6
jtrobles-cdd Feb 7, 2025
aba0fa0
chore(deps): Bump pyopenssl from 24.3.0 to 25.0.0
dependabot[bot] Feb 3, 2025
be5fa1f
Merge pull request #769 from cordada/dependabot/pip/pyopenssl-25.0.0
jtrobles-cdd Feb 18, 2025
f4d171d
chore(deps): Bump pytz from 2024.2 to 2025.1
dependabot[bot] Feb 3, 2025
5b68278
Merge pull request #768 from cordada/dependabot/pip/pytz-2025.1
jtrobles-cdd Feb 18, 2025
e285413
chore(deps): Bump cryptography from 44.0.0 to 44.0.1
jtrobles-cdd Feb 18, 2025
dbd83d7
Merge pull request #770 from cordada/dependabot/pip/pip-1099dc578e
jtrobles-cdd Feb 18, 2025
5649d06
chore: Bump the production-dependencies group with 4 updates
dependabot[bot] Mar 1, 2025
98cd6da
Merge pull request #777 from cordada/dependabot/github_actions/produc…
jtrobles-cdd Mar 7, 2025
f5cfec6
chore(libs): Add utility to get X.509 certificate from PKCS12 (PFX) file
jtrobles-cdd Mar 6, 2025
e069964
Merge pull request #779 from cordada/task/add-crypto-util-get-x509-ce…
jtrobles-cdd Mar 7, 2025
f173552
chore(deps): Bump django from 4.2.18 to 4.2.20
dependabot[bot] Mar 6, 2025
08890b3
Merge pull request #778 from cordada/dependabot/pip/django-4.2.20
jtrobles-cdd Mar 7, 2025
69aedb9
chore(deps): Bump lxml from 5.3.0 to 5.3.1
dependabot[bot] Mar 7, 2025
2d41b16
Merge pull request #775 from cordada/dependabot/pip/lxml-5.3.1
jtrobles-cdd Mar 7, 2025
caa0d49
chore: Drop support for Python 3.8
fpinto-cdd Feb 24, 2025
681f804
chore: Update code format for linter
fpinto-cdd Feb 25, 2025
d332205
Merge pull request #771 from cordada/task/drop-support-for-python-3.8
fpinto-cdd Mar 11, 2025
4b28e20
chore: Update history for new version
fpinto-cdd Mar 12, 2025
fcc5740
chore: Bump version from 0.42.0 to 0.43.0
fpinto-cdd Mar 12, 2025
081fb22
Merge pull request #781 from cordada/release/v0.43.0
fpinto-cdd Mar 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .black.cfg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
include = '\.pyi?$'
line-length = 100
skip-string-normalization = true
target-version = ['py38', 'py39', 'py310']
target-version = ['py39', 'py310']
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.42.0
current_version = 0.43.0
commit = True
tag = False
message = chore: Bump version from {current_version} to {new_version}
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
strategy:
matrix:
python_version:
- "3.8"
- "3.9"
- "3.10"

Expand All @@ -38,7 +37,7 @@ jobs:

- name: Set Up Python ${{ matrix.python_version }}
id: set_up_python
uses: actions/setup-python@v5.3.0
uses: actions/setup-python@v5.4.0
with:
python-version: "${{ matrix.python_version }}"
check-latest: true
Expand All @@ -47,7 +46,7 @@ jobs:
run: make python-virtualenv PYTHON_VIRTUALENV_DIR="venv"

- name: Restoring/Saving Cache
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
path: |
.tox
Expand All @@ -73,7 +72,6 @@ jobs:
strategy:
matrix:
python_version:
- "3.8"
- "3.9"
- "3.10"

Expand All @@ -83,13 +81,13 @@ jobs:

- name: Set Up Python ${{ matrix.python_version }}
id: set_up_python
uses: actions/setup-python@v5.3.0
uses: actions/setup-python@v5.4.0
with:
python-version: "${{ matrix.python_version }}"
check-latest: true

- name: Restoring/Saving Cache
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
path: |
.tox
Expand Down Expand Up @@ -130,22 +128,22 @@ jobs:
make test-coverage-report

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5.1.2
uses: codecov/codecov-action@v5.4.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./test-reports/coverage/
fail_ci_if_error: true

- name: Check that compiled Python dependency manifests are up-to-date with their sources
# FIXME: There are issues related to testing with multiple Python versions.
if: ${{ startsWith(matrix.python_version, '3.8.') }}
if: ${{ startsWith(steps.set_up_python.outputs.python-version, '3.9.') }}
run: |
source "$PYTHON_VIRTUALENV_ACTIVATE"
make python-deps-sync-check

- name: Store Artifacts
if: ${{ always() }}
uses: actions/upload-artifact@v4.5.0
uses: actions/upload-artifact@v4.6.1
with:
name: test_reports_${{ matrix.python_version }}
path: test-reports/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@ jobs:

- name: Set Up Python
id: set_up_python
uses: actions/setup-python@v5.3.0
uses: actions/setup-python@v5.4.0
with:
python-version: "3.10"

- name: Restoring/Saving Cache
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
path: "venv"
key: py-v1-deps-${{ runner.os }}-${{ steps.set_up_python.outputs.python-version }}-${{ hashFiles('pyproject.toml', 'requirements.txt', 'requirements-dev.txt', 'Makefile', 'make/**.mk') }}

- name: Restore Artifacts (Release)
uses: actions/[email protected].8
uses: actions/[email protected].9
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 @@ -39,15 +39,15 @@ jobs:

- name: Set Up Python
id: set_up_python
uses: actions/setup-python@v5.3.0
uses: actions/setup-python@v5.4.0
with:
python-version: "3.10"

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

- name: Restoring/Saving Cache
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
path: "venv"
key: py-v1-deps-${{ runner.os }}-${{ steps.set_up_python.outputs.python-version }}-${{ hashFiles('pyproject.toml', 'requirements.txt', 'requirements-dev.txt', 'Makefile', 'make/**.mk') }}
Expand All @@ -68,7 +68,7 @@ jobs:
make dist

- name: Store Artifacts
uses: actions/upload-artifact@v4.5.0
uses: actions/upload-artifact@v4.6.1
with:
name: release
path: ${{ env.ARTIFACTS_PATH }}/
Expand Down
16 changes: 16 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# History

## 0.43.0 (2025-03-12)

- (PR #764, 2025-01-28) Python dependency sync check is never executed in CI/CD workflow
- (PR #765, 2025-02-03) chore: Bump the production-dependencies group with 3 updates
- (PR #766, 2025-02-03) chore(deps-dev): Bump twine from 6.0.1 to 6.1.0 in the
development-dependencies group
- (PR #767, 2025-02-07) chore(deps): Bump pydantic from 2.10.4 to 2.10.6
- (PR #769, 2025-02-18) chore(deps): Bump pyopenssl from 24.3.0 to 25.0.0
- (PR #768, 2025-02-18) chore(deps): Bump pytz from 2024.2 to 2025.1
- (PR #770, 2025-02-18) chore(deps): Bump cryptography from 44.0.0 to 44.0.1 in the pip group
- (PR #777, 2025-03-06) chore: Bump the production-dependencies group with 4 updates
- (PR #779, 2025-03-07) libs: Add utility to get X.509 certificate from PKCS12 (PFX) file
- (PR #778, 2025-03-07) chore(deps): Bump django from 4.2.18 to 4.2.20
- (PR #775, 2025-03-07) chore(deps): Bump lxml from 5.3.0 to 5.3.1
- (PR #771, 2025-03-11) Drop support for Python 3.8

## 0.42.0 (2025-01-28)

- (PR #758, 2025-01-15) Enable `warn_unused_ignores` in Mypy configuration
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ The full documentation is at <https://lib-cl-sii-python.readthedocs.io>.

## Supported Python versions

Only Python 3.8, 3.9 and 3.10. Python 3.7 and below will not work because we use some features
introduced in Python 3.8.
Only Python 3.9 and 3.10. Python 3.8 and below will not work because we use some features
introduced in Python 3.9.

## Quickstart

Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mypy]
python_version = 3.8
python_version = 3.9
platform = linux
mypy_path =
src
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ isort==5.13.2
mypy==1.14.1
pip-tools==7.4.1
tox==4.23.2
twine==6.0.1
twine==6.1.0
types-jsonschema==4.23.0.20241208
types-lxml==2024.12.13
types-pyOpenSSL==24.1.0.20240722
Expand Down
12 changes: 6 additions & 6 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --allow-unsafe --strip-extras requirements-dev.in
Expand Down Expand Up @@ -40,7 +40,7 @@ colorama==0.4.6
# via tox
coverage==7.6.1
# via -r requirements-dev.in
cryptography==44.0.0
cryptography==44.0.1
# via
# -c requirements.txt
# secretstorage
Expand All @@ -57,6 +57,8 @@ filelock==3.16.1
# virtualenv
flake8==7.1.1
# via -r requirements-dev.in
id==1.5.0
# via twine
idna==3.7
# via requests
importlib-metadata==8.5.0
Expand Down Expand Up @@ -96,8 +98,6 @@ pathspec==0.9.0
# via black
pip-tools==7.4.1
# via -r requirements-dev.in
pkginfo==1.8.3
# via twine
platformdirs==4.3.6
# via
# black
Expand Down Expand Up @@ -131,6 +131,7 @@ referencing==0.35.1
# types-jsonschema
requests==2.32.2
# via
# id
# requests-toolbelt
# twine
requests-toolbelt==0.9.1
Expand Down Expand Up @@ -158,7 +159,7 @@ tomli==2.0.1
# tox
tox==4.23.2
# via -r requirements-dev.in
twine==6.0.1
twine==6.1.0
# via -r requirements-dev.in
types-beautifulsoup4==4.12.0.20240907
# via types-lxml
Expand All @@ -181,7 +182,6 @@ typing-extensions==4.12.2
# -c requirements.txt
# black
# mypy
# rich
# tox
# types-lxml
urllib3==1.26.19
Expand Down
10 changes: 5 additions & 5 deletions requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@
# git+https://github.com/example/example.git@example-vcs-ref#egg=example-pkg[foo,bar]==1.42.3

backports-zoneinfo==0.2.1 ; python_version < "3.9" # Used by `djangorestframework`.
cryptography==44.0.0
cryptography==44.0.1
defusedxml==0.7.1
django-filter>=24.2
Django>=4.2
djangorestframework>=3.10.3,<3.16
importlib-metadata==8.5.0
jsonschema==4.23.0
lxml==5.3.0
lxml==5.3.1
marshmallow==3.22.0
pydantic==2.10.4
pyOpenSSL==24.3.0
pytz==2024.2
pydantic==2.10.6
pyOpenSSL==25.0.0
pytz==2025.1
signxml==4.0.3
typing-extensions==4.12.2
31 changes: 9 additions & 22 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --allow-unsafe --strip-extras requirements.in
Expand All @@ -12,23 +12,18 @@ attrs==23.2.0
# via
# jsonschema
# referencing
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -r requirements.in
# django
# djangorestframework
certifi==2024.7.4
# via signxml
cffi==1.16.0
# via cryptography
cryptography==44.0.0
cryptography==44.0.1
# via
# -r requirements.in
# pyopenssl
# signxml
defusedxml==0.7.1
# via -r requirements.in
django==4.2.18
django==4.2.20
# via
# -r requirements.in
# django-filter
Expand All @@ -39,33 +34,27 @@ djangorestframework==3.15.2
# via -r requirements.in
importlib-metadata==8.5.0
# via -r requirements.in
importlib-resources==6.4.0
# via
# jsonschema
# jsonschema-specifications
jsonschema==4.23.0
# via -r requirements.in
jsonschema-specifications==2023.12.1
# via jsonschema
lxml==5.3.0
lxml==5.3.1
# via
# -r requirements.in
# signxml
marshmallow==3.22.0
# via -r requirements.in
packaging==24.1
# via marshmallow
pkgutil-resolve-name==1.3.10
# via jsonschema
pycparser==2.22
# via cffi
pydantic==2.10.4
pydantic==2.10.6
# via -r requirements.in
pydantic-core==2.27.2
# via pydantic
pyopenssl==24.3.0
pyopenssl==25.0.0
# via -r requirements.in
pytz==2024.2
pytz==2025.1
# via -r requirements.in
referencing==0.35.1
# via
Expand All @@ -82,11 +71,9 @@ sqlparse==0.5.0
typing-extensions==4.12.2
# via
# -r requirements.in
# annotated-types
# asgiref
# pydantic
# pydantic-core
# pyopenssl
zipp==3.20.2
# via
# importlib-metadata
# importlib-resources
# via importlib-metadata
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.42.0'
__version__ = '0.43.0'
Loading
Loading