Skip to content

Commit

Permalink
Forcing installation of cython to support netcdf4 1.2.8
Browse files Browse the repository at this point in the history
cython is a compulsory dependency of netcdf4 starting from 1.2.8, but since it's
a build-time dependency conda doesn't install it, netdcf4 is compiled
externally. Lack of cython doesn't break netcdf4 library, but it does break
compliance checker, because it uses `pkg_resource` lib to check if dependencies
for plugins are installed and `pkg_resource` reports that cython is needed to
import `netcdf4` which isn't true.
  • Loading branch information
Kirill888 committed May 29, 2017
1 parent bb7c6f8 commit 5f0fa4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis/environment_py27.yaml
Expand Up @@ -10,7 +10,7 @@ dependencies:
- numexpr
- rasterio
- singledispatch
- netcdf4 <= 1.2.7 # char2string and compliance checker related problems in 1.2.8
- netcdf4
- psycopg2
- gdal
- dask
Expand All @@ -25,6 +25,7 @@ dependencies:
- matplotlib # pixel drill app
- pathlib
- compliance-checker = 3.0.3
- cython # used by netcdf4 at compile only, but needed for compliance checker to load plugins
- pygeoif = 0.6 # compliance-checker 3.0.3 fails with 0.7
- paramiko # for simple-replicas
- sshtunnel # for simple-replicas
Expand Down
3 changes: 2 additions & 1 deletion .travis/environment_py35.yaml
Expand Up @@ -11,7 +11,7 @@ dependencies:
- numexpr
- rasterio
- singledispatch
- netcdf4 <= 1.2.7 # char2string and compliance checker related problems in 1.2.8
- netcdf4
- psycopg2
- gdal
- dask
Expand All @@ -26,6 +26,7 @@ dependencies:
- matplotlib # pixel drill app
- pathlib
- compliance-checker = 3.0.3
- cython # used by netcdf4 at compile only, but needed for compliance checker to load plugins
- pygeoif = 0.6 # compliance-checker 3.0.3 fails with 0.7
- paramiko # for simple-replicas
- sshtunnel # for simple-replicas
Expand Down

0 comments on commit 5f0fa4b

Please sign in to comment.