Skip to content

Commit

Permalink
TEST-#0000: Test numpy>=2.0.0rc1 in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev committed Jun 5, 2024
1 parent b860281 commit 770a7cd
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 49 deletions.
2 changes: 1 addition & 1 deletion environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:

# required dependencies
- pandas>=2.2,<2.3
- numpy>=1.22.4
- numpy>=2.0.0rc1
- fsspec>=2022.11.0
- packaging>=21.0
- psutil>=5.8.0
Expand Down
18 changes: 1 addition & 17 deletions modin/numpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,7 @@
from .arr import array
from .array_creation import ones_like, tri, zeros_like
from .array_shaping import append, hstack, ravel, shape, split, transpose
from .constants import (
NAN,
NINF,
NZERO,
PINF,
PZERO,
Inf,
Infinity,
NaN,
e,
euler_gamma,
inf,
infty,
nan,
newaxis,
pi,
)
from .constants import e, euler_gamma, inf, nan, newaxis, pi
from .logic import (
all,
any,
Expand Down
27 changes: 1 addition & 26 deletions modin/numpy/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,12 @@
# governing permissions and limitations under the License.

# flake8: noqa
from numpy import (
NAN,
NINF,
NZERO,
PINF,
PZERO,
Inf,
Infinity,
NaN,
e,
euler_gamma,
inf,
infty,
nan,
newaxis,
pi,
)
from numpy import e, euler_gamma, inf, nan, newaxis, pi

__all__ = [
"Inf",
"Infinity",
"NAN",
"NINF",
"NZERO",
"NaN",
"PINF",
"PZERO",
"e",
"euler_gamma",
"inf",
"infty",
"nan",
"newaxis",
"pi",
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## required dependencies
pandas>=2.2,<2.3
numpy>=1.22.4
numpy>=2.0.0rc1
fsspec>=2022.11.0
packaging>=21.0
psutil>=5.8.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/env_unidist_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:

# required dependencies
- pandas>=2.2,<2.3
- numpy>=1.22.4
- numpy>=2.0.0rc1
- unidist-mpi>=0.2.1
- mpich
- fsspec>=2022.11.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/env_unidist_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:

# required dependencies
- pandas>=2.2,<2.3
- numpy>=1.22.4
- numpy>=2.0.0rc1
- unidist-mpi>=0.2.1
- msmpi
- fsspec>=2022.11.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements-no-engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies:

# required dependencies
- pandas>=2.2,<2.3
- numpy>=1.22.4
- numpy>=2.0.0rc1
- fsspec>=2022.11.0
- packaging>=21.0
- psutil>=5.8.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def make_distribution(self):
install_requires=[
"pandas>=2.2,<2.3",
"packaging>=21.0",
"numpy>=1.22.4",
"numpy>=2.0.0rc1",
"fsspec>=2022.11.0",
"psutil>=5.8.0",
],
Expand Down

0 comments on commit 770a7cd

Please sign in to comment.