Skip to content

Conversation

@shaneahmed
Copy link
Member

@shaneahmed shaneahmed commented Feb 17, 2023

  • np.int, np.bool, np.float is depreciated in v1.20 in favour of np.int_, np.bool_, np.float_

Waiting on some dependencies to update:

- np.int is depreciated in v1.20
- np.int, np.bool, np.float is depreciated in v1.20
@shaneahmed shaneahmed self-assigned this Feb 17, 2023
@shaneahmed shaneahmed added the dependencies Pull requests that update a dependency file label Feb 17, 2023
@codecov
Copy link

codecov bot commented Feb 17, 2023

Codecov Report

Merging #543 (085ee93) into develop (28c52bf) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #543   +/-   ##
========================================
  Coverage    99.74%   99.74%           
========================================
  Files           63       63           
  Lines         6744     6744           
  Branches      1107     1107           
========================================
  Hits          6727     6727           
  Misses           8        8           
  Partials         9        9           
Impacted Files Coverage Δ
tiatoolbox/utils/transforms.py 100.00% <ø> (ø)
tiatoolbox/tools/registration/wsi_registration.py 99.50% <100.00%> (ø)
tiatoolbox/utils/metrics.py 100.00% <100.00%> (ø)
tiatoolbox/wsicore/wsireader.py 99.42% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@shaneahmed shaneahmed marked this pull request as draft February 17, 2023 17:18
@shaneahmed shaneahmed changed the title ⬆️ DEV: Upgrade numpy dependency ⬆️ DEV: Upgrade numpy Dependency Feb 22, 2023
@John-P
Copy link
Contributor

John-P commented Mar 2, 2023

Looks good but need to get numba/umap support.

@shaneahmed
Copy link
Member Author

Looks good but need to get numba/umap support.

It's still a draft as numba is not yet compatible on Windows.

@shaneahmed shaneahmed changed the title ⬆️ DEV: Upgrade numpy Dependency ⬆️ DEV: Upgrade numpy Dependency Mar 31, 2023
@shaneahmed shaneahmed changed the title ⬆️ DEV: Upgrade numpy Dependency ⬆️ Upgrade numpy Dependency Apr 6, 2023
@shaneahmed shaneahmed added this to the Release v2.0.0 milestone Apr 10, 2023
@shaneahmed shaneahmed marked this pull request as ready for review May 3, 2023 10:59
shaneahmed added 3 commits May 3, 2023 12:03
- Add numba as dependency
- Pin numba>=0.57.0
- Use `np.int_` as `np.int` is deprecated.
- VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
@shaneahmed shaneahmed merged commit bb78d2e into develop May 3, 2023
@shaneahmed shaneahmed deleted the dev-fix-numpy-upgrade branch May 3, 2023 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants