Skip to content

Commit c52fa19

Browse files
committed
Add support back for 3.6 & 3.7
1 parent 17b277e commit c52fa19

5 files changed

Lines changed: 103 additions & 7 deletions

File tree

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
test:
1414
strategy:
1515
matrix:
16-
python-versions: ["3.8", "3.9"]
16+
python-versions: ["3.6", "3.7", "3.8", "3.9"]
1717
os: [ubuntu-18.04, macos-latest, windows-latest]
1818
runs-on: ${{ matrix.os }}
1919

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Before you submit a pull request, check that it meets these guidelines:
9595
2. If the pull request adds functionality, the docs should be updated. Put
9696
your new functionality into a function with a docstring, and add the
9797
feature to the list in README.md.
98-
3. The pull request should work for Python 3.8 and 3.9. Check
98+
3. The pull request should work for Python 3.6, 3.7, 3.8 and 3.9. Check
9999
https://github.com/SetuHQ/setu-python-sdk/actions
100100
and make sure that the tests pass for all supported Python versions.
101101

poetry.lock

Lines changed: 94 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ classifiers=[
1313
'License :: OSI Approved :: MIT License',
1414
'Natural Language :: English',
1515
'Programming Language :: Python :: 3',
16+
'Programming Language :: Python :: 3.6',
17+
'Programming Language :: Python :: 3.7',
1618
'Programming Language :: Python :: 3.8',
1719
'Programming Language :: Python :: 3.9',
1820
]
@@ -22,7 +24,7 @@ packages = [
2224
]
2325

2426
[tool.poetry.dependencies]
25-
python = ">=3.8.0,<4.0"
27+
python = ">=3.6.2,<4.0"
2628
PyJWT = "^2.4.0"
2729
requests = "^2.27.1"
2830
marshmallow = "^3.14.1"
@@ -57,7 +59,7 @@ types-deprecated = "^1.2.9.2"
5759
[tool.black]
5860
line-length = 120
5961
skip-string-normalization = true
60-
target-version = ['py38']
62+
target-version = ['py36', 'py37', 'py38']
6163
include = '\.pyi?$'
6264
exclude = '''
6365
/(

setup.cfg

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,14 @@ exclude_lines =
4040

4141
[tox:tox]
4242
isolated_build = true
43-
envlist = py38, py39, format, lint, build
43+
envlist = py36, py37, py38, py39, format, lint, build
4444

4545
[gh-actions]
4646
python =
4747
3.9: py39
4848
3.8: py38, format, lint, build
49+
3.7: py37
50+
3.6: py36
4951

5052
[tool:pytest]
5153
log_cli = True

0 commit comments

Comments
 (0)