Skip to content

fix(ci): Use $ROOT/dist for wheel distribution#2506

Merged
chaokunyang merged 1 commit into
apache:mainfrom
esafak:fix/2505_dist_path
Aug 24, 2025
Merged

fix(ci): Use $ROOT/dist for wheel distribution#2506
chaokunyang merged 1 commit into
apache:mainfrom
esafak:fix/2505_dist_path

Conversation

@esafak
Copy link
Copy Markdown
Contributor

@esafak esafak commented Aug 24, 2025

Why

The python wheels were not being found.

What does this PR do?

  • Update deploy.sh to use the $ROOT/dist path for storing wheels.
  • This change ensures consistent wheel distribution across different platforms.
  • Fixes an issue where wheels were being placed in relative ../dist directories.

Related issues

Fixes #2505

* Update deploy.sh to use the $ROOT/dist path for storing wheels.
* This change ensures consistent wheel distribution across different platforms.
* Fixes an issue where wheels were being placed in relative ../dist directories.

Fixes apache#2505
@chaokunyang
Copy link
Copy Markdown
Collaborator

@pandalee99 Please cherry-pick this PR to releases-0.12 for v0.12.1 release

@chaokunyang chaokunyang merged commit 645faf5 into apache:main Aug 24, 2025
59 checks passed
@esafak
Copy link
Copy Markdown
Contributor Author

esafak commented Aug 24, 2025

No don't I'm not ready

@esafak
Copy link
Copy Markdown
Contributor Author

esafak commented Aug 24, 2025

Sorry I was just about to mark it as draft

@esafak esafak deleted the fix/2505_dist_path branch August 24, 2025 14:42
@esafak
Copy link
Copy Markdown
Contributor Author

esafak commented Aug 24, 2025

Actually I think it might work as is; could you release?

@chaokunyang
Copy link
Copy Markdown
Collaborator

Actually I think it might work as is; could you release?

cc @pandalee99

chaokunyang pushed a commit that referenced this pull request Aug 25, 2025
## Why

The python wheels were not being found.

## What does this PR do?

* Update deploy.sh to use the $ROOT/dist path for storing wheels.
* This change ensures consistent wheel distribution across different
platforms.
* Fixes an issue where wheels were being placed in relative ../dist
directories.

## Related issues

Fixes #2505
@chaokunyang
Copy link
Copy Markdown
Collaborator

@esafak
Copy link
Copy Markdown
Contributor Author

esafak commented Aug 25, 2025

The Windows wheels fail to build because I neglected to specify the bash shell, as you noticed. #2511

chaokunyang pushed a commit that referenced this pull request Aug 25, 2025
## Why?

* Wheels were not created on Windows because it does not use bash by
default
* Once that works, downloading them will fail because
`actions/download-artifact` requires the `run-id` to access artifacts
from different workflows.

## What does this PR do?

* Add `actions: read` permission to release workflow.
* Configure `download-artifact` action to use `run-id` and `pattern` for
downloading wheels from a previous workflow run.
* Enable `merge-multiple` for downloading artifacts.
* Add `shell: bash` to build step in native release workflow.


## Related issues

#2506
chaokunyang pushed a commit that referenced this pull request Aug 25, 2025
## Why?

* Wheels were not created on Windows because it does not use bash by
default
* Once that works, downloading them will fail because
`actions/download-artifact` requires the `run-id` to access artifacts
from different workflows.

## What does this PR do?

* Add `actions: read` permission to release workflow.
* Configure `download-artifact` action to use `run-id` and `pattern` for
downloading wheels from a previous workflow run.
* Enable `merge-multiple` for downloading artifacts.
* Add `shell: bash` to build step in native release workflow.

## Related issues

#2506
chaokunyang pushed a commit that referenced this pull request Aug 27, 2025
## Why

The python wheels were not being found.

## What does this PR do?

* Update deploy.sh to use the $ROOT/dist path for storing wheels.
* This change ensures consistent wheel distribution across different
platforms.
* Fixes an issue where wheels were being placed in relative ../dist
directories.

## Related issues

Fixes #2505
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release python wheel failed

2 participants