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
Update upper bound for numpy. #24725
Conversation
Run Python 3.8 PostCommit |
Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment |
Another issue:
|
Rootcause tracked in: NVIDIA/TensorRT#2557 |
6082822
to
cc8a798
Compare
Run Python 3.8 PostCommit |
Assigning reviewers. If you would like to opt out of this review, comment R: @jrmccluskey for label python. Available commands:
The PR bot will only process comments in the main thread (not review comments). |
Error message on the precommits:
|
thanks. that's WAI. Bot sent it for review too early. I have intentionally temporarily increased the lower bound temporarily to have a meaningful postcommit signal in https://ci-beam.apache.org/job/beam_PostCommit_Python38_PR/674/ (still running) |
Run Python 3.8 PostCommit |
Run Python 3.8 PostCommit |
Reminder, please take a look at this pr: @jrmccluskey |
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment R: @damccorm for label python. Available commands:
|
stop reviewer notifications |
@tvalentyn I'm happy to review, but I'm stopping the bot since its not ready yet |
Stopping reviewer notifications for this pull request: requested by reviewer |
cc: @jli |
Interactive runner tests need a release from facets-overview: PAIR-code/facets#250 |
0fa965c
to
18075f5
Compare
Run Python 3.8 PostCommit |
Dataframes (ParquetIO) test requires numpy<1.20.0, this is a preexisting issue: Line 286 in 428ec97
|
This has been done |
needs one more patch... PAIR-code/facets#251 |
should be released now. One more issue. Looks like some DF tests fail with pandas 1.1.x The bug seems to be in Pandas 1.1.x, the change in behavior is caused by following line of code: At some point the test is executing something akin to:
within pandas code. This now fails. I am considering bumping up the lower bound of Pandas, the affected version is 2+ yrs old. |
Pandas 1.1.x issue is reproducible in: |
Codecov Report
@@ Coverage Diff @@
## master #24725 +/- ##
==========================================
- Coverage 72.96% 72.94% -0.02%
==========================================
Files 745 745
Lines 99174 99195 +21
==========================================
- Hits 72362 72359 -3
- Misses 25446 25470 +24
Partials 1366 1366
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Looking closer, it seems that minimal pandas version that doesn't fail the above on the most recent version of numpy is pandas==1.4.3 |
note that pandas==1.4.3 is not available on Python 3.7, but neither is numpy==1.24.x. |
Work around TRT incompatibility due to numpy/numpy#22607.
a519392
to
0e24d97
Compare
f8d0592
to
1ffabf4
Compare
…r versions of numpy.
Also bumping up lower bounds for pyarrow, for similar reason. |
Ok, this should now be ready for review, @damccorm |
@@ -122,7 +122,16 @@ def __init__(self, engine: trt.ICudaEngine): | |||
self.outputs = [] | |||
self.gpu_allocations = [] | |||
self.cpu_allocations = [] | |||
"""Setup I/O bindings.""" | |||
|
|||
# TODO(https://github.com/NVIDIA/TensorRT/issues/2557): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have an issue on our end to track this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, opened: #25387
'pandas>=1.0,<1.6,!=1.5.0,!=1.5.1;python_version<"3.10"', | ||
'pandas>=1.4.3,<1.6,!=1.5.0,!=1.5.1;python_version>="3.10"' | ||
'pandas<1.4.0;python_version=="3.7"', | ||
'pandas>=1.4.3,!=1.5.0,!=1.5.1,<1.6;python_version>="3.8"', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, this isn't even a year old (its from June 2022) so I imagine we'll be booting some users off of older versions of Pandas. I think that's probably worth it though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. The last 1.3.x version was released Dec 2021 though. The patch versions of 1.4.x are probably interchangeable to users.
Also customers could try using an older version of Beam. We can make a change to release notes if you think it would help make this option more visible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM - release notes might be nice
Due to numpy/numpy#22004, updating one of the unit tests that creates an nd.array with lists of variable length.
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:
addresses #123
), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, commentfixes #<ISSUE NUMBER>
instead.CHANGES.md
with noteworthy changes.See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)
See CI.md for more information about GitHub Actions CI.