Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test against np2 #480

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build_sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ jobs:
set -x

pip install --upgrade pip
pip install "numpy==2.0.0rc2"
python -c "import numpy; print(f'{numpy.__version__ = }')"
pip install dist/scikit_surprise-1.1.4.tar.gz -v
python -c "import numpy; print(f'{numpy.__version__ = }')"

- name: Pip freeze
run: |
Expand Down
1 change: 1 addition & 0 deletions surprise/prediction_algorithms/co_clustering.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ the :mod:`co_clustering` module includes the :class:`CoClustering` algorithm.


cimport numpy as np # noqa
np.import_array() # noqa
import numpy as np

from .algo_base import AlgoBase
Expand Down
1 change: 1 addition & 0 deletions surprise/prediction_algorithms/matrix_factorization.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ factorization.
"""

cimport numpy as np # noqa
np.import_array() # noqa
import numpy as np
from libc.math cimport sqrt

Expand Down
1 change: 1 addition & 0 deletions surprise/prediction_algorithms/optimize_baselines.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ gradient descent and alternating least squares.


cimport numpy as np # noqa
np.import_array() # noqa
import numpy as np


Expand Down
1 change: 1 addition & 0 deletions surprise/prediction_algorithms/slope_one.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ the :mod:`slope_one` module includes the :class:`SlopeOne` algorithm.


cimport numpy as np # noqa
np.import_array() # noqa
import numpy as np

from .algo_base import AlgoBase
Expand Down
1 change: 1 addition & 0 deletions surprise/similarities.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Available similarity measures:


cimport numpy as np # noqa
np.import_array() # noqa
import numpy as np
from libc.math cimport sqrt

Expand Down
Loading