-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify or remove script dependencies #178
Comments
It looks like part of the issue is that the dependencies haven't been touched in a year and some are old and possibly harder to install. Like it looks like the lockfile is bringing in |
In an effort to get though this, I tried /Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/_compat.py:111: UserWarning: The Shapely GEOS version (3.11.1-CAPI-1.17.1) is incompatible with the GEOS version PyGEOS was compiled with (3.10.1-CAPI-1.16.0). Conversions between both will be slow.
warnings.warn(
Traceback (most recent call last):
File "/Users/tim/projects/geoparquet/scripts/generate_example.py", line 21, in <module>
df = df.to_crs("crs84")
File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/geodataframe.py", line 1275, in to_crs
geom = df.geometry.to_crs(crs=crs, epsg=epsg)
File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/geoseries.py", line 1120, in to_crs
self.values.to_crs(crs=crs, epsg=epsg), index=self.index, name=self.name
File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/geopandas/array.py", line 768, in to_crs
crs = CRS.from_user_input(crs)
File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/pyproj/crs/crs.py", line 501, in from_user_input
return cls(value, **kwargs)
File "/Users/tim/Library/Caches/pypoetry/virtualenvs/geoparquet-scripts-pt2NyYug-py3.10/lib/python3.10/site-packages/pyproj/crs/crs.py", line 348, in __init__
self._local.crs = _CRS(self.srs)
File "pyproj/_crs.pyx", line 2366, in pyproj._crs._CRS.__init__
pyproj.exceptions.CRSError: Invalid projection: crs84: (Internal Proj Error: proj_create: unrecognized format / unknown name) |
I made #179. I think the |
The release procedure currently involves running the Python scripts in the
scripts
directory to update version numbers in some example data. The scripts readme suggests using Poetry to manage the scripts' dependencies.I have just followed the instructions on installing Poetry. After changing into the
scripts
directory and runningpoetry install
, this is what I get frompoetry run python generate_example.py
:The text was updated successfully, but these errors were encountered: