From 23a10053aeca51bf72248f4ee8f9ac2b87d8d1a9 Mon Sep 17 00:00:00 2001 From: Axel DEROMBLAY Date: Mon, 29 Jul 2019 15:06:58 +0200 Subject: [PATCH 1/3] [UPD] remove support for Python 2.7 --- .travis.yml | 17 +++-------------- VERSION.txt | 2 +- docs/history.rst | 4 ++++ docs/installation.rst | 2 +- requirements.txt | 2 +- setup.py | 1 - 6 files changed, 10 insertions(+), 18 deletions(-) diff --git a/.travis.yml b/.travis.yml index 98dbfdd7..cda2249c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,12 @@ language: python matrix: include: - - os: linux - python: '2.7' + - os: linux python: '3.5' - os: linux python: '3.6' - - os: osx - language: generic - python: '2.7' - before_install: - - brew update - - brew install libomp - - brew upgrade pyenv - - brew install pyenv-virtualenv - - pyenv install 2.7.15 - - eval "$(pyenv init -)" - - pyenv virtualenv 2.7.15 venv - - pyenv activate venv + - os: osx language: generic python: '3.5' @@ -43,6 +31,7 @@ matrix: - eval "$(pyenv init -)" - pyenv virtualenv 3.6.7 venv - pyenv activate venv + - os: windows language: sh python: '3.5' diff --git a/VERSION.txt b/VERSION.txt index faef31a4..a3df0a69 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -0.7.0 +0.8.0 diff --git a/docs/history.rst b/docs/history.rst index 4dee6b58..1a0d2929 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -85,3 +85,7 @@ History * add tests * improve documentation & examples * minor changes in the package architecture + +0.8.0 (2019-07-29) +------------------ +* remove support for python 2.7 version \ No newline at end of file diff --git a/docs/installation.rst b/docs/installation.rst index d5a773f9..1da5b0bc 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -8,7 +8,7 @@ Compatibilities --------------- * *Operating systems:* **Linux**, **MacOS** & **Windows**. -* *Python versions:* **2.7** (except on Windows), **3.5** - **3.6**. & **64-bit version** only (32-bit python is not supported) +* *Python versions:* **3.5** - **3.6**. & **64-bit version** only (32-bit python is not supported) Basic requirements diff --git a/requirements.txt b/requirements.txt index b3e920fe..002d0b03 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -numpy>=1.16.3 +numpy==1.16.3 scipy==1.2.1 matplotlib==2.2.4 hyperopt==0.1 diff --git a/setup.py b/setup.py index d1c3c4b8..d309482c 100644 --- a/setup.py +++ b/setup.py @@ -63,7 +63,6 @@ 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6' ], From 420ce12dda05a975066a88240d52a5c5343da43e Mon Sep 17 00:00:00 2001 From: Axel DEROMBLAY Date: Mon, 29 Jul 2019 17:15:52 +0200 Subject: [PATCH 2/3] [FIX] add codecov token --- .codecov.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.codecov.yml b/.codecov.yml index dfc378f0..f2f5d301 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,12 +1,11 @@ codecov: + token: b03fd907-a5af-4638-b0a8-23075ad380a4 notify: require_ci_to_pass: yes - coverage: precision: 2 round: up range: "50...100" - status: project: default: @@ -19,4 +18,17 @@ coverage: # Be tolerant on slight code coverage diff on PRs to limit # noisy red coverage status on github PRs. target: auto - threshold: 1% \ No newline at end of file + threshold: 1% + changes: no +parsers: + gcov: + branch_detection: + conditional: yes + loop: yes + method: no + macro: no + +comment: + layout: "header, diff" + behavior: default + require_changes: no \ No newline at end of file From eb6923c73d74c214cd0e5c666a57d3836c9c9024 Mon Sep 17 00:00:00 2001 From: Axel DEROMBLAY Date: Mon, 29 Jul 2019 17:37:42 +0200 Subject: [PATCH 3/3] [UPD] speed up travis build --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cda2249c..dfd5907e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,6 @@ matrix: language: generic python: '3.5' before_install: - - brew update - brew install libomp - brew upgrade pyenv - brew install pyenv-virtualenv @@ -23,7 +22,6 @@ matrix: language: generic python: '3.6' before_install: - - brew update - brew install libomp - brew upgrade pyenv - brew install pyenv-virtualenv