diff --git a/.github/workflows/extensive_test.yml b/.github/workflows/extensive_test.yml index b7e07749e..c9563bfa1 100644 --- a/.github/workflows/extensive_test.yml +++ b/.github/workflows/extensive_test.yml @@ -98,7 +98,7 @@ jobs: - name: Install python dependencies run: | sudo apt-get install graphviz graphviz-dev - pip install wheel "numpy<2.0.0" scipy f90nml h5py scikit-build cmake qsc sympy pyevtk matplotlib ninja plotly networkx pygraphviz ground bentley_ottmann + pip install wheel "numpy<2.0.0" scipy f90nml h5py scikit-build cmake qsc sympy pyevtk matplotlib ninja plotly networkx pygraphviz ground bentley_ottmann f90wrap - name: Install booz_xform if: contains(matrix.packages, 'vmec') || contains(matrix.packages, 'all') @@ -125,9 +125,6 @@ jobs: pip install -e SPEC/Utilities/pythontools python -c "import py_spec; print('success')" - - name: Install f90wrap - run: pip install -U git+https://github.com/zhucaoxiang/f90wrap - - name: Build SPEC python wrapper. if: contains(matrix.packages, 'spec') || contains(matrix.packages, 'all') run: | @@ -166,8 +163,9 @@ jobs: - name: Install simsopt package if: contains(matrix.packages, 'spec') || contains(matrix.packages, 'all') run: | + pip install -v git+https://github.com/zhisong/pyoculus pip install -v . - pip install mpi4py py_spec pyoculus h5py + pip install mpi4py py_spec h5py - name: Install simsopt package if: contains(matrix.packages, 'none') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f91910245..aa32be2e1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -93,7 +93,10 @@ jobs: - name: Install python dependencies run: | sudo apt-get install graphviz graphviz-dev - pip install "numpy<2.0.0" cmake scikit-build f90nml ninja wheel setuptools sympy qsc pyevtk matplotlib plotly networkx pygraphviz mpi4py py_spec pyoculus h5py ground bentley_ottmann + pip install "numpy<2.0.0" cmake scikit-build f90nml ninja wheel setuptools sympy qsc pyevtk matplotlib plotly networkx pygraphviz mpi4py py_spec h5py ground bentley_ottmann f90wrap + + - name: Install pyoculus + run: pip install -v git+https://github.com/zhisong/pyoculus - name: Install booz_xform run: pip install -v git+https://github.com/hiddenSymmetries/booz_xform @@ -128,9 +131,6 @@ jobs: pip install -e SPEC/Utilities/pythontools python -c "import py_spec; print('success')" - - name: Install f90wrap - run: pip install -U git+https://github.com/zhucaoxiang/f90wrap - - name: Build SPEC python wrapper. run: | cd SPEC diff --git a/ci/Dockerfile.ubuntu b/ci/Dockerfile.ubuntu index afac3239d..02ead7dac 100644 --- a/ci/Dockerfile.ubuntu +++ b/ci/Dockerfile.ubuntu @@ -55,7 +55,7 @@ RUN git clone --depth 1 https://github.com/hiddenSymmetries/VMEC2000.git /src/VM cp cmake/machines/ubuntu.json cmake_config_file.json && \ /venv/bin/pip install -v . 2>&1 | tee vmec_build.log -RUN /venv/bin/pip install pyoculus +RUN /venv/bin/pip install git+https://github.com/zhisong/pyoculus RUN /venv/bin/pip install vtk==9.2.6 pyqt5 matplotlib pyevtk plotly RUN /venv/bin/pip install mayavi RUN /venv/bin/pip install git+https://github.com/hiddenSymmetries/booz_xform diff --git a/ci/singularity.def b/ci/singularity.def index 11a70ac81..83652710b 100644 --- a/ci/singularity.def +++ b/ci/singularity.def @@ -72,7 +72,7 @@ Stage: devel cd .. && \ rm -rf VMEC2000 - /venv/bin/pip install pyoculus + /venv/bin/pip install git+https://github.com/zhisong/pyoculus /venv/bin/pip install vtk==9.2.6 pyqt5 matplotlib pyevtk plotly /venv/bin/pip install mayavi /venv/bin/pip install git+https://github.com/hiddenSymmetries/booz_xform