Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
df076b3
config: Make CI 'dist' job depend on 'test' jobs
jtrh Sep 15, 2020
9ae9241
Merge pull request #140 from fyntex/feature/update-ci-workflow-job-deps
jtrh Sep 15, 2020
6949b48
config: Update Python version used in CI jobs to 3.8.5
jtrh Sep 15, 2020
00f8aa2
Merge pull request #141 from fyntex/feature/update-ci-python
jtrh Sep 15, 2020
1ff12c3
build(deps): bump keyring from 21.2.0 to 21.4.0
dependabot[bot] Sep 15, 2020
1c11112
Merge pull request #137 from fyntex/dependabot/pip/keyring-21.4.0
jtrh Sep 15, 2020
effadc4
build(deps): bump mypy from 0.770 to 0.782
dependabot[bot] Sep 16, 2020
7240e01
Merge pull request #142 from fyntex/dependabot/pip/mypy-0.782
jtrh Sep 16, 2020
7f671d9
build(deps): bump setuptools from 46.1.3 to 50.3.0
dependabot[bot] Sep 18, 2020
be57eab
Merge pull request #145 from fyntex/dependabot/pip/setuptools-50.3.0
jtrh Sep 21, 2020
7e1c8e6
build(deps): bump wheel from 0.34.2 to 0.35.1
dependabot[bot] Sep 22, 2020
62476d6
Merge pull request #146 from fyntex/dependabot/pip/wheel-0.35.1
jtrh Sep 24, 2020
0ea3862
requirements: update 'eight' (dependency of 'signxml')
jtrh Sep 24, 2020
ef07d9d
Merge pull request #147 from fyntex/feature/update-eight
jtrh Sep 24, 2020
d6d99ab
build(deps): bump packaging from 20.3 to 20.4
dependabot[bot] Sep 24, 2020
0b99b57
Merge pull request #149 from fyntex/dependabot/pip/packaging-20.4
jtrh Sep 24, 2020
018de80
build(deps): bump virtualenv from 20.0.26 to 20.0.31
dependabot[bot] Sep 25, 2020
e0fe790
Merge pull request #150 from fyntex/dependabot/pip/virtualenv-20.0.31
jtrh Sep 28, 2020
1d8c549
requirements: Update 'flake8'
jtrh Nov 12, 2020
d641558
scripts: Fix linter errors
jtrh Nov 12, 2020
b938901
Merge pull request #157 from fyntex/feature/update-flake8
jtrh Nov 12, 2020
676ed6b
requirements: Update 'signxml'
jtrh Nov 12, 2020
1c042ec
Merge pull request #158 from fyntex/feature/update-signxml
jtrh Nov 12, 2020
59d970e
Add support for Python 3.9
jtrh Dec 15, 2020
6dce7a9
Merge pull request #161 from fyntex/feature/add-python-3.9-support
jtrh Dec 15, 2020
493285a
build(deps): bump cryptography from 2.9 to 3.3.1
dependabot[bot] Dec 15, 2020
3dbe0b7
Merge pull request #160 from fyntex/dependabot/pip/cryptography-3.3.1
jtrh Dec 15, 2020
0e26c9a
config: Update Python 3.7 version to 3.7.9
jtrh Dec 15, 2020
75186c2
Merge pull request #162 from fyntex/feature/update-python3.7-ci-version
jtrh Dec 15, 2020
592d1c5
build(deps): bump attrs from 19.3.0 to 20.3.0
dependabot[bot] Dec 15, 2020
5a28009
Merge pull request #156 from fyntex/dependabot/pip/attrs-20.3.0
jtrh Dec 15, 2020
2776c08
build(deps): update djangorestframework requirement
dependabot[bot] Sep 28, 2020
3edffbd
Merge pull request #151 from fyntex/dependabot/pip/djangorestframewor…
jtrh Dec 15, 2020
00c5db5
requirements: update 'mypy' (test)
jtrh Dec 16, 2020
02baa3c
Merge pull request #163 from fyntex/feature/update-mypy
jtrh Dec 16, 2020
3dd29c9
requirements: update 'tox' (test)
jtrh Dec 16, 2020
0c9ea0a
Merge pull request #164 from fyntex/feature/update-tox
jtrh Dec 16, 2020
45610e0
HISTORY: update for new version
jtrh Dec 16, 2020
ffa260f
Bump version: 0.11.0 → 0.11.1
jtrh Dec 16, 2020
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.11.0
current_version = 0.11.1
commit = True
tag = True

