Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Adding appveyor config #81

Merged
merged 10 commits into from Feb 1, 2019
Merged

Adding appveyor config #81

merged 10 commits into from Feb 1, 2019

Conversation

jsignell
Copy link
Collaborator

@jsignell jsignell commented Dec 20, 2018

I set up appveyor so that we can get windows builds and see what is missing:

conda env update -f environment.yml -n earthml
Solving environment: ...working... failed
ResolvePackageNotFound: 
  - intake-xarray
  - scipy
  - datashader
  - numba[version='>=0.37.0']
  - datashader
  - scikit-image
  - scipy
  - keras
  - scipy
  - keras
  - theano
  - keras
  - keras-preprocessing=1.0.2
  - dask-ml
  - dask-glm
  - scikit-learn[version='>=0.18']
  - dask-ml
  - dask-glm
  - scipy[version='>=0.18.1']
  - dask-ml
  - dask-searchcv
  - dask-ml
  - numba
  - scikit-learn
  - cartopy
  - numpy=1.10
  - cartopy
  - scipy
  - geopandas
  - gdal==1.11.4
  - geopandas
  - pysal
  - scipy
  - geoviews==1.6.0a2
  - datashader
  - numba[version='>=0.37.0']
  - geoviews==1.6.0a2
  - datashader
  - scikit-image
  - scipy
  - geoviews==1.6.0a2
  - geopandas
  - pysal
  - geoviews==1.6.0a2
  - geoviews-core=1.6.0a2
  - cartopy[version='>=0.14.2']

@jsignell
Copy link
Collaborator Author

EDIT: All the packages are available now for windows, and appveyor is only failing because of this bug: appveyor/ci#2822

@jsignell
Copy link
Collaborator Author

jsignell commented Feb 1, 2019

I am seeing a real error from dask_ml on windows:

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<timed eval> in <module>

C:\Miniconda36-x64\envs\earthml\lib\site-packages\dask_ml\cluster\spectral.py in fit(self, X, y)
    192                 km = KMeans(
    193                     n_clusters=n_clusters,
--> 194                     random_state=draw_seed(rng, 2 ** 32 - 1, dtype="uint"),
    195                 )
    196             elif self.assign_labels == "sklearn-kmeans":

C:\Miniconda36-x64\envs\earthml\lib\site-packages\dask_ml\_utils.py in draw_seed(random_state, low, high, size, dtype, chunks)
     15         kwargs["chunks"] = chunks
     16 
---> 17     seed = random_state.randint(low, high, **kwargs)
     18     if dtype is not None and isinstance(seed, (da.Array, np.ndarray)):
     19         seed = seed.astype(dtype)

mtrand.pyx in mtrand.RandomState.randint()

ValueError: high is out of bounds for int32
ValueError: high is out of bounds for int32

@jsignell
Copy link
Collaborator Author

jsignell commented Feb 1, 2019

Commented there dask/dask-ml#230

@jsignell jsignell merged commit cb40cdb into master Feb 1, 2019
@jsignell jsignell deleted the jsignell/appveyor branch February 1, 2019 19:57
cocoaaa pushed a commit to cocoaaa/EarthML that referenced this pull request Jun 6, 2019
* Adding appveyor config

* try updating conda

* Made appveyor only start one job

* Allowing the use of defaults as well as c-f

* Update .appveyor.yml

* Update .appveyor.yml

* Using new doit commands

* Using new doit test_all command

* Don't allow defaults - see what happens

* Just allow scipy from defaults
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant