You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "Huy1Ng (via GitHub)" <gi...@apache.org> on 2025/08/10 08:38:19 UTC
[PR] Improve GitHub actions/python workflows [datafusion-ballista]
Huy1Ng opened a new pull request, #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289
# Which issue does this PR close?
#1288
#1271
Closes #.
# Rationale for this change
This is to improve the Python CI workflow, which is horribly slow at the moment. Like previous PR, I tried to reuse the CI workflows from the bigger datafusion-python repo. This also update rust to latest version and edition, which seems to help a lot with compilation time on rust and python workflows
# What changes are included in this PR?
- use uv for python build (in line with datafusion-python)
- update to edition 2024 and rust 1.89.0
- re-enable python formater
- add pytest job to pre-verify python build integrity
# Are there any user-facing changes?
Yes. uv use pyproject.toml and uv.lock, so requirements.txt is no longer needed for build steps.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289#issuecomment-3193541754
> I keep the Python portion only. The later rust update seem to improve compiling time so would be nice to have that as well.
Which part helps compile time rust edition or MSRV?
Will have look at the PR today, one small comment as we use uv now can python/README.md be updated to reflect change
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on code in PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289#discussion_r2280813607
##########
.github/workflows/dev.yml:
##########
@@ -40,17 +40,16 @@ jobs:
name: Use prettier to check formatting of documents
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-node@v4
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Review Comment:
Is there a reason we have this specific hash? If there is, can we have a comment to note that? Also, looks like there is version 5 now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "Huy1Ng (via GitHub)" <gi...@apache.org>.
Huy1Ng commented on PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289#issuecomment-3172998008
@milenkovicm I separate the rust/clippy change here #1290. You can review there first.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] chore: Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289#issuecomment-3217947410
Thanks again @Huy1Ng
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "Huy1Ng (via GitHub)" <gi...@apache.org>.
Huy1Ng commented on PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289#issuecomment-3172474975
I will re-add restriction to run python workflows on main branch once we are done with the reviews. Except for the workflows and Cargo.toml, all changes are from automatic formatting and clippy fixes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] chore: Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "Huy1Ng (via GitHub)" <gi...@apache.org>.
Huy1Ng commented on PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289#issuecomment-3216833213
okay, I will add some comments on how to use uv
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289#issuecomment-3191393556
@Huy1Ng would it to too big change if we have this merged without MSRV and rust edition changes ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] chore: Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm commented on PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289#issuecomment-3217347889
I guess we can merge this then, readme update can be another pr if you wish @Huy1Ng
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "Huy1Ng (via GitHub)" <gi...@apache.org>.
Huy1Ng commented on PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289#issuecomment-3193094229
I keep the Python portion only. The later rust update seem to improve compiling time so would be nice to have that as well.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] chore: Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "Huy1Ng (via GitHub)" <gi...@apache.org>.
Huy1Ng commented on code in PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289#discussion_r2295915305
##########
.github/workflows/dev.yml:
##########
@@ -40,17 +40,16 @@ jobs:
name: Use prettier to check formatting of documents
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v4
- - uses: actions/setup-node@v4
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Review Comment:
It's the code from datafusion-python, which also seems to follow this discussion here: https://github.com/apache/datafusion/issues/15298
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] chore: Improve GitHub actions/python workflows [datafusion-ballista]
Posted by "milenkovicm (via GitHub)" <gi...@apache.org>.
milenkovicm merged PR #1289:
URL: https://github.com/apache/datafusion-ballista/pull/1289
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org