Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed min requirements #235

Merged
merged 3 commits into from
Aug 1, 2019
Merged

Conversation

dizcza
Copy link
Member

@dizcza dizcza commented Jul 9, 2019

Currently, the min package requirements versions are broken. I found the corresponding issue #10.
This commit fixes it and includes "pip 3.6 requirements-extras min version" test in travis to make sure we will not break dependencies again.

  • Min scikit-learn version that supports python 2.7 and 3.5 is 0.19.0. That triggers numpy>=1.9.3 but v1.9.3 is broken, and the next stable one is 1.10.1.
  • Min quantities version that works well with the latest neo==0.7.1 is 0.12.1, not 0.10.1 (neo's guys should change min quantities version as well).
  • DataFrame.sort_index(level=...) was introduced in pandas v0.18.0.

One problem that I see now is that "pip 3.6 requirements-extras min version" test case takes 20 minutes while the other ones finish in less than 10 min. Building numpy, scipy and pandas old versions takes a lot of time. This is the caveat that is thankfully avoided in later and up-to-date versions. Consider excluding this test once again if that will harden the continuous development and integration.


I also added .coveragerc file to ignore tests from being counted as source code when the coverage command is run.

@coveralls
Copy link
Collaborator

coveralls commented Jul 9, 2019

Coverage Status

Coverage increased (+3.9%) to 74.892% when pulling aca22a4 on INM-6:min_requirements into 5dfdab9 on NeuralEnsemble:master.

@dizcza dizcza requested a review from mdenker July 9, 2019 12:28
@mdenker
Copy link
Member

mdenker commented Jul 21, 2019

Is this something to include in 0.6.3, or rather in 0.7? I approved, but did not merge.

@dizcza
Copy link
Member Author

dizcza commented Jul 21, 2019

I suggest merging this PR after we release v0.6.3 since the requirements are changed a lot.

@mdenker mdenker merged commit 19d3c7b into NeuralEnsemble:master Aug 1, 2019
@mdenker mdenker deleted the min_requirements branch August 1, 2019 13:09
dizcza added a commit to INM-6/elephant that referenced this pull request Aug 1, 2019
commit 19d3c7b
Author: Danylo Ulianych <dizcza@gmail.com>
Date:   Thu Aug 1 15:09:34 2019 +0200

    fixed min requirements (NeuralEnsemble#235)

    * fixed min requirements

    * travis install libopenmpi-dev

    * added .coveragerc omit=elephant/test* rule not to count test files as source code

commit 36e6096
Author: Danylo Ulianych <dizcza@gmail.com>
Date:   Wed Jul 31 16:55:47 2019 +0200

    Integrated GPFA (NeuralEnsemble#233)

    * Rename neural_trajectory to gpfa and refactor the codes accordingly

    * Remove codes related to the (not fully implemented) cross-validation feature

    * added tqdm as an extra requirement

    * push coverage only for requirements-extras test

    * gpfa verbose flag; added licence in the docs

    * Fixed and extended documentation, removed misleading function outputs.

commit d6822d6
Author: Danylo Ulianych <dizcza@gmail.com>
Date:   Tue Jul 23 16:35:45 2019 +0300

    Acknowledgments (NeuralEnsemble#241)

    * acknowledgments

    * removed reference file AUTHORS.txt

    * recursive-exclude . *~

commit 6fd3a5b
Author: Danylo Ulianych <dizcza@gmail.com>
Date:   Mon Jul 22 23:14:36 2019 +0300

    Release v0.6.3 (NeuralEnsemble#240)

    * Release v0.6.3

    * Update doc/reference/waveform_features.rst

    Co-Authored-By: Michael Denker <m.denker@fz-juelich.de>

commit c013e39
Author: Danylo Ulianych <dizcza@gmail.com>
Date:   Sun Jul 21 09:18:03 2019 +0300

    elephant dir packages are back (NeuralEnsemble#239)

    * reverted removed imports of elephant's internal packages; download fim during the setup

    * download fim from tools/fim_manager.py

    * dummy tools/__init__.py to support py2

    * include requirements in MANIFEST back

    * fixed spade licence typo

    * included waveform_features module; removed tools; don't donwload fim at setup while macking a tarball with 'sdist' command

    travis not fixed downloading fim

    * skip time consuming test_spade_cpp if not HAVE_FIM

    * travis pip install generated tarball

    * recursive-include elephant *.py

commit 3c30574
Author: Danylo Ulianych <dizcza@gmail.com>
Date:   Wed Jul 10 18:21:37 2019 +0200

    Butterworth supports sosfiltfilt filter_function (NeuralEnsemble#234)

    * Butterworth supports sosfiltfilt filter_function

    * higher order filters comment
dizcza added a commit to INM-6/elephant that referenced this pull request Aug 13, 2019
commit caa2110
Author: Danylo Ulianych <dizcza@gmail.com>
Date:   Tue Aug 13 10:03:45 2019 +0300

    explain and ignore warnings during the tests (NeuralEnsemble#238)

    * explain and ignore warnings during the tests

    * scipy v0.18.0

    * fixed min-req tests: scipy v0.19.0

    * exclude min-requirements tests back

    * fixed division by zero

commit 19d3c7b
Author: Danylo Ulianych <dizcza@gmail.com>
Date:   Thu Aug 1 15:09:34 2019 +0200

    fixed min requirements (NeuralEnsemble#235)

    * fixed min requirements

    * travis install libopenmpi-dev

    * added .coveragerc omit=elephant/test* rule not to count test files as source code

commit 36e6096
Author: Danylo Ulianych <dizcza@gmail.com>
Date:   Wed Jul 31 16:55:47 2019 +0200

    Integrated GPFA (NeuralEnsemble#233)

    * Rename neural_trajectory to gpfa and refactor the codes accordingly

    * Remove codes related to the (not fully implemented) cross-validation feature

    * added tqdm as an extra requirement

    * push coverage only for requirements-extras test

    * gpfa verbose flag; added licence in the docs

    * Fixed and extended documentation, removed misleading function outputs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants