Skip to content

Commit 691cea9

Browse files
Jim Fultonrenovate-botgcf-owl-bot[bot]
authored
chore: Update many dependencies: v2 for api-core, cloud-core and auth and bigquery (#282)
* chore(deps): update dependency charset-normalizer to v2.0.4 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore(deps): update dependency google-cloud-bigquery-storage to v2.6.3 * chore(deps): update dependency google-resumable-media to v1.3.3 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore(deps): update dependency greenlet to v1.1.1 * chore(deps): update dependency importlib-metadata to v4.6.4 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore(deps): update dependency libcst to v0.3.20 * chore(deps): update dependency pybigquery to v0.10.1 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore(deps): update dependency dataclasses to v0.8 * chore(deps): update dependency google-auth to v1.35.0 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore(deps): update dependency google-cloud-bigquery to v2.24.0 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore(deps): update dependency numpy to v1.21.2 * chore(deps): update dependency pandas to v1.3.2 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore(deps): update dependency pyproj to v3.1.0 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore(deps): update dependency google-auth to v2 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * Update requirements.txt * minor sorting * chore(deps): update dependency sqlalchemy to v1.4.23 * Use older pyproj for Python 3.6 * Use older version of pandas for Python 3.6 * Use older numpy for Python 3.6 * Use older dataclasses for Python 3.8 and earlier * Don't need dataclasses for 3.7 and later, as they're in the standard library * chore(deps): update dependency google-api-core to v2 * chore(deps): update dependency google-cloud-core to v2 * require google-cloud-bigquery 2.24.1 (or greater) * Include tests dependencies in noxfile * Include tests dependencies in noxfile for compliance tests Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent e323adf commit 691cea9

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

noxfile.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ def default(session):
9999
)
100100

101101
if session.python == "3.8":
102-
extras = "[alembic]"
102+
extras = "[tests,alembic]"
103103
elif session.python == "3.9":
104-
extras = "[geography]"
104+
extras = "[tests,geography]"
105105
else:
106-
extras = ""
106+
extras = "[tests]"
107107
session.install("-e", f".{extras}", "-c", constraints_path)
108108

109109
# Run py.test against the unit tests.
@@ -157,11 +157,11 @@ def system(session):
157157
# virtualenv's dist-packages.
158158
session.install("mock", "pytest", "google-cloud-testutils", "-c", constraints_path)
159159
if session.python == "3.8":
160-
extras = "[alembic]"
160+
extras = "[tests,alembic]"
161161
elif session.python == "3.9":
162-
extras = "[geography]"
162+
extras = "[tests,geography]"
163163
else:
164-
extras = ""
164+
extras = "[tests]"
165165
session.install("-e", f".{extras}", "-c", constraints_path)
166166

167167
# Run py.test against the system tests.
@@ -211,11 +211,11 @@ def compliance(session):
211211
constraints_path,
212212
)
213213
if session.python == "3.8":
214-
extras = "[alembic]"
214+
extras = "[tests,alembic]"
215215
elif session.python == "3.9":
216-
extras = "[geography]"
216+
extras = "[tests,geography]"
217217
else:
218-
extras = ""
218+
extras = "[tests]"
219219
session.install("-e", f".{extras}", "-c", constraints_path)
220220

221221
session.run(

owlbot.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
# ----------------------------------------------------------------------------
2828
# Add templated files
2929
# ----------------------------------------------------------------------------
30-
extras = []
30+
extras = ["tests"]
3131
extras_by_python = {
32-
"3.8": ["alembic"],
33-
"3.9": ["geography"],
32+
"3.8": ["tests", "alembic"],
33+
"3.9": ["tests", "geography"],
3434
}
3535
templated_files = common.py_library(
3636
unit_test_python_versions=["3.6", "3.7", "3.8", "3.9"],
@@ -135,11 +135,11 @@ def compliance(session):
135135
constraints_path,
136136
)
137137
if session.python == "3.8":
138-
extras = "[alembic]"
138+
extras = "[tests,alembic]"
139139
elif session.python == "3.9":
140-
extras = "[geography]"
140+
extras = "[tests,geography]"
141141
else:
142-
extras = ""
142+
extras = "[tests]"
143143
session.install("-e", f".{extras}", "-c", constraints_path)
144144
145145
session.run(

samples/snippets/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ Fiona==1.8.20
1414
future==0.18.2
1515
GeoAlchemy2==0.9.3
1616
geopandas==0.9.0
17-
google-api-core==1.31.2
18-
google-auth==1.35.0
19-
google-cloud-bigquery==2.24.0
17+
google-api-core==2.0.0
18+
google-auth==2.0.0
19+
google-cloud-bigquery==2.24.1
2020
google-cloud-bigquery-storage==2.6.3
21-
google-cloud-core==1.7.2
21+
google-cloud-core==2.0.0
2222
google-crc32c==1.1.2
2323
google-resumable-media==1.3.3
2424
googleapis-common-protos==1.53.0

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def readme():
4545
return f.read()
4646

4747

48-
extras = dict(geography=["GeoAlchemy2", "shapely"], alembic=["alembic"],)
48+
extras = dict(geography=["GeoAlchemy2", "shapely"], alembic=["alembic"], tests=["pytz"])
4949
extras["all"] = set(itertools.chain.from_iterable(extras.values()))
5050

5151
setup(
@@ -79,7 +79,7 @@ def readme():
7979
# Until this issue is closed
8080
# https://github.com/googleapis/google-cloud-python/issues/10566
8181
"google-auth>=1.25.0,<3.0.0dev", # Work around pip wack.
82-
"google-cloud-bigquery>=2.19.0",
82+
"google-cloud-bigquery>=2.24.1",
8383
"sqlalchemy>=1.2.0,<1.5.0dev",
8484
"future",
8585
],

0 commit comments

Comments
 (0)