➜ Downloads pip install h2o_pysparkling_2.0
Collecting h2o_pysparkling_2.0
Downloading h2o_pysparkling_2.0-2.0.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/1f/gcjrygts5w9fq0l149_6dzgw0000gn/T/pip-build-P3hwv7/h2o-pysparkling-2.0/setup.py", line 13, in <module>
with open(path.join(here, 'build', 'version.txt'), encoding='utf-8') as f:
File "/Users/michal/bin/anaconda2/lib/python2.7/codecs.py", line 896, in open
file = _builtin_.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/private/var/folders/1f/gcjrygts5w9fq0l149_6dzgw0000gn/T/pip-build-P3hwv7/h2o-pysparkling-2.0/build/version.txt'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/1f/gcjrygts5w9fq0l149_6dzgw0000gn/T/pip-build-P3hwv7/h2o-pysparkling-2.0/
I can see that this happen in Anaconda environment. Would be interesting to find out if it's only in Anaconda env or also in simple python env.
It's interesting, sparkling_water package should be available. Maybe the whole egg is somewhat corrupted
Yup, it is my fault - when we move everything inside `build` directory, `python sdist` stopped working which screwed up release process.
In this context, we need to have test which will verify correct PyPi installation.
We have an user from IBM also reporting this exact problem with 1.6.9 too.. any idea when we will have a fix on this regard.
we heve a fix for this https://github.com/h2oai/sparkling-water/pull/195, it won't go to this release but the following one.
In the meanwhile please tell the customer that they can't use pysparkling from pypi but they need to use binary distribution - ie. download sparkling water from our page and use ./bin/pysparkling or ./bin/run-python-script.sh
Actually this isn't fixed by the https://github.com/h2oai/sparkling-water/pull/195, this fix is simple - we need to run
```python setup.py register -r pypi
python setup.py sdist upload -r pypi
``` in build/pkg directory to have all correct dependencies. Release scripts needs to be updated