Hello,

I am trying to automate my TG application build through Jenkins. I am using 
superpanda jenkins plugin to create python virtual environment, this works 
fine. I am currrently on a broken wifi that constantly redirects https urls 
to a welcome page, so I cannot use the automatic package downloading 
function in pip/setuptools to download the dependent packages. I am passing 
'--no-index' and '-f url' to my "pip install -e ." command in order to 
obtain the necessary packages from the webserver on my laptop. The FreeBSD 
can communicate with the Windows Host to download these packages, so that 
works fine. The initial package download works fine as well. However, when 
it goes to install, it then tries to locate a package via th pypi "simple 
url" which returns the broken wifi nonsense.

Here is the relevant portion of my jenkins build log. Notice that inthe 
first couple of lines, there is no "downloading pytz" message but no error 
either. it just jumps to the next package. Then at the end of my excerpt, 
it says no download links were found.


02:52:40.779 [QUIET] [system.out] Downloading/unpacking pytz>=0a (from 
Babel->dict==0.1)
02:52:40.782 [QUIET] [system.out]   http://perforce:7080/tg_pkgs uses an 
insecure transport scheme (http). Consider using https if perforce:7080 has it 
available

02:52:41.175 [QUIET] [system.out] Downloading/unpacking PasteDeploy (from 
tw2.core>=2.1.4->tw2.forms->dict==0.1)
02:52:41.177 [QUIET] [system.out]   http://perforce:7080/tg_pkgs uses an 
insecure transport scheme (http). Consider using https if perforce:7080 has it 
available
02:52:41.192 [QUIET] [system.out]   Downloading PasteDeploy-1.5.2.tar.gz
02:52:41.216 [QUIET] [system.out]   Running setup.py 
(path:/usr/local/jenkins/root/shiningpanda/jobs/bb4c3743/virtualenvs/d41d8cd9/build/PasteDeploy/setup.py)
 egg_info for package PasteDeploy

...

02:52:56.459 [QUIET] [system.out]   Running setup.py develop for dict
02:52:57.146 [QUIET] [system.out]     Download error on 
https://pypi.python.org/simple/pytz/: [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed (_ssl.c:590) -- Some packages may not be found!
02:52:57.147 [QUIET] [system.out]     Couldn't find index page for 'pytz' 
(maybe misspelled?)

02:52:57.415 [QUIET] [system.out]     Download error on 
https://pypi.python.org/simple/: [SSL: CERTIFICATE_VERIFY_FAILED] certificate 
verify failed (_ssl.c:590) -- Some packages may not be found!
02:52:57.417 [QUIET] [system.out]     No local packages or download links found 
for pytz>=0a

In my pip.log on my windows host, which has a log of what is needed to be 
installed and what has been downloaded, pytz is references as thus:

Downloading/unpacking pytz>=0a (from Babel->dict==0.1)
Getting page https://pypi.python.org/simple/pytz/
URLs to search for versions for pytz>=0a (from Babel->dict==0.1):
* https://pypi.python.org/simple/pytz/
....
Using version 2015.7 (newest of versions: 2015.7, 2015.7, 2015.7, 2015.7, 
2015.6, 2015.6, 2015.6, 2015.6, 2015.4, 2015.4, 2015.4, 2015.4, 2015.2, 
2015.2, 2015.2, 2015.2, 2014.10, 2014.10, 2014.10, 2014.10, 2014.9, 2014.9, 
2014.9, 2014.9, 2014.7, 2014.7, 2014.7, 2014.4, 2014.4, 2014.4, 2014.3, 
2014.3, 2014.3, 2014.2, 2014.2, 2014.2, 2014.1.1, 2014.1.1, 2014.1.1, 
2014.1, 2014.1, 2014.1, 2013.9, 2013.9, 2013.9, 2013.8, 2013.8, 2013.8, 
2013.7, 2013.7, 2013.7, 2013.6, 2013.6, 2013.6, 2013d, 2013d, 2013d, 2013b, 
2013b, 2013b, 2012j, 2012j, 2012j, 2012h, 2012h, 2012g, 2012g, 2012g, 
2012f, 2012f, 2012f, 2012d, 2012d, 2012d, 2012c, 2012c, 2012c, 2012b, 
2012b, 2012b, 2011n, 2011n, 2011n, 2011k, 2011k, 2011k, 2011j, 2011j, 
2011j, 2011h, 2011h, 2011h, 2011g, 2011g, 2011g, 2011e, 2011e, 2011e, 
2011d, 2011d, 2011d, 2011c, 2011c, 2011c, 2011b, 2010o, 2010o, 2010o, 
2010l, 2010l, 2010l, 2010k, 2010k, 2010k, 2010h, 2010h, 2010h, 2010g, 
2010g, 2010g, 2010e, 2010e, 2010e, 2010b, 2010b, 2010b, 2009u, 2009u, 
2009u, 2009r, 2009r, 2009r, 2009p, 2009p, 2009p, 2009n, 2009n, 2009n, 
2009l, 2009l, 2009l, 2009j, 2009j, 2009j, 2009i, 2009i, 2009i, 2009g, 
2009g, 2009g, 2009f, 2009f, 2009f, 2009e, 2009e, 2009e, 2009d, 2009d, 
2009d, 2009a, 2009a, 2009a, 2008i, 2008i, 2008i, 2008h, 2008h, 2008h, 
2008g, 2008g, 2008g, 2008c, 2008c, 2008c, 2008b, 2008b, 2008b, 2008a, 
2008a, 2008a, 2007k, 2007k, 2007k, 2007i, 2007i, 2007i, 2007g, 2007g, 
2007g, 2007f, 2007f, 2007f, 2007d, 2007d, 2007d, 2007c, 2007c, 2007c, 
2006p, 2006p, 2006p, 2006j, 2006j, 2006j, 2006g, 2006g, 2006g, 2005r, 
2005r, 2005r, 2005m, 2005m, 2005m, 2005k, 2005k, 2005k, 2005i, 2005e, 
2005a, 2004d, 2004b.2, 2004b, 2004a)
Downloading from URL 
https://pypi.python.org/packages/py2.py3/p/pytz/pytz-2015.7-py2.py3-none-any.whl#md5=c1cd852eedca903c008c9dc44c195c77
 
(from https://pypi.python.org/simple/pytz/)

I have this file in my "package index" but it seems to be ignored or 
otherwise unavailable to the following process. I literally cut and paste 
the url and saved the file in my package directory.

So I am at a loss. I am pretty new to python - so I don't know the ins and 
outs of all this software. This may not be a TG2 issue but I am hoping 
someone might be able to shed some light on this.

Kay




-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to