Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

chore(deps): update all dependencies - #1390

Merged
parthea merged 9 commits into
googleapis:mainfrom
renovate-bot:renovate/all
Jan 9, 2023
Merged

chore(deps): update all dependencies#1390
parthea merged 9 commits into
googleapis:mainfrom
renovate-bot:renovate/all

Conversation

@renovate-bot

@renovate-botrenovate-bot commented Oct 20, 2022

Copy link
Copy Markdown
Contributor

Mend Renovate

This PR contains the following updates:

PackageChangeAgeAdoptionPassingConfidence
Shapely==1.8.5.post1 -> ==2.0.0ageadoptionpassingconfidence
attrs (source, changelog)==22.1.0 -> ==22.2.0ageadoptionpassingconfidence
charset-normalizer==2.1.1 -> ==3.0.1ageadoptionpassingconfidence
db-dtypes==1.0.4 -> ==1.0.5ageadoptionpassingconfidence
geopandas (source)==0.12.1 -> ==0.12.2ageadoptionpassingconfidence
google-api-core==2.10.2 -> ==2.11.0ageadoptionpassingconfidence
google-auth==2.13.0 -> ==2.15.0ageadoptionpassingconfidence
google-auth-oauthlib==0.5.3 -> ==0.8.0ageadoptionpassingconfidence
google-cloud-bigquery==3.3.5 -> ==3.4.1ageadoptionpassingconfidence
google-cloud-bigquery-storage==2.16.2 -> ==2.17.0ageadoptionpassingconfidence
googleapis-common-protos==1.56.4 -> ==1.57.0ageadoptionpassingconfidence
grpcio==1.50.0 -> ==1.51.1ageadoptionpassingconfidence
ipython (source)==8.5.0 -> ==8.7.0ageadoptionpassingconfidence
ipywidgets==8.0.2 -> ==8.0.4ageadoptionpassingconfidence
libcst (changelog)==0.4.7 -> ==0.4.9ageadoptionpassingconfidence
matplotlib (source)==3.6.1 -> ==3.6.2ageadoptionpassingconfidence
mock (source)==4.0.3 -> ==5.0.0ageadoptionpassingconfidence
packaging==21.3 -> ==22.0ageadoptionpassingconfidence
pandas (source)==1.5.1 -> ==1.5.2ageadoptionpassingconfidence
pyarrow (source)==9.0.0 -> ==10.0.1ageadoptionpassingconfidence
pytest (source, changelog)==7.1.3 -> ==7.2.0ageadoptionpassingconfidence
pytz==2022.5 -> ==2022.7ageadoptionpassingconfidence
urllib3 (source)==1.26.12 -> ==1.26.13ageadoptionpassingconfidence

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate-bot
renovate-bot requested a review from a teamOctober 20, 2022 12:30
@renovate-bot
renovate-bot requested a review from a team as a code ownerOctober 20, 2022 12:30
@renovate-bot
renovate-bot requested a review from a teamOctober 20, 2022 12:30
@product-auto-labelproduct-auto-labelBot added the size: xs Pull request size is extra small. label Oct 20, 2022
@trusted-contributions-gcftrusted-contributions-gcfBot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Oct 20, 2022
@product-auto-labelproduct-auto-labelBot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Oct 20, 2022
@gcf-owl-botgcf-owl-botBot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 20, 2022
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 20, 2022
@renovate-botrenovate-bot changed the title chore(deps): update dependency charset-normalizer to v3chore(deps): update all dependenciesOct 24, 2022
@trusted-contributions-gcftrusted-contributions-gcfBot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Oct 24, 2022
@gcf-owl-botgcf-owl-botBot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 24, 2022
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 24, 2022
@parthea

Copy link
Copy Markdown
Contributor

@chalmerlowe Please could you take a look at the failures that appear with geopandas==0.12.0

=================================== FAILURES ===================================
__________________ Test_EmptyRowIterator.test_to_geodataframe __________________
self = Empty GeoDataFrame
Columns: []
Index: []
@property
def crs(self):
"""
The Coordinate Reference System (CRS) represented as a ``pyproj.CRS``
object.
Returns None if the CRS is not set, and to set the value it
:getter: Returns a ``pyproj.CRS`` or None. When setting, the value
can be anything accepted by
:meth:`pyproj.CRS.from_user_input() <pyproj.crs.CRS.from_user_input>`,
such as an authority string (eg "EPSG:4326") or a WKT string.
Examples
--------
>>> gdf.crs # doctest: +SKIP
<Geographic 2D CRS: EPSG:4326>
Name: WGS 84
Axis Info [ellipsoidal]:
- Lat[north]: Geodetic latitude (degree)
- Lon[east]: Geodetic longitude (degree)
Area of Use:
- name: World
- bounds: (-180.0, -90.0, 180.0, 90.0)
Datum: World Geodetic System 1984
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich
See also
--------
GeoDataFrame.set_crs : assign CRS
GeoDataFrame.to_crs : re-project to another CRS
"""
try:
> return self.geometry.crs
.nox/unit-3-9/lib/python3.9/site-packages/geopandas/geodataframe.py:431:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = Empty GeoDataFrame
Columns: []
Index: [], name = 'geometry'
def __getattr__(self, name: str):
"""
After regular attribute access, try looking up the name
This allows simpler access to columns for interactive use.
"""
# Note: obj.x will always call obj.__getattribute__('x') prior to
# calling obj.__getattr__('x').
if (
name not in self._internal_names_set
and name not in self._metadata
and name not in self._accessors
and self._info_axis._can_hold_identifiers_and_holds_name(name)
):
return self[name]
> return object.__getattribute__(self, name)
.nox/unit-3-9/lib/python3.9/site-packages/pandas/core/generic.py:5902:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = Empty GeoDataFrame
Columns: []
Index: []
def _get_geometry(self):
if self._geometry_column_name not in self:
if self._geometry_column_name is None:
msg = (
"You are calling a geospatial method on the GeoDataFrame, "
"but the active geometry column to use has not been set. "
)
else:
msg = (
"You are calling a geospatial method on the GeoDataFrame, "
f"but the active geometry column ('{self._geometry_column_name}') "
"is not present. "
)
geo_cols = list(self.columns[self.dtypes == "geometry"])
if len(geo_cols) > 0:
msg += (
f"\nThere are columns with geometry data type ({geo_cols}), and "
"you can either set one as the active geometry with "
'df.set_geometry("name") or access the column as a '
'GeoSeries (df["name"]) and call the method directly on it.'
)
else:
msg += (
"\nThere are no existing columns with geometry data type. You can "
"add a geometry column as the active geometry column with "
"df.set_geometry. "
)
> raise AttributeError(msg)
E AttributeError: You are calling a geospatial method on the GeoDataFrame, but the active geometry column ('geometry') is not present.
E There are no existing columns with geometry data type. You can add a geometry column as the active geometry column with df.set_geometry.
.nox/unit-3-9/lib/python3.9/site-packages/geopandas/geodataframe.py:232: AttributeError
During handling of the above exception, another exception occurred:
self = <tests.unit.test_table.Test_EmptyRowIterator testMethod=test_to_geodataframe>
@unittest.skipIf(geopandas is None, "Requires `geopandas`")
def test_to_geodataframe(self):
row_iterator = self._make_one()
df = row_iterator.to_geodataframe(create_bqstorage_client=False)
self.assertIsInstance(df, geopandas.GeoDataFrame)
self.assertEqual(len(df), 0) # verify the number of rows
> self.assertIsNone(df.crs)
tests/unit/test_table.py:1972:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.nox/unit-3-9/lib/python3.9/site-packages/pandas/core/generic.py:5902: in __getattr__
return object.__getattribute__(self, name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = Empty GeoDataFrame
Columns: []
Index: []
@property
def crs(self):
"""
The Coordinate Reference System (CRS) represented as a ``pyproj.CRS``
object.
Returns None if the CRS is not set, and to set the value it
:getter: Returns a ``pyproj.CRS`` or None. When setting, the value
can be anything accepted by
:meth:`pyproj.CRS.from_user_input() <pyproj.crs.CRS.from_user_input>`,
such as an authority string (eg "EPSG:4326") or a WKT string.
Examples
--------
>>> gdf.crs # doctest: +SKIP
<Geographic 2D CRS: EPSG:4326>
Name: WGS 84
Axis Info [ellipsoidal]:
- Lat[north]: Geodetic latitude (degree)
- Lon[east]: Geodetic longitude (degree)
Area of Use:
- name: World
- bounds: (-180.0, -90.0, 180.0, 90.0)
Datum: World Geodetic System 1984
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich
See also
--------
GeoDataFrame.set_crs : assign CRS
GeoDataFrame.to_crs : re-project to another CRS
"""
try:
return self.geometry.crs
except AttributeError:
> raise AttributeError(
"The CRS attribute of a GeoDataFrame without an active "
"geometry column is not defined. Use GeoDataFrame.set_geometry "
"to set the active geometry column."
)
E AttributeError: The CRS attribute of a GeoDataFrame without an active geometry column is not defined. Use GeoDataFrame.set_geometry to set the active geometry column.
.nox/unit-3-9/lib/python3.9/site-packages/geopandas/geodataframe.py:433: AttributeError

@trusted-contributions-gcftrusted-contributions-gcfBot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Oct 24, 2022
@gcf-owl-botgcf-owl-botBot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 24, 2022
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 24, 2022
@trusted-contributions-gcftrusted-contributions-gcfBot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Oct 25, 2022
@product-auto-labelproduct-auto-labelBot added size: s Pull request size is small. and removed size: xs Pull request size is extra small. labels Oct 25, 2022
@gcf-owl-botgcf-owl-botBot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Oct 31, 2022
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Oct 31, 2022
@trusted-contributions-gcftrusted-contributions-gcfBot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Nov 1, 2022
@gcf-owl-botgcf-owl-botBot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 1, 2022
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 1, 2022
@trusted-contributions-gcftrusted-contributions-gcfBot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Nov 2, 2022
@gcf-owl-botgcf-owl-botBot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 2, 2022
@chalmerlowe

Copy link
Copy Markdown
Collaborator

The geopandas test problem is fixed in this PR.

@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 2, 2022
@trusted-contributions-gcftrusted-contributions-gcfBot added kokoro:force-run Add this label to force Kokoro to re-run the tests. owlbot:run Add this label to trigger the Owlbot post processor. labels Nov 14, 2022
@gcf-owl-botgcf-owl-botBot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 14, 2022
@yoshi-kokoroyoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 14, 2022
@aribrayaribray added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 14, 2022
@chalmerlowe

chalmerlowe commented Nov 17, 2022

Copy link
Copy Markdown
Collaborator

@parthea

I jumped into 'python-db-dtypes-pandas' and removed the upper bound that it had for pyarrow. That change was merged and is in main, but has not been released yet. When it gets released, it should eliminate the errors we are seeing here.

Reference: googleapis/python-db-dtypes-pandas#155

@chalmerlowechalmerlowe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Waiting on the results of a merger in an alternate repo to help clear up the hour failing tests related to pyarrow. See note above.

@forking-renovate

Copy link
Copy Markdown

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@chalmerlowe

chalmerlowe commented Dec 21, 2022

Copy link
Copy Markdown
Collaborator

Four of the failing tests are because this system is comparing the dependencies here to dependencies required in python-db-dtypes-pandas (i.e. pyarrow < 10.0.0dev).

But that upper bound has been removed from python-db-dtypes as of this commit: googleapis/python-db-dtypes-pandas@388e082

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.size: sPull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@renovate-bot@parthea@chalmerlowe@yoshi-kokoro@aribray