Skip to content
Snippets Groups Projects
Commit dcaec86b authored by Dan Lipsa's avatar Dan Lipsa
Browse files

Install xarray and dependencies for NetCDFCF to XArray testing

parent 9ee22eb1
No related branches found
No related tags found
No related merge requests found
......@@ -13,3 +13,8 @@ Jinja2==3.1.3
# setuptools required for distutils since python 3.12+
setuptools==75.5.0
# For XArray to vtkNetCDFCFReader connector
xarray==2024.10.0
netcdf4==1.7.2
cftime==1.6.4.post1
......@@ -842,6 +842,7 @@
- '[[ "$CMAKE_CONFIGURATION" =~ (osmesa|egl) ]] || yum install -y --setopt=install_weak_deps=False mesa-dri-drivers libglvnd-egl'
- "$PYTHON_PREFIX/bin/python -m venv venv"
- . venv/bin/activate
- pip install xarray cftime netcdf4
- pip install twine
- twine check build/dist/*.whl
- pip install build/dist/*.whl
......
......@@ -248,6 +248,9 @@
script:
- *before_script_macos
- *before_script_macos_deps
- "$DEVELOPER_DIR//Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9 -m venv build/ci-venv"
- . build/ci-venv/bin/activate
- pip install xarray cftime netcdf4
- *script_macos
interruptible: true
......@@ -257,6 +260,8 @@
script:
- *before_script_macos
- *before_script_macos_deps
- . build/ci-venv/bin/activate
- python -c "import xarray"
- ctest --output-on-failure -V -S .gitlab/ci/ctest_test.cmake
interruptible: true
......@@ -315,6 +320,7 @@
# Needed to rebuild some dependencies which don't have arm64-compatible wheels yet.
- '[ "$( uname -m )" = "arm64" ] && pip install wheel'
- pip install twine
- pip install xarray cftime netcdf4
- twine check build/dist/*.whl
- pip install build/dist/*.whl
- python -c "import vtk"
......
......@@ -392,6 +392,8 @@
- pip install twine
- twine check (Get-ChildItem build\dist\*.whl | % FullName)
- pip install (Get-ChildItem build\dist\*.whl | % FullName)
- pip install xarray cftime netcdf4
- python -c "import xarray"
- python -c "import vtk"
- if ( "$env:VTK_DISABLE_PYI_TESTING" -ne "1" ) { python -m vtkmodules.generate_pyi --test -p vtkmodules } else { echo "pyi test is disabled." }
- ctest -V --output-on-failure -S .gitlab/ci/ctest_test_external_wheel.cmake
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment