Skip to content

GH-36752: [Python] Remove AWS SDK bundling when building wheels - #36925

Merged
kou merged 6 commits into
apache:mainfrom
raulcd:GH-36752
Aug 3, 2023
Merged

GH-36752: [Python] Remove AWS SDK bundling when building wheels#36925
kou merged 6 commits into
apache:mainfrom
raulcd:GH-36752

Conversation

@raulcd

@raulcdraulcd commented Jul 28, 2023

Copy link
Copy Markdown
Member

Rationale for this change

In #12227 we decided to use a bundled version of the AWS SDK when compiling Python wheels, in order to downgrade the AWS SDK version.

Now that we have fixed S3 finalization issues (#36442), it should be ok to rely on the vcpkg-installed version of the AWS SDK again.

What changes are included in this PR?

Remove use of bundled AWS SDK and use S3 vcpkg feature for requirements.

Are these changes tested?

On CI and via crossbow

Are there any user-facing changes?

No

@raulcd

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit -g wheel

@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #36752has been automatically assigned in GitHub to PR creator.

@github-actionsgithub-actionsBot added the awaiting committer review Awaiting committer review label Jul 28, 2023
@raulcd

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit java-jars

@github-actions

Copy link
Copy Markdown

Revision: 887cb1ddbab5add3aeaf408f687c8a1563fa9c7d

Submitted crossbow builds: ursacomputing/crossbow @ actions-fdcf65c07d

TaskStatus
wheel-cleanGithub Actions
wheel-macos-big-sur-cp310-arm64Github Actions
wheel-macos-big-sur-cp311-arm64Github Actions
wheel-macos-big-sur-cp38-arm64Github Actions
wheel-macos-big-sur-cp39-arm64Github Actions
wheel-macos-mojave-cp310-amd64Github Actions
wheel-macos-mojave-cp311-amd64Github Actions
wheel-macos-mojave-cp38-amd64Github Actions
wheel-macos-mojave-cp39-amd64Github Actions
wheel-manylinux-2-28-cp310-amd64Github Actions
wheel-manylinux-2-28-cp310-arm64Github Actions
wheel-manylinux-2-28-cp311-amd64Github Actions
wheel-manylinux-2-28-cp311-arm64Github Actions
wheel-manylinux-2-28-cp38-amd64Github Actions
wheel-manylinux-2-28-cp38-arm64Github Actions
wheel-manylinux-2-28-cp39-amd64Github Actions
wheel-manylinux-2-28-cp39-arm64Github Actions
wheel-manylinux-2014-cp310-amd64Github Actions
wheel-manylinux-2014-cp310-arm64Github Actions
wheel-manylinux-2014-cp311-amd64Github Actions
wheel-manylinux-2014-cp311-arm64Github Actions
wheel-manylinux-2014-cp38-amd64Github Actions
wheel-manylinux-2014-cp38-arm64Github Actions
wheel-manylinux-2014-cp39-amd64Github Actions
wheel-manylinux-2014-cp39-arm64Github Actions
wheel-windows-cp310-amd64Github Actions
wheel-windows-cp311-amd64Github Actions
wheel-windows-cp38-amd64Github Actions
wheel-windows-cp39-amd64Github Actions

@github-actions

Copy link
Copy Markdown

Revision: 887cb1ddbab5add3aeaf408f687c8a1563fa9c7d

Submitted crossbow builds: ursacomputing/crossbow @ actions-1b69832c2b

TaskStatus
java-jarsGithub Actions

@raulcd

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit java-jars

@github-actions

Copy link
Copy Markdown

Revision: 241e89c

Submitted crossbow builds: ursacomputing/crossbow @ actions-9d816ef1c2

TaskStatus
java-jarsGithub Actions

@kou

kou commented Aug 1, 2023

Copy link
Copy Markdown
Member

@raulcd

Copy link
Copy Markdown
MemberAuthor

Can we change https://github.com/apache/arrow/blob/main/ci/scripts/python_wheel_windows_build.bat too?

Thanks @kou, I didn't see that one :)

@raulcd

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit -g wheel

@github-actions

Copy link
Copy Markdown

Revision: 1fb7e2c

Submitted crossbow builds: ursacomputing/crossbow @ actions-33ffe17146

TaskStatus
wheel-cleanGithub Actions
wheel-macos-big-sur-cp310-arm64Github Actions
wheel-macos-big-sur-cp311-arm64Github Actions
wheel-macos-big-sur-cp38-arm64Github Actions
wheel-macos-big-sur-cp39-arm64Github Actions
wheel-macos-mojave-cp310-amd64Github Actions
wheel-macos-mojave-cp311-amd64Github Actions
wheel-macos-mojave-cp38-amd64Github Actions
wheel-macos-mojave-cp39-amd64Github Actions
wheel-manylinux-2-28-cp310-amd64Github Actions
wheel-manylinux-2-28-cp310-arm64Github Actions
wheel-manylinux-2-28-cp311-amd64Github Actions
wheel-manylinux-2-28-cp311-arm64Github Actions
wheel-manylinux-2-28-cp38-amd64Github Actions
wheel-manylinux-2-28-cp38-arm64Github Actions
wheel-manylinux-2-28-cp39-amd64Github Actions
wheel-manylinux-2-28-cp39-arm64Github Actions
wheel-manylinux-2014-cp310-amd64Github Actions
wheel-manylinux-2014-cp310-arm64Github Actions
wheel-manylinux-2014-cp311-amd64Github Actions
wheel-manylinux-2014-cp311-arm64Github Actions
wheel-manylinux-2014-cp38-amd64Github Actions
wheel-manylinux-2014-cp38-arm64Github Actions
wheel-manylinux-2014-cp39-amd64Github Actions
wheel-manylinux-2014-cp39-arm64Github Actions
wheel-windows-cp310-amd64Github Actions
wheel-windows-cp311-amd64Github Actions
wheel-windows-cp38-amd64Github Actions
wheel-windows-cp39-amd64Github Actions

@raulcd

Copy link
Copy Markdown
MemberAuthor

@github-actions crossbow submit wheel-windows-cp310-amd64

@github-actions

Copy link
Copy Markdown

Revision: c04d057

Submitted crossbow builds: ursacomputing/crossbow @ actions-c3320dac1a

TaskStatus
wheel-windows-cp310-amd64Github Actions

@raulcd

Copy link
Copy Markdown
MemberAuthor

The Windows wheel failure is now unrelated, see the above issue.
The build is successful with aws-sdk-cpp from VCPKG, it is failing due to a couple of tests that are failing on main too.

kou
kou approved these changes Aug 2, 2023

@koukou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1

Comment thread.github/workflows/java_jni.yml Outdated
@github-actionsgithub-actionsBot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Aug 2, 2023
@github-actionsgithub-actionsBot added awaiting changes Awaiting changes and removed awaiting merge Awaiting merge labels Aug 3, 2023
@github-actionsgithub-actionsBot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Aug 3, 2023
@kou
kou merged commit 9b3bf08 into apache:mainAug 3, 2023
@koukou removed the awaiting change review Awaiting change review label Aug 3, 2023
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 9b3bf08.

There were 3 benchmark results indicating a performance regression:

The full Conbench report has more details.

loicalleyne pushed a commit to loicalleyne/arrow that referenced this pull request Nov 13, 2023
…apache#36925)
### Rationale for this change
In apache#12227 we decided to use a bundled version of the AWS SDK when compiling Python wheels, in order to downgrade the AWS SDK version.
Now that we have fixed S3 finalization issues (apache#36442), it should be ok to rely on the vcpkg-installed version of the AWS SDK again.
### What changes are included in this PR?
Remove use of bundled AWS SDK and use S3 vcpkg feature for requirements.
### Are these changes tested?
On CI and via crossbow
### Are there any user-facing changes?
No
* Closes: apache#36752
Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for freeto 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.

[Python] Remove AWS SDK bundling when building wheels

2 participants

@raulcd@kou