diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 89fca542..fe374ae2 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -31,7 +31,7 @@ jobs: - name: update pip run: python -m pip install -U pip - name: install python deps - run: python -m pip install -U scikit-image==0.20.0 + run: python -m pip install -U scikit-image==0.20.0 pyproj==3.6.0 rasterio==1.3.7 requests==2.31.0 skyfield==1.45.0 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.version }} diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 2e2704d7..8b6559a0 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -20,7 +20,7 @@ jobs: - name: update pip run: python -m pip install -U pip - name: install python deps - run: python -m pip install -U scikit-image matplotlib + run: python -m pip install -U scikit-image==0.20.0 pyproj==3.6.0 rasterio==1.3.7 requests==2.31.0 skyfield==1.45.0 - uses: julia-actions/setup-julia@v1 with: version: '1.7' diff --git a/src/IceFloeTracker.jl b/src/IceFloeTracker.jl index 69ced447..2e34f474 100644 --- a/src/IceFloeTracker.jl +++ b/src/IceFloeTracker.jl @@ -44,7 +44,7 @@ export readdlm, using HDF5 export HDF5, PyCall export DataFrames, DataFrame, nrow, Not, select! -export Dates, Time, Date, DateTime,@dateformat_str +export Dates, Time, Date, DateTime, @dateformat_str include("utils.jl") include("persist.jl") @@ -67,7 +67,12 @@ include("special_strels.jl") const sk_measure = PyNULL() function __init__() - return copy!(sk_measure, pyimport_conda("skimage.measure", "scikit-image=0.20.0")) + copy!(sk_measure, pyimport_conda("skimage.measure", "scikit-image=0.20.0")) + pyimport_conda("pyproj", "pyproj=3.6.0") + pyimport_conda("rasterio", "rasterio=1.3.7") + pyimport_conda("requests", "requests=2.31.0") + pyimport_conda("skyfield", "skyfield=1.45.0") + return nothing end include("regionprops.jl")