Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Spiros Tsalikis
VTK
Commits
dcaec86b
Commit
dcaec86b
authored
3 months ago
by
Dan Lipsa
Browse files
Options
Downloads
Patches
Plain Diff
Install xarray and dependencies for NetCDFCF to XArray testing
parent
9ee22eb1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab/ci/requirements.txt
+5
-0
5 additions, 0 deletions
.gitlab/ci/requirements.txt
.gitlab/os-linux.yml
+1
-0
1 addition, 0 deletions
.gitlab/os-linux.yml
.gitlab/os-macos.yml
+6
-0
6 additions, 0 deletions
.gitlab/os-macos.yml
.gitlab/os-windows.yml
+2
-0
2 additions, 0 deletions
.gitlab/os-windows.yml
with
14 additions
and
0 deletions
.gitlab/ci/requirements.txt
+
5
−
0
View file @
dcaec86b
...
...
@@ -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
This diff is collapsed.
Click to expand it.
.gitlab/os-linux.yml
+
1
−
0
View file @
dcaec86b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
.gitlab/os-macos.yml
+
6
−
0
View file @
dcaec86b
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
.gitlab/os-windows.yml
+
2
−
0
View file @
dcaec86b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment