Issue2409

classification
Title: tox with jython cannot handle more than two dependencies
Type: Severity: normal
Components: Versions: Jython 2.7
Milestone:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: mbakht, zyasoft
Priority: Keywords:

Created on 2015-10-08.17:38:01 by mbakht, last changed 2015-10-22.20:42:08 by zyasoft.

Messages
msg10335 (view) Author: Mehedi (mbakht) Date: 2015-10-08.17:40:33
I am running into an weird problem when I try to run with jython (envlist = jython).

If I list more than two dependencies in the following way:

deps =
   dep_A
   dep_B
   dep_C

then only the first two dependencies get taken care of. I have tried with changing the order - the result is always the same.!
msg10336 (view) Author: Mehedi (mbakht) Date: 2015-10-08.17:42:30
Ah..I missed the word "tox" in the description. I meant: 

I am running into an weird problem when I try to run tox with jython (envlist = jython).
msg10337 (view) Author: Jim Baker (zyasoft) Date: 2015-10-08.20:14:03
This is very unusual - in CS, my experience is that if it works for 0, 1, 2, then inductively it also works for N (as bounded by other pragmatics of course).

But let's check one thing first - you are sure that your whitespace is consistent? (No tab/space or DOS end-of-line mixups)

Lastly a minimal setup + output that you can share would be helpful for reproducing.
msg10338 (view) Author: Mehedi (mbakht) Date: 2015-10-08.20:33:25
I am an idiot :(. I was using a custom install script for tox where I had a bug. Please close this out. Sorry for the inconvenience.

By the way, the use of the custom install script reminded me of another bug (which, hopefully, is real). The pip in jython's virtual env is not executable. In my custom install script, I had to chmod +x the pip so that it could install the dependencies. The following link also discusses the issue: https://groups.google.com/forum/#!topic/python-virtualenv/kt4mb31P918
msg10339 (view) Author: Jim Baker (zyasoft) Date: 2015-10-08.21:19:29
No worries, glad you were able to figure out the true problem.

re pip not being executable: bug #2376 is almost certainly the problem. However see bug #2360

It's possible that Alex Grönholm was able to workaround the SSLContext issue in some way; or it doesn't occur for him; or this is a new development.
History
Date User Action Args
2015-10-22 20:42:08zyasoftsetstatus: open -> closed
2015-10-08 21:19:30zyasoftsetmessages: + msg10339
2015-10-08 20:33:25mbakhtsetmessages: + msg10338
2015-10-08 20:14:03zyasoftsetnosy: + zyasoft
messages: + msg10337
2015-10-08 17:42:31mbakhtsetmessages: + msg10336
2015-10-08 17:40:33mbakhtsetmessages: + msg10335
2015-10-08 17:38:01mbakhtcreate