Skip to content

Commit 9803ae0

Browse files
authored
Merge pull request #41 from bashtage/rls-1160
RLS: Release 1.16.0
2 parents 6570172 + a66be95 commit 9803ae0

7 files changed

+49
-23
lines changed

.travis.yml

+9-21
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Travis script that uses miniconda in place of the system installed python
2-
# versions. Allows substantial flexability for choosing versions of
3-
# required packages and is simpler to use to test up-to-date scientific Python
4-
# stack
51
group: edge
62
dist: trusty
73
sudo: required
@@ -11,6 +7,7 @@ env:
117
global:
128
# Doctr deploy key for bashtage/randomgen
139
- secure: "czwFlflS1lcfbSQ9ktv+pLAPV9/6+wmwiMTyIYyv5xgQVWRL5NRebWH+ZhQ6s2T5x17wFMtlafcAvkdV0CHQZLru34V2UNldCapuEtQ8b32EDHBXHKbs45b7SSkLx4TFXdjiJurleY4ZIKle0gX6BW21zYBwaHJqbN6I8nRv9Rp47XEU1UV1Mdf/PhfTnxY31rFrPYL77xeWJzoFfT8zao39V4gQds+1Ag7FjdNVdSDVKwDduF4kS7tIbKqb4M+jsbc3PIKyP9nyQpEQF5ebJuG7mqXJhVJGEL83rBx8MLFPA/1X3cUzKacgKyp2+Wmlt0EVhwCa1aRf9cSK6I7TbMC7/eGtDnC2ToiRlFJurVRblaEmhzVQS1yQ4Dkooqsj9hNVl6nhu7JfR52GLogns33Ec/yYuRcWcULKSlR5Cerfef/5YijBEhlr9X76SJiOpjvS4lwWFYX+h8xzuVhRLGwIVB9oQNllxYItzcDSGmRx+EOMXWASHmoUDnBOZg4GMVukqOcF5l0ynoepiA1YHLdZlMy6SB3P7BZKF/aNCOn9nXw+N9X4U/yUpkM3Pb7HoGdNrC8RO4SwrNjGrarkdEB6e1lBReK/dqcylaF/mpK9VLpfQszDI8xnR4VCmlEM+le0xOsyHfeGciabdI4KH0i0SfYl4ls5XrN+CaqFWdo="
10+
- PYPI=false
1411

1512
cache:
1613
directories:
@@ -22,11 +19,14 @@ matrix:
2219
- os: linux
2320
env: [PYTHON=2.7, NUMPY=1.13, CYTHON=0.26]
2421
- os: linux
25-
env: [PYTHON=3.5, NUMPY=1.13]
22+
env: [PYTHON=2.7]
2623
- os: linux
27-
env: [PYTHON=3.6, NUMPY=1.14, CYTHON=0.27]
24+
env: [PYTHON=3.5, NUMPY=1.14]
2825
- os: linux
29-
env: [PYTHON=3.6, NUMPY=1.15, CYTHON=0.28]
26+
env: [PYTHON=3.6, NUMPY=1.15, CYTHON=0.27]
27+
- os: linux
28+
python: 3.6
29+
env: [PYPI=true]
3030
- os: linux
3131
env: [PYTHON=3.7, DOCBUILD=true]
3232
- os: osx
@@ -36,23 +36,11 @@ matrix:
3636

