databricks-sql-python icon indicating copy to clipboard operation
databricks-sql-python copied to clipboard

Remove upper bound for NumPy

Open janjagusch opened this issue 1 year ago • 0 comments

Closes https://github.com/databricks/databricks-sql-python/issues/432.

Motivation

This package is currently not compatible with numpy>=2, which was released this summer (see here). Because of that, this package is incompatible with those that have already dropped numpy<2 support.

Removing the numpy upper bound should not break anything, as this package doesn't actually make direct use of it (only indirectly via, e.g., pandas or in its testing suite).

For more details on the problem with upper version constraints, see:

  • https://iscinumpy.dev/post/bound-version-constraints/
  • https://iscinumpy.dev/post/poetry-versions/

Changes

This PR removes the upper bound for numpy. It also adds a testing matrix to ensure that the unit tests are run against both numpy=1.* and numpy=2.*.

janjagusch avatar Dec 05 '24 12:12 janjagusch