Skip to content

Commit b19e47a

Browse files
authored
chore: Remove Remaining Python 3.6 references (#570)
BREAKING CHANGE: Python 3.6 is officially not supported. The minimum version has been updated to reflect this.
1 parent 7d9ddc9 commit b19e47a

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

end_to_end_tests/golden-record/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ packages = [
1212
include = ["CHANGELOG.md", "my_test_api_client/py.typed"]
1313

1414
[tool.poetry.dependencies]
15-
python = "^3.6"
15+
python = "^3.7"
1616
httpx = ">=0.15.4,<0.22.0"
1717
attrs = ">=20.1.0,<22.0.0"
1818
python-dateutil = "^2.8.0"
@@ -23,7 +23,7 @@ build-backend = "poetry.core.masonry.api"
2323

2424
[tool.black]
2525
line-length = 120
26-
target_version = ['py36', 'py37', 'py38']
26+
target_version = ['py37', 'py38', 'py39']
2727
exclude = '''
2828
(
2929
/(

integration-tests/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ packages = [
1010
include = ["CHANGELOG.md", "open_api_test_server_client/py.typed"]
1111

1212
[tool.poetry.dependencies]
13-
python = "^3.6"
13+
python = "^3.7"
1414
httpx = ">=0.15.4,<0.22.0"
1515
attrs = ">=20.1.0,<22.0.0"
1616
python-dateutil = "^2.8.0"
@@ -24,7 +24,7 @@ build-backend = "poetry.masonry.api"
2424

2525
[tool.black]
2626
line-length = 120
27-
target_version = ['py36', 'py37', 'py38']
27+
target_version = ['py37', 'py38', 'py39']
2828
exclude = '''
2929
(
3030
/(

openapi_python_client/templates/pyproject.toml.jinja

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ packages = [
1313
include = ["CHANGELOG.md", "{{ package_name }}/py.typed"]
1414

1515
[tool.poetry.dependencies]
16-
python = "^3.6"
16+
python = "^3.7"
1717
httpx = ">=0.15.4,<0.22.0"
1818
attrs = ">=20.1.0,<22.0.0"
1919
python-dateutil = "^2.8.0"
@@ -25,7 +25,7 @@ build-backend = "poetry.core.masonry.api"
2525
{% endif %}
2626
[tool.black]
2727
line-length = 120
28-
target_version = ['py36', 'py37', 'py38']
28+
target_version = ['py37', 'py38', 'py39']
2929
exclude = '''
3030
(
3131
/(

openapi_python_client/templates/setup.py.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ setup(
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",
1414
packages=["{{ package_name }}"],
15-
python_requires=">=3.6, <4",
15+
python_requires=">=3.7, <4",
1616
install_requires=["httpx >= 0.15.0, < 0.22.0", "attrs >= 20.1.0, < 22.0.0", "python-dateutil >= 2.8.0, < 3"],
1717
package_data={"{{ package_name }}": ["py.typed"]},
1818
)

pyproject.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ packages = [
1919
include = ["CHANGELOG.md", "openapi_python_client/py.typed"]
2020

2121
[tool.poetry.dependencies]
22-
python = "^3.6.2"
22+
python = "^3.7"
2323
jinja2 = "^3.0.0"
2424
typer = "^0.3"
2525
colorama = {version = "^0.4.3", markers = "sys_platform == 'win32'"}
@@ -51,7 +51,6 @@ typer-cli = "^0.0.12"
5151
types-PyYAML = "^6.0.3"
5252
types-certifi = "^2020.0.0"
5353
types-python-dateutil = "^2.0.0"
54-
types-dataclasses = { version = "^0.6.0", python = "<3.7" }
5554
pylint = "^2.9.6"
5655

5756
[tool.taskipy.tasks]
@@ -83,7 +82,7 @@ docs = "typer openapi_python_client/cli.py utils docs > usage.md"
8382

8483
[tool.black]
8584
line-length = 120
86-
target_version = ['py36', 'py37', 'py38']
85+
target_version = ['py37', 'py38', 'py39']
8786
exclude = '''
8887
(
8988
/(

0 commit comments

Comments
 (0)