TravisCI problems with python-dateutil - is there an apt-get?

80 views
Skip to first unread message

josef...@gmail.com

unread,
May 15, 2013, 8:06:59 PM5/15/13
to pystatsmodels
We are seeing recently sometimes build failures on TravisCI because of
pandas dependencies not being available.

Is there a pre-packaged version for python-dateutil, that we don't
have to rely on labix.org large web page to be available fast enough?

```
Searching for python-dateutil
Reading http://pypi.python.org/simple/python-dateutil/
Reading http://labix.org/python-dateutil
error: None
The command "sudo easy_install$PYSUF -U pandas" failed and exited with
1 during install.
```

Josef

Vincent Arel

unread,
May 15, 2013, 8:21:55 PM5/15/13
to pystat...@googlegroups.com

josef...@gmail.com

unread,
May 15, 2013, 8:32:21 PM5/15/13
to pystat...@googlegroups.com
Thanks

version check: pandas says >=1.5 which rules out Lucid

Do you know what TravisCI uses?
Using worker: worker-linux-6-1.bb.travis-ci.org:travis-linux-8

I have no idea about any of this.

Josef

>
> Vincent

Yaroslav Halchenko

unread,
May 15, 2013, 9:22:33 PM5/15/13
to pystat...@googlegroups.com
here is what avail on travis-ci:

500 http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main i386 Packages^M
release v=12.04,o=LP-PPA-webupd8team-java,a=precise,n=precise,l=Oracle Java (JDK) 6 / 7 / 8 Installer PPA,c=main^M
origin ppa.launchpad.net^M
500 http://ppa.launchpad.net/webupd8team/java/ubuntu/ precise/main amd64 Packages^M
release v=12.04,o=LP-PPA-webupd8team-java,a=precise,n=precise,l=Oracle Java (JDK) 6 / 7 / 8 Installer PPA,c=main^M
origin ppa.launchpad.net^M
500 http://ppa.launchpad.net/travis-ci/zero-mq/ubuntu/ precise/main i386 Packages^M
release v=12.04,o=LP-PPA-travis-ci-zero-mq,a=precise,n=precise,l=Zero MQ,c=main^M
origin ppa.launchpad.net^M
500 http://ppa.launchpad.net/travis-ci/zero-mq/ubuntu/ precise/main amd64 Packages^M
release v=12.04,o=LP-PPA-travis-ci-zero-mq,a=precise,n=precise,l=Zero MQ,c=main^M
origin ppa.launchpad.net^M
500 http://ppa.launchpad.net/rwky/redis/ubuntu/ precise/main i386 Packages^M
release v=12.04,o=LP-PPA-rwky-redis,a=precise,n=precise,l=Redis,c=main^M
origin ppa.launchpad.net^M
500 http://ppa.launchpad.net/rwky/redis/ubuntu/ precise/main amd64 Packages^M
release v=12.04,o=LP-PPA-rwky-redis,a=precise,n=precise,l=Redis,c=main^M
origin ppa.launchpad.net^M
500 http://www.rabbitmq.com/debian/ testing/main i386 Packages^M
release o=RabbitMQ,a=testing,n=kitten,l=RabbitMQ Repository for Debian / Ubuntu etc,c=main^M
origin www.rabbitmq.com^M
500 http://www.rabbitmq.com/debian/ testing/main amd64 Packages^M
release o=RabbitMQ,a=testing,n=kitten,l=RabbitMQ Repository for Debian / Ubuntu etc,c=main^M
origin www.rabbitmq.com^M
...
and more

so it is precise and that one has python-dateutil 1.5
http://packages.ubuntu.com/precise/python-dateutil

happen you need python3-dateutil there -- we ship it from neurodebian so you
could enable it in your travis: e.g. look at
https://github.com/nipy/nipype/blob/master/.travis.yml

hope this helps

cheers
--
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Senior Research Associate, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik

josef...@gmail.com

unread,
May 15, 2013, 9:51:35 PM5/15/13
to pystat...@googlegroups.com
It helps, and I will switch to apt-getting it, and see how it goes.

And I appreciate the quick replies for Linux, (so I don't have to
figure it out myself. :)

Cheers,

Josef

josef...@gmail.com

unread,
May 25, 2013, 3:23:38 PM5/25/13
to pystat...@googlegroups.com
I'm not good enough to read this.

Can I just copy and adjust lines 12-15 ? with python3-dateutils

What does -qq do? I didn't find any explanation with google.

>>
>> hope this helps
>
> It helps, and I will switch to apt-getting it, and see how it goes.

I only used the apt-get for python 2.7 and that works well, but now
python 3.2 starts to stop on error most of the time which it didn't do
before.

apt-getting pandas also sounds like a good idea. From what I have seen
watching TravisCI, it takes around 10 minutes just to install pandas
and it's dependencies on python 3

Josef

Vincent Arel

unread,
May 25, 2013, 3:54:10 PM5/25/13
to pystat...@googlegroups.com
-qq No output except for errors
Reply all
Reply to author
Forward
0 new messages