Skip to content

Commit

Permalink
fixes setup issues and updates baselines images
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas committed Mar 27, 2021
1 parent 0e65abb commit 8b6f4d9
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
CHANGELOG
=========

0.5.5dev
--------
* Adds missing dependency (``IPython``), required by ``NotebookIntrospector``

0.5.4 (2020-12-28)
-------------------
* ``NotebookCollection`` displays output using HTML and tabs
Expand Down
10 changes: 8 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@
@nox.session(venv_backend='conda',
python=os.environ.get('TRAVIS_PYTHON_VERSION', '3.8'))
def tests(session):
session.conda_install('lxml')

# if we remove the --editable flag pytest throws an error, because there
# are two copies of the pkg (src/ and site-packages/), this is a quick
# way to fix it
# https://github.com/pytest-dev/pytest/issues/7678
session.install('--editable', '.')

# test vanilla installation is importable
session.run('python', '-c', 'import sklearn_evaluation')

# this is needed to run tests
session.conda_install('lxml')
# install other test dependencies
session.install('--editable', '.[all]')

# run unit tests
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,12 @@
'tabulate',
'jinja2',
# reports
'ipython',
'mistune',
'pandas',
'nbformat',
# notebook compare
'ipython',
'black',
],
extras_require={
'all': ALL,
Expand Down
Binary file modified tests/baseline_images/test_grid_search/double.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline_images/test_grid_search/single_numeric_bar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline_images/test_grid_search/single_numeric_line.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline_images/test_plot/confusion_matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/baseline_images/test_plot/normalized_confusion_matrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8b6f4d9

Please sign in to comment.