Skip to content

Commit

Permalink
Enable NetCDF Time Annotation Plugin in CI
Browse files Browse the repository at this point in the history
This adds the cftime Python module dependency on Linux and Windows
machines with Python.
  • Loading branch information
Tiffany-Chhim authored and NicolasVuaille committed Jun 24, 2022
1 parent f28abb8 commit 0bfb8ea
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 4 additions & 0 deletions .gitlab/ci/configure_fedora35.cmake
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@

# Enable default-off plugin with Python dependency
set(PARAVIEW_PLUGIN_ENABLE_NetCDFTimeAnnotationPlugin ON CACHE BOOL "")

include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora_common.cmake")
3 changes: 3 additions & 0 deletions .gitlab/ci/configure_windows_vs2019_kits_mpi_python_qt.cmake
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# Enable default-off plugin with Python dependency
set(PARAVIEW_PLUGIN_ENABLE_NetCDFTimeAnnotationPlugin ON CACHE BOOL "")

include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_vs2019.cmake")
2 changes: 1 addition & 1 deletion .gitlab/ci/docker/fedora35/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dnf install -y --setopt=install_weak_deps=False \
python3-pandas python3-pandas-datareader python3-sphinx python3-pip \
python3-mpi4py-mpich python3-mpi4py-openmpi python3-matplotlib

python3 -m pip install wslink
python3 -m pip install wslink cftime

# Plugin dependencies
dnf install -y --setopt=install_weak_deps=False \
Expand Down
5 changes: 0 additions & 5 deletions .gitlab/ci/requirements-phase1.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# we are actually testing at any given point.

# NetCDFTimeAnnotationPlugin
# Needs Cython installed before it can be `pip install`'d
netcdftime==1.0.0a2
cftime==1.6.0

# numpy
# Note that Linux will need 1.19.4
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/os-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

.fedora35:
extends: .linux
image: "kitware/paraview:ci-fedora35-20220420"
image: "kitware/paraview:ci-fedora35-20220620"

.el8_icc:
extends: .linux
Expand Down
3 changes: 1 addition & 2 deletions .gitlab/os-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,7 @@
# This may be necessary when running manually.
# Set-ExecutionPolicy -Scope CurrentUser RemoteSigned
- . .\build\ci-venv\Scripts\Activate.ps1
- pip install -qq -r $pwdpath\.gitlab\ci\requirements-phase1.txt
- pip install -qq -r $pwdpath\.gitlab\ci\requirements-phase2.txt
- pip install -qq -r $pwdpath\.gitlab\ci\requirements.txt
- Set-Item -Force -Path "env:PATH" -Value "$env:PATH;$env:SCCACHE_PATH"
- Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1
- sccache --start-server
Expand Down

0 comments on commit 0bfb8ea

Please sign in to comment.