ioos / pyoos

A Python library for collecting Met/Ocean observations
GNU Lesser General Public License v3.0
34 stars 33 forks source link

Failing to build with pip install git, after latest requirements.txt changes #18

Closed emiliom closed 10 years ago

emiliom commented 10 years ago

I built pyoos on Wakari w/o problems just yesterday (12/5). To be extra explicit and safe, I followed this sequence: pip install git+https://github.com/geopython/OWSLib.git pip install git+https://github.com/asascience-open/paegan.git pip install git+https://github.com/asascience-open/pyoos.git

I tried this again a few minutes ago, and pyoos failed:

[~]$ pip install git+https://github.com/asascience-open/pyoos.git Downloading/unpacking git+https://github.com/asascience-open/pyoos.git Cloning https://github.com/asascience-open/pyoos.git to /tmp/pip-GIgQAa-build Running setup.py egg_info for package from git+https://github.com/asascience-open/pyoos.git error in pyoos setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers Complete output from command python setup.py egg_info: error in pyoos setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip-GIgQAa-build

On the master repo here I see that changes were made 3 hours ago, including a change to how OWSLib is specified in requirements.txt. I'm guessing that's what's creating the problem now.

kwilcox commented 10 years ago

Yeah that’s likely the issue. Normally I build with pip install -r requirements.txt - is that not an option on Wakari?

I can remove this (which will make tests on TravisCI fail again but that’s ok).

On Dec 6, 2013, at 4:29 PM, Emilio Mayorga notifications@github.com<mailto:notifications@github.com> wrote:

I built pyoos on Wakari w/o problems just yesterday (12/5). To be extra explicit and safe, I followed this sequence: pip install git+https://github.com/geopython/OWSLib.git pip install git+https://github.com/asascience-open/paegan.git pip install git+https://github.com/asascience-open/pyoos.git

I tried this again a few minutes ago, and pyoos failed:

[~]$ pip install git+https://github.com/asascience-open/pyoos.git Downloading/unpacking git+https://github.com/asascience-open/pyoos.git Cloning https://github.com/asascience-open/pyoos.git to /tmp/pip-GIgQAa-build Running setup.py egg_info for package from git+https://github.com/asascience-open/pyoos.git error in pyoos setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers Complete output from command python setup.py egg_info: error in pyoos setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers

Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip-GIgQAa-build

On the master repo here I see that changes were made 3 hours ago, including a change to how OWSLib is specified in requirements.txt. I'm guessing that's what's creating the problem now.

— Reply to this email directly or view it on GitHubhttps://github.com/asascience-open/pyoos/issues/18.

emiliom commented 10 years ago

So you're saying that I should skip the pip install git statements for OWSLib and paegan, and do just this: pip install -r requirements.txt git+https://github.com/asascience-open/pyoos.git ? If so, I can try that. Let me know. It should work. Having TravisCI tests work is a good thing.

daf commented 10 years ago

Creepy, that last email was really from me, not Kyle.

Anyway, give it a try, but I'm kind of doubtful it will work - likely the same issue.

emiliom commented 10 years ago

Strange.

Ok, here's my report:

So it looks like I don't have much of a choice... Sorry.

daf commented 10 years ago

Ok - so that being as it is, I'll revert the change to requirements.txt to make it say OWSLib>0.8.2 again, and then in my travis config file will do the manual git install for OWSLib just as you're doing. Then when there is an official release of OWSLib we'll change as appropriate.

emiliom commented 10 years ago

Thanks. FYI, I was able to recreate the Wakari environment I built before, again with this sequence of pip installs: pip install git+https://github.com/geopython/OWSLib.git pip install git+https://github.com/asascience-open/paegan.git pip install git+https://github.com/asascience-open/pyoos.git I've tested it, and everything seems fine.