3737
before_install:
3838
- git fetch --tags
39-
- if [[ ${TRAVIS_OS_NAME} == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda3.sh; fi
40-
- if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda3.sh; fi
41-
- chmod +x miniconda3.sh
42-
- ./miniconda3.sh -b
43-
- export PATH=${HOME}/miniconda3/bin:$PATH
44-
- conda config --set always_yes true
45-
- conda update --all --quiet
46-
- PKGS="python=${PYTHON}"
47-
- PKGS="${PKGS} numpy"; if [ ${NUMPY} ]; then PKGS="${PKGS}=${NUMPY}"; fi
48-
- PKGS="${PKGS} Cython"; if [ ${CYTHON} ]; then PKGS="${PKGS}=${CYTHON}"; fi
49-
- PKGS="${PKGS} pandas"; if [ ${PANDAS} ]; then PKGS="${PKGS}=${PANDAS}"; fi
50-
- conda create -n randomgen-test ${PKGS} pytest setuptools nose --quiet
51-
- source activate randomgen-test
39+
- if [[ $PYPI = true ]]; then source ci/pypi-install.sh; else source ci/conda-install.sh; fi
5240
- pip install tempita coverage coveralls pytest-cov codecov -q
41+
- pip list
5342
- export BUILD_DIR=${PWD}
5443
- if [[ ${DOCBUILD} == true ]]; then pip install sphinx sphinx_rtd_theme guzzle_sphinx_theme ipython doctr -q; fi
55-
- if [[ ${DOCBUILD} == true ]]; then conda install numba pandas matplotlib --quiet; fi
5644
- gcc --version || true
5745
- clang --version || true
5846

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ NumPy RandomState evolution.
1010
This is a library and generic interface for alternative random
1111
generators in Python and NumPy.
1212

13+
## Python 2.7 Support
14+
15+
Release 1.16.0 is the final version that supports Python 2.7. Any bugs
16+
in v1.16.0 will be patched until the end of 2019. All future releases
17+
are Python 3, with an initial minimum version of 3.5.
18+
1319
## Compatibility Warning
1420

1521
`RandomGenerator` does not support Box-Muller normal variates and so it not

README.rst

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ NumPy RandomState evolution.
99
This is a library and generic interface for alternative random
1010
generators in Python and NumPy.
1111

12+
.. rubric:: Python 2.7 Support
13+
:name: Python 2.7 Support
14+
15+
Release 1.16.0 is the final version that supports Python 2.7. Any bugs
16+
in v1.16.0 will be patched until the end of 2019. All future releases
17+
are Python 3, with an initial minimum version of 3.5.
18+
19+
1220
Compatibility Warning
1321
---------------------
1422

ci/conda-install.sh

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env bash
2+
3+
if [[ ${TRAVIS_OS_NAME} == "osx" ]]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda3.sh; fi
4+
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda3.sh; fi
5+
chmod +x miniconda3.sh
6+
./miniconda3.sh -b
7+
export PATH=${HOME}/miniconda3/bin:$PATH
8+
conda config --set always_yes true
9+
conda update --all --quiet
10+
conda create -n randomgen-test ${PKGS} pip --quiet
11+
source activate randomgen-test
12+
13+
PKGS="python=${PYTHON} matplotlib numpy"
14+
if [[ -n ${NUMPY} ]]; then PKGS="${PKGS}=${NUMPY}"; fi
15+
PKGS="${PKGS} Cython";
16+
if [[ -n ${CYTHON} ]]; then PKGS="${PKGS}=${CYTHON}"; fi
17+
PKGS="${PKGS} pandas";
18+
if [[ -n ${PANDAS} ]]; then PKGS="${PKGS}=${PANDAS}"; fi
19+
echo conda create -n randomgen-test ${PKGS} pytest setuptools nose --quiet
20+
conda create -n randomgen-test ${PKGS} pytest setuptools nose --quiet

ci/pypi-install.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
pip install numpy cython pandas pytest setuptools nose matplotlib --quiet

doc/source/change-log.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Change Log
22
----------
3-
v1.15.2
3+
v1.16.0
44
=======
55
- Fixed a bug that affected :class:`~randomgen.dsfmt.DSFMT` when calling
66
:func:`~randomgen.dsfmt.DSFMT.jump` or :func:`~randomgen.dsfmt.DSFMT.seed`
@@ -11,6 +11,7 @@ v1.15.2
1111
entropy initialization used too few bytes. This bug is unlikely to be
1212
encountered since this path is only encountered if the system random
1313
number generator fails.
14+
- Synchronized with upstream changes.
1415

1516
v1.15.1
1617
=======

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
numpy>=1.10
1+
numpy>=1.13
22
cython>=0.26
33
setuptools
44
wheel

0 commit comments

Comments
 (0)