Skip to content

Commit

Permalink
chore: Update many dependencies: v2 for api-core, cloud-core and auth…
Browse files Browse the repository at this point in the history
… 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>
  • Loading branch information
3 people committed Aug 19, 2021
1 parent e323adf commit 691cea9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
18 changes: 9 additions & 9 deletions noxfile.py
Expand Up @@ -99,11 +99,11 @@ def default(session):
)

if session.python == "3.8":
extras = "[alembic]"
extras = "[tests,alembic]"
elif session.python == "3.9":
extras = "[geography]"
extras = "[tests,geography]"
else:
extras = ""
extras = "[tests]"
session.install("-e", f".{extras}", "-c", constraints_path)

# Run py.test against the unit tests.
Expand Down Expand Up @@ -157,11 +157,11 @@ def system(session):
# virtualenv's dist-packages.
session.install("mock", "pytest", "google-cloud-testutils", "-c", constraints_path)
if session.python == "3.8":
extras = "[alembic]"
extras = "[tests,alembic]"
elif session.python == "3.9":
extras = "[geography]"
extras = "[tests,geography]"
else:
extras = ""
extras = "[tests]"
session.install("-e", f".{extras}", "-c", constraints_path)

# Run py.test against the system tests.
Expand Down Expand Up @@ -211,11 +211,11 @@ def compliance(session):
constraints_path,
)
if session.python == "3.8":
extras = "[alembic]"
extras = "[tests,alembic]"
elif session.python == "3.9":
extras = "[geography]"
extras = "[tests,geography]"
else:
extras = ""
extras = "[tests]"
session.install("-e", f".{extras}", "-c", constraints_path)

session.run(
Expand Down
12 changes: 6 additions & 6 deletions owlbot.py
Expand Up @@ -27,10 +27,10 @@
# ----------------------------------------------------------------------------
# Add templated files
# ----------------------------------------------------------------------------
extras = []
extras = ["tests"]
extras_by_python = {
"3.8": ["alembic"],
"3.9": ["geography"],
"3.8": ["tests", "alembic"],
"3.9": ["tests", "geography"],
}
templated_files = common.py_library(
unit_test_python_versions=["3.6", "3.7", "3.8", "3.9"],
Expand Down Expand Up @@ -135,11 +135,11 @@ def compliance(session):
constraints_path,
)
if session.python == "3.8":
extras = "[alembic]"
extras = "[tests,alembic]"
elif session.python == "3.9":
extras = "[geography]"
extras = "[tests,geography]"
else:
extras = ""
extras = "[tests]"
session.install("-e", f".{extras}", "-c", constraints_path)
session.run(
Expand Down
8 changes: 4 additions & 4 deletions samples/snippets/requirements.txt
Expand Up @@ -14,11 +14,11 @@ Fiona==1.8.20
future==0.18.2
GeoAlchemy2==0.9.3
geopandas==0.9.0
google-api-core==1.31.2
google-auth==1.35.0
google-cloud-bigquery==2.24.0
google-api-core==2.0.0
google-auth==2.0.0
google-cloud-bigquery==2.24.1
google-cloud-bigquery-storage==2.6.3
google-cloud-core==1.7.2
google-cloud-core==2.0.0
google-crc32c==1.1.2
google-resumable-media==1.3.3
googleapis-common-protos==1.53.0
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -45,7 +45,7 @@ def readme():
return f.read()


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

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

0 comments on commit 691cea9

Please sign in to comment.