Commit b163c5d
Update usage of numpy to reflect numpy 2.0 changes (#6871)
## Motivation for features / changes
Nightlies are failing due to new numpy release(one example:
https://github.com/tensorflow/tensorboard/actions/runs/9546526095/job/26309613783)
## Technical description of changes
The new numpy replaced np.string_ with np.bytes_ and np.unicode_ with
np.str_
## Screenshots of UI changes (or N/A)
## Detailed steps to verify changes work correctly (as executed by you)
I ran tests that were failing and they passed.
## Alternate designs / implementations considered (or N/A)
Locking numpy version < 2 was considered. However, this will eventually
get us very out of date and should be avoided.
---------
Co-authored-by: James Hollyer <jameshollyer@google.com>1 parent c19a63a commit b163c5d
File tree
2 files changed
+2
-2
lines changed- tensorboard
- compat/tensorflow_stub
- util
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
677 | | - | |
| 677 | + | |
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
0 commit comments