Skip to content

Commit

Permalink
Merge branch 'hotfix-1.2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed Jan 15, 2021
2 parents 4c8882f + 158b5b5 commit d58ab34
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 9 deletions.
10 changes: 10 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
Changelog
=========

Hotfix 1.2.1
------------

* Tag: v1.2.1_
* Deployed Friday, January 15, 2020
* Contributors: Rebecca Bilbro, Benjamin Bengfort, Paul Johnson, Matt Harrison

On December 22, 2020, scikit-learn released version 0.24 which deprecated the external use of scikit-learn's internal utilities such as ``safe_indexing``. Unfortunately, Yellowbrick depends on a few of these utilities and must refactor our internal code base to port this functionality or work around it. To ensure that Yellowbrick continues to work when installed via ``pip``, we have temporarily changed our scikit-learn dependency to be less than 0.24. We will update our dependencies on the v1.3 release when we have made the associated fixes.


Version 1.2
-----------

Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Library Dependencies
matplotlib>=3.0.2,!=3.1.1
scipy>=1.0.0
scikit-learn>=0.20
scipy>=1.0.0,<1.6
scikit-learn>=0.20,<0.24
numpy>=1.13.0
cycler>=0.10.0

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Dependencies
matplotlib>=2.0.2,!=3.0.0
scipy>=1.0.0
scikit-learn>=0.20
scipy>=1.0.0,<1.6
scikit-learn>=0.20,<0.24
numpy>=1.13.0
cycler>=0.10.0

Expand Down
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
## Test Constants
##########################################################################

EXPECTED_VERSION = "1.2"
EXPECTED_VERSION = "1.2.1"


##########################################################################
Expand Down
4 changes: 2 additions & 2 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Library Dependencies
matplotlib>=3.3
scipy>=1.0.0
scikit-learn>=0.20
scipy>=1.0.0,<1.6
scikit-learn>=0.20,<0.24
numpy>=1.13.0
cycler>=0.10.0

Expand Down
1 change: 1 addition & 0 deletions tests/test_contrib/test_missing/test_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class TestMissingBarVisualizer(VisualTestCase):
FeatureImportances visualizer
"""

@pytest.mark.skipif(pd is None, reason="pandas is required")
def test_missingvaluesbar_pandas(self):
"""
Integration test of visualizer with pandas
Expand Down
2 changes: 2 additions & 0 deletions tests/test_contrib/test_missing/test_dispersion.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class TestMissingValuesDispersion(VisualTestCase):
MissingValuesDispersion visualizer
"""

@pytest.mark.skipif(pd is None, reason="pandas is required")
def test_missingvaluesdispersion_with_pandas(self):
"""
Integration test of visualizer with pandas
Expand All @@ -72,6 +73,7 @@ def test_missingvaluesdispersion_with_pandas(self):

self.assert_images_similar(viz, tol=self.tol)

@pytest.mark.skipif(pd is None, reason="pandas is required")
def test_missingvaluesdispersion_with_pandas_with_y_targets(self):
"""
Integration test of visualizer with pandas with y targets
Expand Down
4 changes: 2 additions & 2 deletions yellowbrick/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
__version_info__ = {
"major": 1,
"minor": 2,
"micro": 0,
"micro": 1,
"releaselevel": "final",
"post": 0,
"serial": 18,
"serial": 19,
}

##########################################################################
Expand Down

0 comments on commit d58ab34

Please sign in to comment.