Skip to content

Conversation

JamesHollyer
Copy link
Contributor

@JamesHollyer JamesHollyer commented Jun 20, 2024

Motivation for features / changes

Nightlies are failing due to new numpy release(one example: https://github.com/tensorflow/tensorboard/actions/runs/9546526095/job/26309613783)

See #6869 for context.

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.

@yatbear yatbear self-requested a review June 20, 2024 22:03
Copy link
Member

@yatbear yatbear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🦀

@shreyanmitra
Copy link

@JamesHollyer Hello! When can I expect this change to show up in the stable python package?

@bernardbeckerman
Copy link

Hi there, glad to see this fix went in! Are you all planning a release for this fix to take effect more widely? Thanks very much for your support!

groszewn pushed a commit to groszewn/tensorboard that referenced this pull request Aug 13, 2024
## 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 <[email protected]>
groszewn pushed a commit that referenced this pull request Aug 13, 2024
## 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 <[email protected]>
j3soon added a commit to j3soon/tbparse that referenced this pull request Aug 13, 2024
This is a temporary requirement and should be removed after the tensorboard 2.17.1 release.

References:
- tensorflow/tensorboard#6871
- tensorflow/tensorboard#6874
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants