Skip to content

Commit 7871264

Browse files
unpin cattrs version, restrict python to <=3.9.9
1 parent ccde3cc commit 7871264

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

python/Pipfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ tox-pyenv = "*"
2626
[packages]
2727
requests = "*"
2828
attrs = "*"
29-
cattrs = "==1.1.2"
29+
cattrs = "*"
3030
python-dateutil = "*"
3131

3232
[requires]
33-
python_full_version = "3.8.2"
33+
# pin python at 3.9.9 due to https://github.com/looker-open-source/sdk-codegen/issues/944
34+
python_full_version = "3.9.9"
3435

3536
[pipenv]
3637
# for `black`

python/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"python-dateutil;python_version<'3.7'",
3939
# Python 3.7+
4040
"attrs >= 20.1.0;python_version>='3.7'",
41-
"cattrs == 1.1.2;python_version>='3.7'",
4241
"typing-extensions;python_version<'3.8'",
4342
]
4443

@@ -54,7 +53,8 @@
5453
name=NAME,
5554
package_data={"looker_sdk": ["py.typed", "looker_sdk/looker-sample.ini"]},
5655
packages=find_packages(),
57-
python_requires="~=3.6",
56+
# restrict python to <=3.9.9 due to https://github.com/looker-open-source/sdk-codegen/issues/944
57+
python_requires=">=3.6, <=3.9.9",
5858
url="https://pypi.python.org/pypi/looker_sdk",
5959
version=VERSION,
6060
)

0 commit comments

Comments
 (0)