Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
9290266
fix: Fix Git alias `lg-github-pr-summary` in Contributing Guidelines
jtrobles-cdd Apr 5, 2023
7affa8e
Merge pull request #478 from fyntex/bugfix/contributing-guidelines-gi…
jtrobles-cdd Apr 5, 2023
f34d590
chore: Update code owners for Python dependencies
jtrobles-cdd Apr 5, 2023
a085d56
Merge pull request #479 from fyntex/task/update-code-owners
jtrobles-cdd Apr 5, 2023
fe9d463
chore(deps): Bump importlib-metadata from 6.0.0 to 6.1.0
dependabot[bot] Apr 4, 2023
60b871c
Merge pull request #467 from fyntex/dependabot/pip/importlib-metadata…
svillegas-cdd Apr 10, 2023
506b5af
chore: Add test coverage report in XML format
jtrobles-cdd Apr 17, 2023
ace455f
chore: Remove Python package `codecov`
jtrobles-cdd Apr 18, 2023
4eaba6b
chore: Add Codecov to CI workflow
jtrobles-cdd Apr 18, 2023
5411478
Merge pull request #483 from fyntex/task/add-codecov-with-github-actions
jtrobles-cdd Apr 18, 2023
19d49cd
chore: Bump actions/cache from 3.2.6 to 3.3.1
dependabot[bot] Apr 18, 2023
26d81c6
Merge pull request #466 from fyntex/dependabot/github_actions/actions…
svillegas-cdd Apr 18, 2023
3bf4b53
chore: Bump actions/dependency-review-action from 3.0.3 to 3.0.4
dependabot[bot] Apr 18, 2023
f0590f3
Merge pull request #465 from fyntex/dependabot/github_actions/actions…
svillegas-cdd Apr 18, 2023
013fda1
chore: Bump actions/checkout from 3.3.0 to 3.5.2
dependabot[bot] Apr 21, 2023
c19d19c
Merge pull request #481 from fyntex/dependabot/github_actions/actions…
svillegas-cdd Apr 24, 2023
ecb3d74
chore(deps-dev): Bump mypy from 1.0.1 to 1.2.0
dependabot[bot] Apr 10, 2023
5cab39c
Merge pull request #480 from fyntex/dependabot/pip/mypy-1.2.0
svillegas-cdd Apr 24, 2023
e554f30
chore(deps-dev): Bump types-pytz from 2022.7.1.2 to 2023.3.0.0
dependabot[bot] Apr 10, 2023
e37fb95
Merge pull request #473 from fyntex/dependabot/pip/types-pytz-2023.3.0.0
svillegas-cdd Apr 24, 2023
4ccef7e
chore(deps): Bump pytz from 2022.7.1 to 2023.3
dependabot[bot] Apr 10, 2023
61e1398
Merge pull request #471 from fyntex/dependabot/pip/pytz-2023.3
svillegas-cdd Apr 24, 2023
6333cdc
chore(deps): Bump cryptography from 39.0.1 to 39.0.2
dependabot[bot] Apr 10, 2023
cc6ed89
Merge pull request #468 from fyntex/dependabot/pip/cryptography-39.0.2
svillegas-cdd Apr 24, 2023
1e61887
chore: Bump codecov/codecov-action from 3.1.2 to 3.1.3
dependabot[bot] May 1, 2023
1923cfe
Merge pull request #486 from fyntex/dependabot/github_actions/codecov…
jtrobles-cdd May 5, 2023
f343ad5
chore: Bump sqlparse from 0.4.2 to 0.4.4
dependabot[bot] Apr 24, 2023
ad10f6a
Merge pull request #484 from fyntex/dependabot/pip/sqlparse-0.4.4
svillegas-cdd May 9, 2023
b50b767
chore(deps): Update `black` from 23.1.0 to 23.3.0
jtrobles-cdd Jun 21, 2023
293c79c
Merge pull request #499 from fyntex/task/update-black
jtrobles-cdd Jun 22, 2023
a7ff29e
chore: Bump actions/checkout from 3.5.2 to 3.5.3
dependabot[bot] Jul 1, 2023
17d3c40
Merge pull request #501 from fyntex/dependabot/github_actions/actions…
jtrobles-cdd Jul 3, 2023
24d58c3
chore(deps): Update `pip-tools` from 6.8.0 to 6.14.0
jtrobles-cdd Jul 3, 2023
4b7cedd
Merge pull request #502 from fyntex/task/update-pip-tools
jtrobles-cdd Jul 4, 2023
04f5f60
chore: Bump actions/setup-python from 4.5.0 to 4.7.0
dependabot[bot] Jul 19, 2023
52f6194
Merge pull request #504 from fyntex/dependabot/github_actions/actions…
jtrobles-cdd Jul 19, 2023
7989119
chore: Bump actions/dependency-review-action from 3.0.4 to 3.0.6
dependabot[bot] Jul 20, 2023
007ca3f
Merge pull request #495 from fyntex/dependabot/github_actions/actions…
jtrobles-cdd Jul 20, 2023
0b7b69e
chore: Bump codecov/codecov-action from 3.1.3 to 3.1.4
dependabot[bot] Jul 21, 2023
4d4dd86
Merge pull request #494 from cordada/dependabot/github_actions/codeco…
jtrobles-cdd Jul 21, 2023
3ad2ac3
chore: Bump pyopenssl from 23.0.0 to 23.2.0
dependabot[bot] Jun 22, 2023
2373580
Merge pull request #497 from cordada/dependabot/pip/pyopenssl-23.2.0
jtrobles-cdd Jul 25, 2023
d44eb93
chore: Bump pygments from 2.13.0 to 2.15.0
dependabot[bot] Jul 20, 2023
6ecfd96
Merge pull request #505 from cordada/dependabot/pip/pygments-2.15.0
jtrobles-cdd Jul 25, 2023
1fbb106
chore: Bump requests from 2.25.1 to 2.31.0
dependabot[bot] May 23, 2023
fd7abf2
Merge pull request #492 from cordada/dependabot/pip/requests-2.31.0
jtrobles-cdd Jul 25, 2023
8c2b393
chore: Bump cryptography from 39.0.2 to 41.0.2
dependabot[bot] Jul 25, 2023
fb25d3a
Merge pull request #512 from cordada/dependabot/pip/cryptography-41.0.2
jtrobles-cdd Jul 25, 2023
1d2f288
chore(deps): Update `django` from 3.2.17 to 3.2.20
jtrobles-cdd Jul 25, 2023
1ec6f33
Merge pull request #513 from cordada/task/update-django
jtrobles-cdd Jul 25, 2023
e1916c6
chore(deps): Bump signxml from 3.1.0 to 3.2.0
dependabot[bot] May 9, 2023
64ee6af
Merge pull request #490 from cordada/dependabot/pip/signxml-3.2.0
jtrobles-cdd Jul 25, 2023
919e77e
chore(deps): Update `tox` from 3.25.1 to 4.6.4
jtrobles-cdd Jul 25, 2023
688df1b
Merge pull request #514 from cordada/task/update-tox
jtrobles-cdd Jul 25, 2023
3fed4f4
chore: Bump types-pyopenssl from 23.0.0.4 to 23.2.0.2
dependabot[bot] Jul 25, 2023
bcef248
Merge pull request #506 from cordada/dependabot/pip/types-pyopenssl-2…
jtrobles-cdd Jul 25, 2023
951a817
chore: Bump coverage from 7.1.0 to 7.2.7
dependabot[bot] Jun 22, 2023
8070832
Merge pull request #498 from cordada/dependabot/pip/coverage-7.2.7
jtrobles-cdd Jul 25, 2023
4e4a6b8
chore(deps): Update `certifi` from 2022.6.15 to 2023.7.22
jtrobles-cdd Jul 25, 2023
281617e
Merge pull request #515 from cordada/task/update-certifi
jtrobles-cdd Jul 25, 2023
438eece
chore: Update code owners
jtrobles-cdd Jul 25, 2023
ea45747
Merge pull request #516 from cordada/task/update-code-owners
jtrobles-cdd Jul 25, 2023
4600cd5
chore: Bump wheel from 0.38.4 to 0.41.0
dependabot[bot] Jul 25, 2023
37a695d
Merge pull request #511 from cordada/dependabot/pip/wheel-0.41.0
jtrobles-cdd Jul 25, 2023
1f84212
chore: Update history for new version
fpinto-cdd Jul 26, 2023
257d205
chore: Bump version from 0.23.0 to 0.23.1
fpinto-cdd Jul 26, 2023
2108d12
Merge pull request #517 from cordada/release/v0.23.1
fpinto-cdd Jul 26, 2023
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 .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.23.0
current_version = 0.23.1
commit = True
tag = False
message = chore: Bump version from {current_version} to {new_version}
Expand Down
18 changes: 11 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@v3.3.0
uses: actions/checkout@v3.5.3

