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

.tar.gz build fails due to tool.uv.sources #8236

Closed
charliermarsh opened this issue Oct 16, 2024 · 0 comments · Fixed by #8235
Closed

.tar.gz build fails due to tool.uv.sources #8236

charliermarsh opened this issue Oct 16, 2024 · 0 comments · Fixed by #8235
Labels
bug Something isn't working

Comments

@charliermarsh
Copy link
Member

Yup, I am fighting that behaviour right now in the Airflow repo: apache/airflow#43056

When I tried to bump uv to 0.4.22 our build from sdist started failing with the following.

error: Failed to build: `apache-airflow @ file:///dist/apache_airflow-3.0.0.dev0.tar.gz`
  Caused by: Failed to parse entry for: `local-providers`
  Caused by: Package is not included as workspace package in `tool.uv.workspace`

It works if I run uv pip install --no-sources but I feel for uv pip install should have similar behavior as other tools and maybe explicitly have flags to install things from [uv.tool.sources]

Originally posted by @kaxil in #7147 (comment)

@charliermarsh charliermarsh added the bug Something isn't working label Oct 16, 2024
kaxil added a commit to astronomer/airflow that referenced this issue Oct 17, 2024
Now that astral-sh/uv#8236 is fixed (a bug in uv 0.4.22), we can remove `--no-sources` (used in `uv pip install`) introduced in apache#43056
kaxil added a commit to apache/airflow that referenced this issue Oct 17, 2024
Now that astral-sh/uv#8236 is fixed (a bug in uv 0.4.22), we can remove `--no-sources` (used in `uv pip install`) introduced in #43056
R7L208 pushed a commit to R7L208/airflow that referenced this issue Oct 17, 2024
Now that astral-sh/uv#8236 is fixed (a bug in uv 0.4.22), we can remove `--no-sources` (used in `uv pip install`) introduced in apache#43056
harjeevanmaan pushed a commit to harjeevanmaan/airflow that referenced this issue Oct 23, 2024
Now that astral-sh/uv#8236 is fixed (a bug in uv 0.4.22), we can remove `--no-sources` (used in `uv pip install`) introduced in apache#43056
PaulKobow7536 pushed a commit to PaulKobow7536/airflow that referenced this issue Oct 24, 2024
Now that astral-sh/uv#8236 is fixed (a bug in uv 0.4.22), we can remove `--no-sources` (used in `uv pip install`) introduced in apache#43056
ellisms pushed a commit to ellisms/airflow that referenced this issue Nov 13, 2024
Now that astral-sh/uv#8236 is fixed (a bug in uv 0.4.22), we can remove `--no-sources` (used in `uv pip install`) introduced in apache#43056
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant