Run pytest in CI using the latest pandas v3 pre-releases#465
Run pytest in CI using the latest pandas v3 pre-releases#465hombit merged 11 commits intolincc-frameworks:mainfrom
pandas v3 pre-releases#465Conversation
89085ee to
a997a49
Compare
pandas v3 pre-releasespandas v3 pre-releases
|
@OmBiradar thank you for your submissions. Please take into account that we are reviewing and considering only the first GSoC pull request you've submitted. Feel free to close the others or change the title/resubmit as regular pull requests, but please be aware that it will not influence our decision about your proposal. |
|
@hombit thank you for the information. I will change the titles on my other pull requests. |
pandas v3 pre-releasespandas v3 pre-releases
|
@hombit I believe that this PR is mature as I have conducted local tests of this workflow using If there are any changes that need to be done to make this PR better. Please let me know. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #465 +/- ##
=======================================
Coverage 97.30% 97.30%
=======================================
Files 19 19
Lines 2156 2156
=======================================
Hits 2098 2098
Misses 58 58 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Click here to view all benchmarks. |
There was a problem hiding this comment.
Thank you! I converted it back from "draft" as you said that it is ready for review.
I guess these CI workflow will fail for a while because we haven't migrated to pandas v3 yet. Do you think it would make sense to make it fall "gently," keep it green, but just output warnings to the action summary?
I had assumed that the I will find a way to make it green by setting the condition that if the tests run (faillure or success) it will pass the check. Also I will work on your suggestions. Thank you for your insignts! |
|
Hey @hombit This time I have used Also I have scheduled a cron job to run at 6:45 UTC just as I hope all tests pass this time. |
|
@OmBiradar Sorry, I didn't think about how we are going to test it when asked to change to nightly 🤦. Could you please put PR runs back and keep both nightly runs and PR runs (main branch runs are not needed, I think)? Do we need both |
Your right, the checks make better sense running on PR's as the PR's can be modified to maybe accomodate for pandas 3.0 better.
I found that adding The resource I found helpful was - https://github.com/marketplace/actions/continue-on-error-comment Rather adding |
|
That is good, but I believe it lacks some usability. We should go and dig into the logs to see what is going on there. Could you please look into the annotations? |
|
I believe github-actions bot gives some details as shown in https://github.com/marketplace/actions/continue-on-error-comment But this just shows the error code I guess, I will look into the ways to make the exact errors more visible. |
|
I just added the annotations to this! Pretty cool features! Also I had tested them on my fork using a testing branch - OmBiradar#1 I hope this works perfectly |
Signed-off-by: OmBiradar <ombiradar04@gmail.com>
It's ok if these fail - it helps to improve Signed-off-by: OmBiradar <ombiradar04@gmail.com>
Signed-off-by: OmBiradar <ombiradar04@gmail.com>
Signed-off-by: OmBiradar <ombiradar04@gmail.com>
Signed-off-by: OmBiradar <ombiradar04@gmail.com>
Signed-off-by: OmBiradar <ombiradar04@gmail.com>
Signed-off-by: OmBiradar <ombiradar04@gmail.com>
Signed-off-by: OmBiradar <ombiradar04@gmail.com>
Signed-off-by: OmBiradar <ombiradar04@gmail.com>
Signed-off-by: OmBiradar <ombiradar04@gmail.com>
885a56e to
aa90351
Compare
|
I find that github doens't give write access to new github actions added through forked repo PR's, that is why the annotations are not visible here in this PR particularly. I tested it on my own fork here - OmBiradar#1 I think this works perfectly! |
|
@OmBiradar thanks! I've actually meant workflow annotations, like warning this Let's ask for the third opinion, @dougbrn, what do you think about PR comments from the pandas nightly CI introduced here? (See OmBiradar#1) @OmBiradar if we go with the PR comments implementation, I think that four comments is too much, let's maybe run with a single Python version? |
|
I don't have any idea right now which python version might be the best to run against.... But persoanlly I feel that a tabular form might be more consise and still represent the same data. one thing i want to add is that the four comments are a one time thing, thus if there are any updates to the PR, the four comments are updated (edited i mean), so it's always gonna be just 4 in number. |
|
@OmBiradar four is still a lot! Every PR is already getting 2-3 automatic comments, and I'm afraid that we'll just stop reading them and will stop seeing human comments. Let's keep Python 3.11 only? And also, let's see what @dougbrn thinks on PR comments vs Action annotations. |
|
by tabular format i ment representing all the 4 versions of python condensed into a single table in a github-actions comment rather than 4 seperate ones. I think keeping only 3.11 works as I see the same number of tests failing in all 4 versions of python. |
|
I think with the annotations there's a real case that they'll go unnoticed in a given PR since you need to click into a green checked action log, which you would only really do if you're being thorough or specifically looking for this. Given that I think I like a single (python 3.11 sounds good) PR comment. Nice work @OmBiradar ! |
Signed-off-by: OmBiradar <ombiradar04@gmail.com>
|
I have upated the CI workflow to only run for Python 3.11
Thanks! 🙂 |


Change Description
Closes #56
Solution Description
Runs a CI job that installs
pandaslatest nightly build (see installing_dev_branch) and runs tests to note errors for informational purposes.Failures during this job won't block merges as it's intended for informational purposes only.
The nightly build is only available for python 3.11, 3.12, 3.13 & 3.14 and is tested against these only (Dropped 3.10). See PyPI
Code Quality
act)