-
Notifications
You must be signed in to change notification settings - Fork 78
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
Release version 0.7.0 #7
Comments
I would like to participate in the release process to familiarize myself with the ASF specification. |
I would like to see us start releasing this project again, but I don't have sufficient knowledge about Python. I would love to pair with someone to get a release out. @isidentical I was curious - do you have any interest in the DataFusion Python bindings? |
I used to do release while it is hosted in datafusion-contrib org, if help is needed I can share more. |
Thanks @jimexist. Is there any documentation on how to do the release? I guess the first step is getting this kind of documentation into the repo. |
@andygrove @jimexist also let me know if there is anything I can help with. |
I am quite unfamiliar with the release procedure of this repo, but here are my observations on how the basic flow of a release might look like:
|
I'm interested in doing some work on this, anyone who needs my help please assign me. |
|
|
If we are ok with just running |
I think these are enough, does @isidentical has anything else to add? |
I think |
I am not super sure if Another idea is checking out cross compilation from maturin. I haven't used it and maybe it won't help with such a complex dependency chain as ours but it might be worth a shot. https://www.maturin.rs/distribution.html#build-wheels & https://www.maturin.rs/distribution.html#cross-compile-to-linuxmacos |
Maybe we can learn from how Polars does this. It looks like they use |
|
To make sure I understand this correctly... we already have a GitHub workflow to build the wheels when we tag the repo, so if we go ahead with a release now, we can always run |
@isidentical @francis-du @jimexist Let me know what you think of the previous statement/question ☝️. Any reason I should not go ahead and cut a release candidate now? It has been more than 6 months since the last release so I am keen to get some momentum going again. |
That seems to be my understanding as well. Wheels are basically pre-packaged versions of source distributions; so if there is no formal guidelines on binary publishing in ASF I think you can start the voting process directly on the source distributions and once we cut it we should be able to build wheels for it separately. |
FYI one way to have a thing for people to test out is instead of publishing a release candidate, publish to testpypi |
last time I did publish, I used twine and upload it like any other python packages. maturin was used in prior steps to build the artifacts. |
I pushed a 0.7.0-rc1 tag, and it built the wheels. The artifacts are available for download at the bottom of this page: https://github.com/apache/arrow-datafusion-python/actions/runs/3549837792 |
I started a vote on the mailing list: https://lists.apache.org/thread/1nh72rdvywbxyyjhgqs3jd5xrnhx6n5f |
I am now trying to upload to testpypi using twine (based on the instructions at https://packaging.python.org/en/latest/tutorials/packaging-projects/) but am running into an error. $ python3 -m twine upload --repository testpypi --verbose datafusion-0.7.0-cp37-abi3*.whl
Uploading distributions to https://test.pypi.org/legacy/
INFO datafusion-0.7.0-cp37-abi3-macosx_10_7_x86_64.whl (9.4 MB)
INFO datafusion-0.7.0-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (11.9 MB)
INFO datafusion-0.7.0-cp37-abi3-win_amd64.whl (10.0 MB)
INFO Querying keyring for username
Enter your username: __token__
INFO Querying keyring for password
Enter your password:
INFO username: __token__
INFO password: <hidden>
Uploading datafusion-0.7.0-cp37-abi3-macosx_10_7_x86_64.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.9/9.9 MB • 00:06 • 1.7 MB/s
INFO Response from https://test.pypi.org/legacy/:
400 Invalid value for project_urls. Error: Use valid URL.
INFO <html>
<head>
<title>400 Invalid value for project_urls. Error: Use valid URL.</title>
</head>
<body>
<h1>400 Invalid value for project_urls. Error: Use valid URL.</h1>
The server could not comply with the request since it is either malformed or otherwise incorrect.<br/><br/>
Invalid value for project_urls. Error: Use valid URL.
</body>
</html> Any idea what I am doing wrong @jimexist @isidentical? |
I think the issue may be that in f0d5659#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711 we removed the |
I would like to propose releasing version 0.7.0.
Checklist:
The text was updated successfully, but these errors were encountered: