Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Fix issue #1171: np.int deprecated and replace by np.int64 #1187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

boemer00
Copy link

References to other Issues or PRs

Fixes issue #1171

Brief description of what has been fixed

This PR replaces all instances of the deprecated np.int with np.int64. The recent updates in NumPy have led to np.int being deprecated, and this change ensures compatibility with the latest versions and avoids deprecation warnings.

Release Notes

Replaced deprecated np.int with np.int64 on space/transformers.py to eliminate deprecation warnings and maintain forward compatibility with NumPy.

(#1171 by @boemer00)

@boemer00
Copy link
Author

Dear Maintainer,

I've noticed that the continuous integration builds for the project are failing with the following error:

E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does no longer have a Release file.
E: The repository 'http://deb.debian.org/debian stretch Release' does no longer have a Release file.
E: The repository 'http://deb.debian.org/debian stretch-updates Release' does no longer have a Release file.

This error seems to be occurring because Debian Stretch has reached its end-of-life, and the default repositories are no longer available. As a result, apt-get update is failing in the CI environment, which uses Debian Stretch.

Would the solution be upgrade the CI environment to a newer version of Debian? Not sure how costly and time-consuming it is, but I am happy to continue with some fixes once this is sorted.

In case, there is something I could do on my end to make sure my suggestion are checked successfully, please let me know.

best wishes,
@boemer00

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant