Skip to content

Commit

Permalink
BLD: add python 3.4 build on travis
Browse files Browse the repository at this point in the history
BLD: remove statsmodels from 3.4 build

BLD: allow pip/setuptools to work on latest versions

BLD: install nose from master on EXPERIMENTAL builds
  • Loading branch information
jreback committed Apr 30, 2014
1 parent 7918d60 commit 3972f2a
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 15 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,32 @@ matrix:
- FULL_DEPS=true
- CLIPBOARD=xsel
- JOB_NAME: "33_nslow"
- python: 3.4
env:
- EXPERIMENTAL=true
- NOSE_ARGS="not slow and not disabled"
- FULL_DEPS=true
- CLIPBOARD=xsel
- JOB_NAME: "34_nslow"
- python: 2.7
env:
- EXPERIMENTAL=true
- NOSE_ARGS="not slow and not network and not disabled"
- JOB_NAME: "27_numpy_master"
- JOB_TAG=_NUMPY_DEV_master
- NUMPY_BUILD=master
- PANDAS_TESTING_MODE="numpy_deprecate"
allow_failures:
- python: 3.4
env:
- EXPERIMENTAL=true
- NOSE_ARGS="not slow and not disabled"
- FULL_DEPS=true
- CLIPBOARD=xsel
- JOB_NAME: "34_nslow"
- python: 2.7
env:
- EXPERIMENTAL=true
- NOSE_ARGS="not slow and not network and not disabled"
- JOB_NAME: "27_numpy_master"
- JOB_TAG=_NUMPY_DEV_master
Expand Down
41 changes: 33 additions & 8 deletions ci/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,38 @@ edit_init
python_major_version="${TRAVIS_PYTHON_VERSION:0:1}"
[ "$python_major_version" == "2" ] && python_major_version=""

# fix these versions
pip install -I pip==1.5.1
pip install -I setuptools==2.2
home_dir=$(pwd)

# known working
# pip==1.5.1
# setuptools==2.2
# wheel==0.22
# nose==1.3.0 (1.3.1 broken for PY3)

pip install -I -U pip
pip install -I -U setuptools
pip install wheel==0.22
pip install nose==1.3.0

# install nose
pip uninstall nose -y

if [ -n "$EXPERIMENTAL" ]; then

# install from master
rm -Rf /tmp/nose
cd /tmp
git clone --branch master https://github.com/nose-devs/nose.git nose
cd nose
python setup.py install
cd $home_dir

else

# known good version
pip install nose==1.3.0

fi


# comment this line to disable the fetching of wheel files
base_url=http://pandas.pydata.org/pandas-build/dev/wheels
Expand All @@ -54,8 +81,8 @@ time sudo apt-get $APT_ARGS install libatlas-base-dev gfortran

if [ -n "$NUMPY_BUILD" ]; then
# building numpy
curdir=$(pwd)

cd $home_dir
echo "cloning numpy"

rm -Rf /tmp/numpy
Expand All @@ -70,20 +97,18 @@ if [ -n "$NUMPY_BUILD" ]; then
# clone & install
git clone --branch $NUMPY_BUILD https://github.com/numpy/numpy.git numpy
cd numpy
wd=${pwd}
time pip install .
pip uninstall cython -y

cd $curdir
echo "building numpy: $wd"
numpy_version=$(python -c 'import numpy; print(numpy.__version__)')
echo "[$curdir] numpy current: $numpy_version"
fi

# Force virtualenv to accept system_site_packages
rm -f $VIRTUAL_ENV/lib/python$TRAVIS_PYTHON_VERSION/no-global-site-packages.txt


cd $home_dir
time pip install $PIP_ARGS -r ci/requirements-${wheel_box}.txt

# Need to enable for locale testing. The location of the locale file(s) is
Expand Down
5 changes: 2 additions & 3 deletions ci/requirements-3.4.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ xlrd==0.9.2
html5lib==1.0b2
numpy==1.8.0
cython==0.20.0
scipy==0.13.3
numexpr==2.3
tables==3.1.0
bottleneck==0.8.0
matplotlib==1.3.1
patsy==0.2.1
lxml==3.2.1
scipy==0.13.3
beautifulsoup4==4.2.1
statsmodels==0.5.0
sqlalchemy==0.9.3
pymysql==0.6.1
psycopg2==2.5.2
beautifulsoup4==4.2.1
5 changes: 1 addition & 4 deletions doc/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ compiler (MinGW or Visual Studio) installed. `How-to install MinGW on Windows
Python version support
~~~~~~~~~~~~~~~~~~~~~~

Officially Python 2.6 to 2.7 and Python 3.2+. Python 2.4 and Python 2.5 are no
longer supported since the userbase has shrunk significantly. Continuing Python
2.4 and 2.5 support will require either monetary development support or someone
contributing to the project to restore compatibility.
Officially Python 2.6, 2.7, 3.2, 3.3, and 3.4.


Binary installers
Expand Down
1 change: 1 addition & 0 deletions doc/source/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ pandas 0.14.0
New features
~~~~~~~~~~~~

- Officially support Python 3.4
- ``Index`` returns a MultiIndex if passed a list of tuples
``DataFrame(dict)`` and ``Series(dict)`` create ``MultiIndex``
columns and index where applicable (:issue:`4187`)
Expand Down
1 change: 1 addition & 0 deletions doc/source/v0.14.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ users upgrade to this version.

- Highlights include:

- Officially support Python 3.4
- SQL interfaces updated to use ``sqlalchemy``, See :ref:`Here<whatsnew_0140.sql>`.
- MultiIndexing Using Slicers, See :ref:`Here<whatsnew_0140.slicers>`.
- Ability to join a singly-indexed DataFrame with a multi-indexed DataFrame, see :ref:`Here <merging.join_on_mi>`
Expand Down

0 comments on commit 3972f2a

Please sign in to comment.