File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 run : python -m pip install --upgrade pip
2525 - name : Setup yt_idv
2626 run : python -m pip install -e .[test]
27+ - name : List final env
28+ run : python -m pip list
2729 - name : Run Tests
2830 env :
2931 PYOPENGL_PLATFORM : osmesa
Original file line number Diff line number Diff line change 99from collections import OrderedDict
1010from typing import List , Optional , Tuple
1111
12+ import numpy as np
1213import traitlets
1314import yaml
1415from OpenGL import GL
16+ from packaging .version import Version
1517from yt .units .yt_array import YTQuantity
1618from yt .utilities .exceptions import (
1719 YTInvalidShaderType ,
@@ -151,7 +153,9 @@ def link(
151153 fragment_shader .delete_shader ()
152154 if geometry_shader is not None :
153155 geometry_shader .delete_shader ()
154- self .introspect ()
156+ if Version (np .__version__ ) < Version ("2.3.0" ):
157+ # see https://github.com/yt-project/yt_idv/pull/201
158+ self .introspect ()
155159
156160 def introspect (self ):
157161 if self .program is None :
You can’t perform that action at this time.
0 commit comments