diff --git a/.github/scripts/install.sh b/.github/scripts/install.sh index b6332b702df..f3428911484 100755 --- a/.github/scripts/install.sh +++ b/.github/scripts/install.sh @@ -21,6 +21,13 @@ if [ "$USE_CONDA" = "true" ]; then # To check our manifest and coverage mamba install check-manifest codecov -c conda-forge -q -y + + # Numpy 1.23 is not giving completions on the editor and the console + if [ "$OS" = "win" ]; then + mamba install numpy=1.22 + else + mamba install 'numpy<1.23' + fi else # Update pip and setuptools python -m pip install -U pip setuptools wheel build @@ -37,6 +44,9 @@ else # To check our manifest and coverage pip install -q check-manifest codecov + # Numpy 1.23 is not giving completions on the editor and the console + pip install 'numpy<1.23' + # This allows the test suite to run more reliably on Linux if [ "$OS" = "linux" ]; then pip uninstall pyqt5 pyqt5-qt5 pyqt5-sip pyqtwebengine pyqtwebengine-qt5 -q -y diff --git a/installers/Windows/req-extras-pull-request.txt b/installers/Windows/req-extras-pull-request.txt index 039041d0635..df35dfafbff 100644 --- a/installers/Windows/req-extras-pull-request.txt +++ b/installers/Windows/req-extras-pull-request.txt @@ -10,7 +10,7 @@ rope yapf # Scientific packages (for Same as Spyder) -numpy +numpy<1.23 scipy pandas openpyxl # pandas optional dependency to handle Excel files diff --git a/installers/Windows/req-extras-release.txt b/installers/Windows/req-extras-release.txt index 2bceff81fd6..49e35405dae 100644 --- a/installers/Windows/req-extras-release.txt +++ b/installers/Windows/req-extras-release.txt @@ -10,7 +10,7 @@ rope yapf # Scientific packages (for Same as Spyder) -numpy +numpy<1.23 scipy pandas openpyxl # pandas optional dependency to handle Excel files diff --git a/installers/macOS/req-scientific.txt b/installers/macOS/req-scientific.txt index 367f82d8112..dbe72150308 100755 --- a/installers/macOS/req-scientific.txt +++ b/installers/macOS/req-scientific.txt @@ -1,7 +1,7 @@ # Scientific packages (for Same as Spyder) cython matplotlib -numpy +numpy<1.23 openpyxl pandas scipy