- name: Set Up Python ${{ matrix.python_version }}
uses: actions/setup-python@v4.5.0
uses: actions/setup-python@v4.7.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@v3.2.6
uses: actions/cache@v3.3.1
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@v3.3.0
uses: actions/checkout@v3.5.3

- name: Set Up Python ${{ matrix.python_version }}
uses: actions/setup-python@v4.5.0
uses: actions/setup-python@v4.7.0
with:
python-version: "${{ matrix.python_version }}"

- name: Restoring/Saving Cache
uses: actions/cache@v3.2.6
uses: actions/cache@v3.3.1
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 @@ -120,7 +120,11 @@ jobs:
source "$PYTHON_VIRTUALENV_ACTIVATE"
make test-coverage-report

codecov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3.1.4
with:
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.
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 @@ -17,9 +17,9 @@ jobs:

steps:
- name: Check Out VCS Repository
uses: actions/checkout@v3.3.0
uses: actions/checkout@v3.5.3

- name: Dependency Review
uses: actions/dependency-review-action@v3.0.3
uses: actions/dependency-review-action@v3.0.6
with:
fail-on-severity: critical
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ jobs:

steps:
- name: Check Out VCS Repository
uses: actions/checkout@v3.3.0
uses: actions/checkout@v3.5.3

- name: Set Up Python
id: set_up_python
uses: actions/setup-python@v4.5.0
uses: actions/setup-python@v4.7.0
with:
python-version: "3.10.9"

- name: Restoring/Saving Cache
uses: actions/cache@v3.2.6
uses: actions/cache@v3.3.1
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
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@v3.3.0
uses: actions/checkout@v3.5.3

- name: Set Up Python
id: set_up_python
uses: actions/setup-python@v4.5.0
uses: actions/setup-python@v4.7.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@v3.2.6
uses: actions/cache@v3.3.1
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
6 changes: 5 additions & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
# Documentation: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

# Default
* @fyntex/developers
* @cordada/developers

# Dependencies
/requirements.*
/requirements-*.*
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,5 @@ This is done by the CI/CD system.
[^semver]: [Semantic Versioning](https://semver.org/)
[^git-alias-github-pr-summary]: Add a Git alias that generates a summary of changes from GitHub pull
requests:
`git config --global alias.lg-github-pr-summary \
`git config --global alias.lg-github-pr-summary
'!f() { git log --date=short --reverse --merges --grep "^Merge pull request #[[:digit:]]* from" --pretty="tformat:- (%C(auto,red)<S>%s</S>%C(reset), %C(auto,green)%ad%C(reset)) %b" "$@" | sed -E "s|<S>Merge pull request (#[0-9]+) from .+</S>|PR \1|"; }; f'` <!-- markdownlint-disable-line MD013 -->
34 changes: 34 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# History

## 0.23.1 (2023-07-26)

- (PR #478, 2023-04-05) Fix Git alias `lg-github-pr-summary` in Contributing Guidelines
- (PR #479, 2023-04-05) Update code owners for Python dependencies
- (PR #467, 2023-04-10) chore(deps): Bump importlib-metadata from 6.0.0 to 6.1.0
- (PR #483, 2023-04-18) Add Codecov to CI workflow
- (PR #466, 2023-04-18) chore: Bump actions/cache from 3.2.6 to 3.3.1
- (PR #465, 2023-04-18) chore: Bump actions/dependency-review-action from 3.0.3 to 3.0.4
- (PR #481, 2023-04-24) chore: Bump actions/checkout from 3.3.0 to 3.5.2
- (PR #480, 2023-04-24) chore(deps-dev): Bump mypy from 1.0.1 to 1.2.0
- (PR #473, 2023-04-24) chore(deps-dev): Bump types-pytz from 2022.7.1.2 to 2023.3.0.0
- (PR #471, 2023-04-24) chore(deps): Bump pytz from 2022.7.1 to 2023.3
- (PR #468, 2023-04-24) chore(deps): Bump cryptography from 39.0.1 to 39.0.2
- (PR #486, 2023-05-05) chore: Bump codecov/codecov-action from 3.1.2 to 3.1.3
- (PR #484, 2023-05-09) chore: Bump sqlparse from 0.4.2 to 0.4.4
- (PR #499, 2023-06-22) chore(deps): Update `black` from 23.1.0 to 23.3.0
- (PR #501, 2023-07-03) chore: Bump actions/checkout from 3.5.2 to 3.5.3
- (PR #502, 2023-07-03) chore(deps): Update `pip-tools` from 6.8.0 to 6.14.0
- (PR #504, 2023-07-19) chore: Bump actions/setup-python from 4.5.0 to 4.7.0
- (PR #495, 2023-07-20) chore: Bump actions/dependency-review-action from 3.0.4 to 3.0.6
- (PR #494, 2023-07-21) chore: Bump codecov/codecov-action from 3.1.3 to 3.1.4
- (PR #497, 2023-07-25) chore: Bump pyopenssl from 23.0.0 to 23.2.0
- (PR #505, 2023-07-25) chore: Bump pygments from 2.13.0 to 2.15.0
- (PR #492, 2023-07-25) chore: Bump requests from 2.25.1 to 2.31.0
- (PR #512, 2023-07-25) chore: Bump cryptography from 39.0.2 to 41.0.2
- (PR #513, 2023-07-25) chore(deps): Update `django` from 3.2.17 to 3.2.20
- (PR #490, 2023-07-25) chore(deps): Bump signxml from 3.1.0 to 3.2.0
- (PR #514, 2023-07-25) chore(deps): Update `tox` from 3.25.1 to 4.6.4
- (PR #506, 2023-07-25) chore: Bump types-pyopenssl from 23.0.0.4 to 23.2.0.2
- (PR #498, 2023-07-25) chore: Bump coverage from 7.1.0 to 7.2.7
- (PR #515, 2023-07-25) chore(deps): Update `certifi` from 2022.6.15 to 2023.7.22
- (PR #516, 2023-07-25) Update code owners
- (PR #511, 2023-07-25) chore: Bump wheel from 0.38.4 to 0.41.0

## 0.23.0 (2023-04-05)

- (PR #443, 2023-03-13) chore(deps-dev): Bump types-pytz from 2022.7.1.0 to 2022.7.1.2
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ PYTHON_PIP_VERSION_SPECIFIER = ==22.3.1
PYTHON_SETUPTOOLS_VERSION_SPECIFIER = ==58.1.0
PYTHON_WHEEL_VERSION_SPECIFIER = ==0.38.4
PYTHON_VIRTUALENV_DIR = venv
PYTHON_PIP_TOOLS_VERSION_SPECIFIER = ~=6.8.0
PYTHON_PIP_TOOLS_VERSION_SPECIFIER = ==6.14.0
PYTHON_PIP_TOOLS_SRC_FILES = requirements.in requirements-dev.in

# Black
Expand All @@ -21,7 +21,7 @@ TOXENV ?= py310
.PHONY: clean clean-build clean-pyc clean-test
.PHONY: install-dev install-deps-dev
.PHONY: lint lint-fix test test-all test-coverage
.PHONY: test-coverage-report test-coverage-report-console test-coverage-report-html
.PHONY: test-coverage-report test-coverage-report-console test-coverage-report-xml test-coverage-report-html
.PHONY: build dist deploy upload-release
.PHONE: python-virtualenv
.PHONY: python-deps-compile python-deps-sync-check python-pip-tools-install
Expand Down Expand Up @@ -87,12 +87,16 @@ test-coverage: ## run tests and record test coverage
coverage run --rcfile=setup.cfg setup.py test

test-coverage-report: test-coverage-report-console
test-coverage-report: test-coverage-report-xml
test-coverage-report: test-coverage-report-html
test-coverage-report: ## Run tests, measure code coverage, and generate reports

test-coverage-report-console: ## print test coverage summary
coverage report --rcfile=setup.cfg -m

test-coverage-report-xml: ## Generate test coverage XML report
coverage xml --rcfile=setup.cfg

test-coverage-report-html: ## generate test coverage HTML report
coverage html --rcfile=setup.cfg

Expand Down
2 changes: 1 addition & 1 deletion cl_sii/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"""


__version__ = '0.23.0'
__version__ = '0.23.1'
12 changes: 10 additions & 2 deletions cl_sii/libs/dataclass_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,16 @@ def _dc_deep_compare_to(value_a: object, value_b: object) -> DcDeepComparison:
return DcDeepComparison.EQUAL

# Remove dataclass attributes whose value is None.
self_dict_clean = {k: v for k, v in dataclasses.asdict(value_a).items() if v is not None}
value_dict_clean = {k: v for k, v in dataclasses.asdict(value_b).items() if v is not None}
self_dict_clean = {
k: v
for k, v in dataclasses.asdict(value_a).items() # type: ignore[call-overload]
if v is not None
}
value_dict_clean = {
k: v
for k, v in dataclasses.asdict(value_b).items() # type: ignore[call-overload]
if v is not None
}

if len(self_dict_clean) < len(value_dict_clean):
for k, v in self_dict_clean.items():
Expand Down
15 changes: 7 additions & 8 deletions requirements-dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@

-c requirements.txt

black==23.1.0
black==23.3.0
bumpversion==0.5.3
codecov==2.1.12
coverage==7.1.0
coverage==7.2.7
flake8==6.0.0
isort==5.12.0
mypy==1.0.1
tox==3.25.1
mypy==1.2.0
tox==4.6.4
twine==3.1.1
types-jsonschema==4.17.0.6
types-pyOpenSSL==23.0.0.4
types-pytz==2022.7.1.2
wheel==0.38.4
types-pyOpenSSL==23.2.0.2
types-pytz==2023.3.0.0
wheel==0.41.0
Loading