Skip to content

Conversation

@bnavigator
Copy link

@bnavigator bnavigator commented May 3, 2024

Fixes #921.
Fixes #923 (after release)

Required due to a change in numpy's type promotion with numpy >= 2:
https://numpy.org/devdocs/numpy_2_0_migration_guide.html#changes-to-numpy-data-type-promotion
NEP 50 -- Promotion rules for Python scalars

The DAYS_TO_MILLIS constant actually contained the number of nanoseconds in a day, so I renamed it. I hope this is not incorrectly used outside of fastparquet. At least it is not part of the API documentation.

@martindurant
Copy link
Member

Looks like its time to ditch the dask CI run, since they have deprecated fastparquet as an engine and apparently broken a load of stuff.

@martindurant
Copy link
Member

Thanks for fixing this, by the way :).

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.

Fastparquet raises on import with numpy 2.0 rc Numpy 2: OverflowError with int96

2 participants