Skip to content
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

Can install pypi package pmtiles #7728

Closed
giswqs opened this issue Sep 26, 2024 · 2 comments
Closed

Can install pypi package pmtiles #7728

giswqs opened this issue Sep 26, 2024 · 2 comments
Labels
question Asking for clarification or support

Comments

@giswqs
Copy link

giswqs commented Sep 26, 2024

Get the following error. However, the pmtiles source distribution does have setup.py. Any advice?

Error: https://github.com/opengeos/leafmap/actions/runs/11061972073/job/30735570607

Resolved 237 packages in 1.10s
error: Failed to prepare distributions
Caused by: Failed to fetch wheel: pmtiles==3.4.0
Caused by: /home/runner/work/_temp/setup-uv-cache/built-wheels-v3/pypi/pmtiles/3.4.0/KFhLlWVwzsoZmsd89qTP3/pmtiles-3.4.0.tar.gz does not appear to be a Python project, as neither pyproject.toml nor setup.py are present in the directory

Workflow: https://github.com/opengeos/leafmap/blob/master/.github/workflows/docs-build.yml#L40

pmtiles: https://pypi.org/project/pmtiles/3.4.0/#files

Install pmtiles on a local computer:

image

@zanieb
Copy link
Member

zanieb commented Sep 27, 2024

This looks like a cache bug (#7485) can you upgrade to a newer version of uv?

@zanieb zanieb added the question Asking for clarification or support label Sep 27, 2024
@giswqs
Copy link
Author

giswqs commented Sep 27, 2024

@zanieb Many thanks for your prompt response! Update uv to v0.4.16 solves the issue.

@giswqs giswqs closed this as completed Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Asking for clarification or support
Projects
None yet
Development

No branches or pull requests

2 participants