Expand Down
16 changes: 9 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
type: string

docker:
- image: python:<< parameters.python_version >>
- image: docker.io/library/python:<< parameters.python_version >>

working_directory: ~/repo

Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:

dist:
docker:
- image: python:3.7.2
- image: docker.io/library/python:3.8.5

working_directory: ~/repo

Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:

deploy:
docker:
- image: python:3.7.2
- image: docker.io/library/python:3.8.5
environment:
<<: *x-deploy-environment

Expand Down Expand Up @@ -148,10 +148,12 @@ workflows:
matrix:
parameters:
python_version:
- "3.7.2"
- "3.7.6"
- "3.8.3"
- dist
- "3.7.9"
- "3.8.5"
- "3.9.1"
- dist:
requires:
- test
- deploy:
requires:
- dist
Expand Down
23 changes: 23 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
History
-------

0.11.1 (2020-12-15)
+++++++++++++++++++++++

* (PR #140, 2020-09-15) config: Make CI 'dist' job depend on 'test' jobs
* (PR #141, 2020-09-15) config: Update Python version used in CI jobs to 3.8.5
* (PR #137, 2020-09-15) build(deps): bump keyring from 21.2.0 to 21.4.0
* (PR #142, 2020-09-16) build(deps): bump mypy from 0.770 to 0.782
* (PR #145, 2020-09-21) build(deps): bump setuptools from 46.1.3 to 50.3.0
* (PR #146, 2020-09-23) build(deps): bump wheel from 0.34.2 to 0.35.1
* (PR #147, 2020-09-23) requirements: update 'eight' (dependency of 'signxml')
* (PR #149, 2020-09-24) build(deps): bump packaging from 20.3 to 20.4
* (PR #150, 2020-09-28) build(deps): bump virtualenv from 20.0.26 to 20.0.31
* (PR #157, 2020-11-12) requirements: Update 'flake8'
* (PR #158, 2020-11-12) requirements: Update 'signxml'
* (PR #161, 2020-12-15) Add support for Python 3.9
* (PR #160, 2020-12-15) build(deps): bump cryptography from 2.9 to 3.3.1
* (PR #162, 2020-12-15) config: Update Python 3.7 version to 3.7.9
* (PR #156, 2020-12-15) build(deps): bump attrs from 19.3.0 to 20.3.0
* (PR #151, 2020-12-15) build(deps): update djangorestframework requirement
from <3.11,>=3.10.3 to >=3.10.3,<3.13
* (PR #163, 2020-12-15) requirements: update 'mypy' (test)
* (PR #164, 2020-12-15) requirements: update 'tox' (test)

0.11.0 (2020-09-15)
+++++++++++++++++++++++

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Status
Supported Python versions
-------------------------

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

Quickstart
----------
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.11.0'
__version__ = '0.11.1'
10 changes: 5 additions & 5 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# note: it is mandatory to register all dependencies of the required packages.

# Required packages:
cryptography==2.9
cryptography==3.2
defusedxml==0.6.0
jsonschema==3.2.0
lxml==4.5.0
marshmallow==2.19.5
pyOpenSSL==18.0.0
pytz==2019.3
signxml==2.8.0
signxml==2.8.1

# Packages dependencies:
# - cryptography:
Expand All @@ -31,11 +31,11 @@ signxml==2.8.0
# - lxml
# - pyOpenSSL
# - six
attrs==19.3.0
attrs==20.3.0
certifi==2020.4.5.1
cffi==1.14.0
eight==0.4.2
future==0.16.0
eight==1.0.0
future==0.18.2
importlib-metadata==1.6.0; python_version<'3.8'
pycparser==2.20
pyrsistent==0.16.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/extras.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Required packages:
Django>=2.2.10,<3
djangorestframework>=3.10.3,<3.11
djangorestframework>=3.10.3,<3.13

# Packages dependencies:
# - Django:
Expand Down
6 changes: 3 additions & 3 deletions requirements/release.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

# Required packages:
bumpversion==0.5.3
setuptools==46.1.3
setuptools==50.3.0
twine==3.1.1
wheel==0.34.2
wheel==0.35.1

# Packages dependencies:
# - twine:
Expand Down Expand Up @@ -42,7 +42,7 @@ wheel==0.34.2
# idna
importlib-metadata==1.6.0
# jeepney
keyring==21.2.0
keyring==21.4.0
pkginfo==1.5.0.1
# Pygments
readme-renderer==25.0
Expand Down
16 changes: 8 additions & 8 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# Required packages:
codecov==2.1.9
coverage==4.5.3
flake8==3.7.9
mypy==0.770
tox==3.16.1
flake8==3.8.4
mypy==0.790
tox==3.20.1

# Packages dependencies:
# - codecov:
Expand Down Expand Up @@ -52,17 +52,17 @@ filelock==3.0.12
importlib-metadata==1.6.0
mccabe==0.6.1
mypy-extensions==0.4.3
packaging==20.3
packaging==20.4
pluggy==0.13.1
py==1.8.1
pycodestyle==2.5.0
pyflakes==2.1.1
pycodestyle==2.6.0
pyflakes==2.2.0
# pyparsing
# requests
# six
toml==0.10.1
typed-ast==1.4.1
typing-extensions==3.7.4.2
typing-extensions==3.7.4.3
# urllib3
virtualenv==20.0.26
virtualenv==20.0.31
# zipp
4 changes: 2 additions & 2 deletions scripts/clean_dte_xml_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ def main_dir_files(input_files_dir_path: str) -> None:
input_file_path=input_file_path,
output_file_path=output_file_path)

print(f"Difference between input and output files:")
print("Difference between input and output files:")
diff_line = None
for diff_line in file_bytes_diff_gen:
print(diff_line)
if diff_line is None:
print(f"No difference.")
print("No difference.")


if __name__ == '__main__':
Expand Down
7 changes: 4 additions & 3 deletions setup.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_version(*file_paths: Sequence[str]) -> str:
history = open('HISTORY.rst').read().replace('.. :changelog:', '')

requirements = [
'cryptography>=2.8,<3',
'cryptography>=2.8,<4',
'defusedxml>=0.6.0,<1',
'jsonschema>=3.1.1',
'lxml>=4.5.0,<5',
Expand All @@ -35,7 +35,7 @@ def get_version(*file_paths: Sequence[str]) -> str:

extras_requirements = {
'django': ['Django>=2.2.10,<3'],
'djangorestframework': ['djangorestframework>=3.10.3,<3.11'],
'djangorestframework': ['djangorestframework>=3.10.3,<3.13'],
}

setup_requirements = [
Expand Down Expand Up @@ -76,6 +76,7 @@ def get_version(*file_paths: Sequence[str]) -> str:
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
description="""Python library for Servicio de Impuestos Internos (SII) of Chile.""",
extras_require=extras_requirements,
Expand All @@ -87,7 +88,7 @@ def get_version(*file_paths: Sequence[str]) -> str:
name='cl-sii',
package_data=_package_data,
packages=find_packages(exclude=['docs', 'tests*']),
python_requires='>=3.7, <3.9',
python_requires='>=3.7, <3.10',
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
envlist =
py37,
py38,
py39,

[testenv]
setenv =
Expand All @@ -12,3 +13,4 @@ deps =
basepython =
py37: python3.7
py38: python3.8
py39: python3.9