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

fix(dev/release): handle versioning scheme in binary verification #1834

Merged
merged 2 commits into from
May 8, 2024

Conversation

lidavidm
Copy link
Member

@lidavidm lidavidm commented May 8, 2024

Fixes #1833.

Copy link
Member

@zeroshade zeroshade left a comment

Choose a reason for hiding this comment

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

All looks good to me, but this isn't my expertise area

@lidavidm lidavidm marked this pull request as ready for review May 8, 2024 01:40
@lidavidm lidavidm requested a review from kou as a code owner May 8, 2024 01:40
@lidavidm
Copy link
Member Author

lidavidm commented May 8, 2024

@kou how does this look?

I am working on a new release, but the binary verification failed: https://github.com/apache/arrow-adbc/actions/runs/8994046699/job/24706918875

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

@@ -693,6 +702,8 @@ test_linux_wheels() {
local arch="x86_64"
fi

local declared_package_version="${VERSION_NATIVE}"
local package_version="${TEST_PYARROW_VERSION:-${declared_package_version}}"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
local package_version="${TEST_PYARROW_VERSION:-${declared_package_version}}"
local package_version="${TEST_ADBC_VERSION:-${declared_package_version}}"

Or TEST_ADBC_PYTHON_VERSION.

(I think that we can always use ${VERSION_NATIVE} here.)

Copy link
Member Author

Choose a reason for hiding this comment

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

Changed to always use VERSION_NATIVE

# apple silicon processor
if [ "$(uname -m)" = "arm64" ]; then
local platform_tags="arm64"
else
local platform_tags="x86_64"
fi

local declared_package_version="${VERSION_NATIVE}"
local package_version="${TEST_PYARROW_VERSION:-${declared_package_version}}"
Copy link
Member

Choose a reason for hiding this comment

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

ditto.

@kou kou merged commit 2d842cb into apache:main May 8, 2024
14 checks passed
@lidavidm lidavidm deleted the gh-1833 branch May 8, 2024 04:49
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.

dev/release: binary verification needs adjusting for the new versioning scheme
3 participants