Skip to content

Lower version requirements for python-dateutil in generated client #298 #299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `setup` will generate a pyproject.toml with no Poetry information, and instead create a `setup.py` with the
project info.
- `none` will not create a project folder at all, only the inner package folder (which won't be inner anymore)
- Lowered the minimum version of `python-dateutil` for improved dependency compatibility with other projects


## 0.7.3 - 2020-12-21
Expand Down
2 changes: 1 addition & 1 deletion end_to_end_tests/golden-record-custom/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include = ["CHANGELOG.md", "custom_e2e/py.typed"]
python = "^3.6"
httpx = ">=0.15.4,<0.17.0"
attrs = "^20.1.0"
python-dateutil = "^2.8.1"
python-dateutil = "^2.8.0"

[tool.black]
line-length = 120
Expand Down
2 changes: 1 addition & 1 deletion end_to_end_tests/golden-record/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include = ["CHANGELOG.md", "my_test_api_client/py.typed"]
python = "^3.6"
httpx = ">=0.15.4,<0.17.0"
attrs = "^20.1.0"
python-dateutil = "^2.8.1"
python-dateutil = "^2.8.0"

[tool.black]
line-length = 120
Expand Down
2 changes: 1 addition & 1 deletion openapi_python_client/templates/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include = ["CHANGELOG.md", "{{ package_name }}/py.typed"]
python = "^3.6"
httpx = ">=0.15.4,<0.17.0"
attrs = "^20.1.0"
python-dateutil = "^2.8.1"
python-dateutil = "^2.8.0"

[tool.black]
line-length = 120
Expand Down
2 changes: 1 addition & 1 deletion openapi_python_client/templates/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
package_dir={"": "{{ package_name }}"},
packages=find_packages(where="{{ package_name }}"),
python_requires=">=3.6, <4",
install_requires=["httpx >= 0.15.0, < 0.17.0", "attrs >= 20.1.0", "python-dateutil >= 2.8.1, < 3"],
install_requires=["httpx >= 0.15.0, < 0.17.0", "attrs >= 20.1.0", "python-dateutil >= 2.8.0, < 3"],
package_data={"": ["CHANGELOG.md"], "{{ package_name }}": ["py.typed"]},
)