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

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

Merged
merged 6 commits into from
Aug 3, 2023

Conversation

raulcd
Copy link
Member

@raulcd raulcd commented Jul 28, 2023

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
Member Author

raulcd commented Jul 28, 2023

@github-actions crossbow submit -g wheel

@github-actions
Copy link

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

@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Jul 28, 2023
@raulcd
Copy link
Member Author

raulcd commented Jul 28, 2023

@github-actions crossbow submit java-jars

@github-actions
Copy link

Revision: 887cb1d

Submitted crossbow builds: ursacomputing/crossbow @ actions-fdcf65c07d

Task Status
wheel-clean Github Actions
wheel-macos-big-sur-cp310-arm64 Github Actions
wheel-macos-big-sur-cp311-arm64 Github Actions
wheel-macos-big-sur-cp38-arm64 Github Actions
wheel-macos-big-sur-cp39-arm64 Github Actions
wheel-macos-mojave-cp310-amd64 Github Actions
wheel-macos-mojave-cp311-amd64 Github Actions
wheel-macos-mojave-cp38-amd64 Github Actions
wheel-macos-mojave-cp39-amd64 Github Actions
wheel-manylinux-2-28-cp310-amd64 Github Actions
wheel-manylinux-2-28-cp310-arm64 Github Actions
wheel-manylinux-2-28-cp311-amd64 Github Actions
wheel-manylinux-2-28-cp311-arm64 Github Actions
wheel-manylinux-2-28-cp38-amd64 Github Actions
wheel-manylinux-2-28-cp38-arm64 Github Actions
wheel-manylinux-2-28-cp39-amd64 Github Actions
wheel-manylinux-2-28-cp39-arm64 Github Actions
wheel-manylinux-2014-cp310-amd64 Github Actions
wheel-manylinux-2014-cp310-arm64 Github Actions
wheel-manylinux-2014-cp311-amd64 Github Actions
wheel-manylinux-2014-cp311-arm64 Github Actions
wheel-manylinux-2014-cp38-amd64 Github Actions
wheel-manylinux-2014-cp38-arm64 Github Actions
wheel-manylinux-2014-cp39-amd64 Github Actions
wheel-manylinux-2014-cp39-arm64 Github Actions
wheel-windows-cp310-amd64 Github Actions
wheel-windows-cp311-amd64 Github Actions
wheel-windows-cp38-amd64 Github Actions
wheel-windows-cp39-amd64 Github Actions

@github-actions
Copy link

Revision: 887cb1d

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

Task Status
java-jars Github Actions

@raulcd
Copy link
Member Author

raulcd commented Aug 1, 2023

@github-actions crossbow submit java-jars

@github-actions
Copy link

github-actions bot commented Aug 1, 2023

Revision: 241e89c

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

Task Status
java-jars Github Actions

@kou
Copy link
Member

kou commented Aug 1, 2023

@raulcd
Copy link
Member Author

raulcd commented Aug 1, 2023

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
Member Author

raulcd commented Aug 1, 2023

@github-actions crossbow submit -g wheel

@github-actions
Copy link

github-actions bot commented Aug 1, 2023

Revision: 1fb7e2c

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

Task Status
wheel-clean Github Actions
wheel-macos-big-sur-cp310-arm64 Github Actions
wheel-macos-big-sur-cp311-arm64 Github Actions
wheel-macos-big-sur-cp38-arm64 Github Actions
wheel-macos-big-sur-cp39-arm64 Github Actions
wheel-macos-mojave-cp310-amd64 Github Actions
wheel-macos-mojave-cp311-amd64 Github Actions
wheel-macos-mojave-cp38-amd64 Github Actions
wheel-macos-mojave-cp39-amd64 Github Actions
wheel-manylinux-2-28-cp310-amd64 Github Actions
wheel-manylinux-2-28-cp310-arm64 Github Actions
wheel-manylinux-2-28-cp311-amd64 Github Actions
wheel-manylinux-2-28-cp311-arm64 Github Actions
wheel-manylinux-2-28-cp38-amd64 Github Actions
wheel-manylinux-2-28-cp38-arm64 Github Actions
wheel-manylinux-2-28-cp39-amd64 Github Actions
wheel-manylinux-2-28-cp39-arm64 Github Actions
wheel-manylinux-2014-cp310-amd64 Github Actions
wheel-manylinux-2014-cp310-arm64 Github Actions
wheel-manylinux-2014-cp311-amd64 Github Actions
wheel-manylinux-2014-cp311-arm64 Github Actions
wheel-manylinux-2014-cp38-amd64 Github Actions
wheel-manylinux-2014-cp38-arm64 Github Actions
wheel-manylinux-2014-cp39-amd64 Github Actions
wheel-manylinux-2014-cp39-arm64 Github Actions
wheel-windows-cp310-amd64 Github Actions
wheel-windows-cp311-amd64 Github Actions
wheel-windows-cp38-amd64 Github Actions
wheel-windows-cp39-amd64 Github Actions

@raulcd
Copy link
Member Author

raulcd commented Aug 2, 2023

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

@github-actions
Copy link

github-actions bot commented Aug 2, 2023

Revision: c04d057

Submitted crossbow builds: ursacomputing/crossbow @ actions-c3320dac1a

Task Status
wheel-windows-cp310-amd64 Github Actions

@raulcd
Copy link
Member Author

raulcd commented Aug 2, 2023

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.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

.github/workflows/java_jni.yml Outdated Show resolved Hide resolved
@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Aug 2, 2023
@github-actions github-actions bot added awaiting changes Awaiting changes and removed awaiting merge Awaiting merge labels Aug 3, 2023
@github-actions github-actions bot added awaiting change review Awaiting change review and removed awaiting changes Awaiting changes labels Aug 3, 2023
@kou kou merged commit 9b3bf08 into apache:main Aug 3, 2023
51 of 53 checks passed
@kou kou removed the awaiting change review Awaiting change review label Aug 3, 2023
@conbench-apache-arrow
Copy link

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 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.

[Python] Remove AWS SDK bundling when building wheels
2 participants