Skip to content

Conversation

@crusaderky
Copy link
Contributor

@crusaderky crusaderky commented Dec 11, 2025

This PR was initiated by downstream failures in thinc CI with NumPy 2.4.

  • Add crude unit tests in CI
  • Bump dependencies to minimum tested versions
  • Fix exports of cifar and wikiner

Unsure why CI isn't running. A succesful CI run is visible at crusaderky#1

Comment on lines 14 to 16
python_requires = >=3.8
install_requires =
numpy>=1.7.0
numpy>=1.18
Copy link
Contributor Author

@crusaderky crusaderky Dec 11, 2025

Choose a reason for hiding this comment

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

Bump to lowest tested versions
python 3.8 is the lowest available for actions/setup-python
numpy 1.18 is the lowest available for python 3.8

@crusaderky crusaderky force-pushed the tests branch 2 times, most recently from 87463b8 to 9fe1fff Compare December 11, 2025 13:10
Copy link

@ngoldbaum ngoldbaum left a comment

Choose a reason for hiding this comment

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

Overall LGTM, just left a few comments.


# FIXME warning on NumPy 2.4 when downloading pre-computed pickles:
# Python or NumPy boolean but got `align=0`.
# Did you mean to pass a tuple to create a subarray type? (Deprecated NumPy 2.4)

Choose a reason for hiding this comment

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

I think just re-saving the pickle files with numpy 2.4 will fix this. But then you'd need to replace the files in the AWS bucket...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably. I'd open a follow-up ticket but the issues tab has been disabled for this repo.

# TODO test output contents


@pytest.mark.skip(reason="very slow download")

Choose a reason for hiding this comment

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

if it's always going to be skipped, why add the test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To inform whoever reads it next that today the whole feature is functionally unusable.

Choose a reason for hiding this comment

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

Can you make that clear in the message or with a FIXME comment?

@crusaderky crusaderky merged commit 48c868d into explosion:master Dec 12, 2025
@crusaderky crusaderky deleted the tests branch December 12, 2025 15:26
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.

2 participants