Skip to content

Conversation

@ns-rse
Copy link
Collaborator

@ns-rse ns-rse commented Jul 25, 2025

The fix I submitted upstream to detect the Numpy version being used and handle type deprecation whilst providing backwards compatibility has now been merged.

We can therefore revert to using upstream PyPI released version of numpyencoder and remove the use of the forked AFM-SPM-numpyencoder version where the same fix had been applied.

This in turn means that releases to PyPI will work again (as you can't release to PyPI when you have dependencies that come from Git repos).


  • Existing tests pass.
  • Documentation has been updated and builds. Remember to update as required...
    • docs/configuration.md
    • docs/usage.md
    • docs/data_dictionary.md
    • docs/advanced.md and new pages it should link to.
  • Pre-commit checks pass.
  • New functions/methods have typehints and docstrings.
  • New functions/methods have tests which check the intended behaviour is correct.

ns-rse added 2 commits July 25, 2025 10:26
The fix I submitted [upstream](hmallen/numpyencoder#8) to detect the Numpy version being used and handle type deprecation whilst providing backwards compatibility has now been merged.

We can therefore revert to using upstream PyPI released version of `numpyencoder` and remove the use of the forked [AFM-SPM-numpyencoder](https://github.com/AFM-SPM/numpyencoder) version where the same fix had been applied.

This in turn means that releases to PyPI will work again (as you can't release to PyPI when you have dependencies that come from Git repos).
`DeprecationWarning` warning with `pillow==11.3.0` was causing errors, not sure why deprecation should cause errors they shouldn't stop things running?!?!?!
@ns-rse ns-rse force-pushed the ns-rse/numpyencoder-update branch from 38038e9 to 09c7e2b Compare July 29, 2025 13:44
ns-rse added a commit that referenced this pull request Jul 29, 2025
Merging despite failing tests as we have addressed the cause of the failure in #1185 (specifically in commit 09c7e2b )
@ns-rse ns-rse merged commit 4d3f2e6 into main Jul 29, 2025
10 checks passed
@ns-rse ns-rse deleted the ns-rse/numpyencoder-update branch July 29, 2025 13:54
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.

1 participant