Skip to content

Commit b203eb0

Browse files
committed
Lower version requirements for python-dateutil in generated client openapi-generators#298
1 parent 701ea77 commit b203eb0

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
- `setup` will generate a pyproject.toml with no Poetry information, and instead create a `setup.py` with the
1414
project info.
1515
- `none` will not create a project folder at all, only the inner package folder (which won't be inner anymore)
16+
- Lowered the minimum version of `python-dateutil` for improved dependency compatibility with other projects
1617

1718

1819
## 0.7.3 - 2020-12-21

end_to_end_tests/golden-record-custom/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ include = ["CHANGELOG.md", "custom_e2e/py.typed"]
1616
python = "^3.6"
1717
httpx = ">=0.15.4,<0.17.0"
1818
attrs = "^20.1.0"
19-
python-dateutil = "^2.8.1"
19+
python-dateutil = "^2.8.0"
2020

2121
[tool.black]
2222
line-length = 120

end_to_end_tests/golden-record/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ include = ["CHANGELOG.md", "my_test_api_client/py.typed"]
1616
python = "^3.6"
1717
httpx = ">=0.15.4,<0.17.0"
1818
attrs = "^20.1.0"
19-
python-dateutil = "^2.8.1"
19+
python-dateutil = "^2.8.0"
2020

2121
[tool.black]
2222
line-length = 120

openapi_python_client/templates/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ include = ["CHANGELOG.md", "{{ package_name }}/py.typed"]
1616
python = "^3.6"
1717
httpx = ">=0.15.4,<0.17.0"
1818
attrs = "^20.1.0"
19-
python-dateutil = "^2.8.1"
19+
python-dateutil = "^2.8.0"
2020

2121
[tool.black]
2222
line-length = 120

openapi_python_client/templates/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
package_dir={"": "{{ package_name }}"},
1515
packages=find_packages(where="{{ package_name }}"),
1616
python_requires=">=3.6, <4",
17-
install_requires=["httpx >= 0.15.0, < 0.17.0", "attrs >= 20.1.0", "python-dateutil >= 2.8.1, < 3"],
17+
install_requires=["httpx >= 0.15.0, < 0.17.0", "attrs >= 20.1.0", "python-dateutil >= 2.8.0, < 3"],
1818
package_data={"": ["CHANGELOG.md"], "{{ package_name }}": ["py.typed"]},
1919
)

0 commit comments

Comments
 (0)