Skip to content

Commit 0a865da

Browse files
authored
fix: remove faulty version matcher in setup.py (#2152)
`httplib2<1dev` is ~not~ a valid version matcher (edit: it is valid, just doesn't parse with distlib) in the sense of [PEP 440](https://peps.python.org/pep-0440/). > The canonical public version identifiers MUST comply with the following scheme: > `[N!]N(.N)*[{a|b|rc}N][.postN][.devN]` It is also considered bad practice to have an upper bound on package versions and installers like pip do not consider development versions in any case (unless explicitly told to). Fixes #2151
1 parent 116c1ab commit 0a865da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,16 @@
3333
packages = ["apiclient", "googleapiclient", "googleapiclient/discovery_cache"]
3434

3535
install_requires = [
36-
"httplib2>=0.15.0,<1dev",
36+
"httplib2>=0.15.0,<1.dev0",
3737
# NOTE: Maintainers, please do not require google-auth>=2.x.x
3838
# Until this issue is closed
3939
# https://github.com/googleapis/google-cloud-python/issues/10566
40-
"google-auth>=1.19.0,<3.0.0dev",
40+
"google-auth>=1.19.0,<3.0.0.dev0",
4141
"google-auth-httplib2>=0.1.0",
4242
# NOTE: Maintainers, please do not require google-api-core>=2.x.x
4343
# Until this issue is closed
4444
# https://github.com/googleapis/google-cloud-python/issues/10566
45-
"google-api-core >= 1.31.5, <3.0.0dev,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",
45+
"google-api-core >= 1.31.5, <3.0.0.dev0,!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.0",
4646
"uritemplate>=3.0.1,<5",
4747
]
4848

0 commit comments

Comments
 (0)