Skip to content

Commit 032a4a4

Browse files
renovate[bot]renovate-botdbanty
authored
feat(deps): Allow for attrs 21.x in generated clients (#412)
* fix(deps): update dependency attrs to v21 * feat(deps): Allow for attrs 21.x in generated clients Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Dylan Anthony <contact@dylananthony.com>
1 parent a731477 commit 032a4a4

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

end_to_end_tests/golden-record/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ include = ["CHANGELOG.md", "my_test_api_client/py.typed"]
1515
[tool.poetry.dependencies]
1616
python = "^3.6"
1717
httpx = ">=0.15.4,<0.19.0"
18-
attrs = "^20.1.0"
18+
attrs = ">=20.1.0,<22.0.0"
1919
python-dateutil = "^2.8.0"
2020

2121
[tool.black]

openapi_python_client/templates/pyproject.toml.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ include = ["CHANGELOG.md", "{{ package_name }}/py.typed"]
1515
[tool.poetry.dependencies]
1616
python = "^3.6"
1717
httpx = ">=0.15.4,<0.19.0"
18-
attrs = "^20.1.0"
18+
attrs = ">=20.1.0,<22.0.0"
1919
python-dateutil = "^2.8.0"
2020
2121
[tool.black]

openapi_python_client/templates/setup.py.jinja

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ setup(
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.19.0", "attrs >= 20.1.0", "python-dateutil >= 2.8.0, < 3"],
17+
install_requires=["httpx >= 0.15.0, < 0.19.0", "attrs >= 20.1.0, < 22.0.0", "python-dateutil >= 2.8.0, < 3"],
1818
package_data={"": ["CHANGELOG.md"], "{{ package_name }}": ["py.typed"]},
1919
)

poetry.lock

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ isort = "^5.0.5"
2929
pyyaml = "^5.3.1"
3030
importlib_metadata = {version = "^2.0.0", python = "<3.8"}
3131
pydantic = "^1.6.1"
32-
attrs = "^20.1.0"
32+
attrs = "^21.0.0"
3333
python-dateutil = "^2.8.1"
3434
httpx = ">=0.15.4,<0.19.0"
3535
autoflake = "^1.4"

0 commit comments

Comments
 (0)