Repository: alteryx/evalml
Pull request #3826 (2022-11-09 01:08:27)

Update demo dataset links to point to new endpoint
- Updated base url for demo datasets

codecov[bot]: # [Codecov](https://codecov.io/gh/alteryx/evalml/pull/3826?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx) Report
> Merging [#3826](https://codecov.io/gh/alteryx/evalml/pull/3826?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx) (104d4f8) into [main](https://codecov.io/gh/alteryx/evalml/commit/079068751500f05a3ae53dd1442e14211619aec0?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx) (0790687) will **decrease** coverage by `81.3%`.
> The diff coverage is `0.0%`.

> :exclamation: Current head 104d4f8 differs from pull request most recent head 6ae3561. Consider uploading reports for the commit 6ae3561 to get more accurate results

```diff
@@           Coverage Diff            @@
##            main   #3826      +/-   ##
========================================
- Coverage   99.7%   18.4%   -81.2%     
========================================
  Files        343     343              
  Lines      35807   35807              
========================================
- Hits       35670    6564   -29106     
- Misses       137   29243   +29106     
```


| [Impacted Files](https://codecov.io/gh/alteryx/evalml/pull/3826?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx) | Coverage Δ | |
|---|---|---|
| [evalml/demos/breast\_cancer.py](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx#diff-ZXZhbG1sL2RlbW9zL2JyZWFzdF9jYW5jZXIucHk=) | `40.0% <ø> (-60.0%)` | :arrow_down: |
| [evalml/demos/churn.py](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx#diff-ZXZhbG1sL2RlbW9zL2NodXJuLnB5) | `60.0% <ø> (-40.0%)` | :arrow_down: |
| [evalml/demos/diabetes.py](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx#diff-ZXZhbG1sL2RlbW9zL2RpYWJldGVzLnB5) | `37.5% <ø> (-62.5%)` | :arrow_down: |
| [evalml/demos/fraud.py](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx#diff-ZXZhbG1sL2RlbW9zL2ZyYXVkLnB5) | `42.9% <ø> (-57.1%)` | :arrow_down: |
| [evalml/demos/weather.py](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx#diff-ZXZhbG1sL2RlbW9zL3dlYXRoZXIucHk=) | `27.8% <ø> (-72.2%)` | :arrow_down: |
| [evalml/demos/wine.py](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx#diff-ZXZhbG1sL2RlbW9zL3dpbmUucHk=) | `40.0% <ø> (-60.0%)` | :arrow_down: |
| [evalml/tests/conftest.py](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx#diff-ZXZhbG1sL3Rlc3RzL2NvbmZ0ZXN0LnB5) | `41.9% <ø> (-56.0%)` | :arrow_down: |
| [evalml/tests/demo\_tests/test\_datasets.py](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx#diff-ZXZhbG1sL3Rlc3RzL2RlbW9fdGVzdHMvdGVzdF9kYXRhc2V0cy5weQ==) | `0.0% <0.0%> (-100.0%)` | :arrow_down: |
| [evalml/\_\_main\_\_.py](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx#diff-ZXZhbG1sL19fbWFpbl9fLnB5) | `0.0% <0.0%> (-100.0%)` | :arrow_down: |
| [evalml/tests/utils\_tests/test\_logger.py](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx#diff-ZXZhbG1sL3Rlc3RzL3V0aWxzX3Rlc3RzL3Rlc3RfbG9nZ2VyLnB5) | `0.0% <0.0%> (-100.0%)` | :arrow_down: |
| ... and [287 more](https://codecov.io/gh/alteryx/evalml/pull/3826/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx) | |

Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=alteryx)


Patch:
diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst
index d024602a..f8180501 100644
--- a/docs/source/release_notes.rst
+++ b/docs/source/release_notes.rst
@@ -5,6 +5,7 @@ Release Notes
     * Enhancements
     * Fixes
         * Fixed bug where ``TimeSeriesFeaturizer`` could not encode Ordinal columns with non numeric categories :pr:`3812`
+        * Update demo dataset links to point to new endpoint :pr:`3826`
     * Changes
         * Remove Featuretools version upper bound and prevent Woodwork 0.20.0 from being installed :pr:`3813`
         * Update min Featuretools version to 0.16.0, min nlp-primitives version to 2.9.0 and min Dask version to 2022.2.0 :pr:`3823`
diff --git a/evalml/demos/breast_cancer.py b/evalml/demos/breast_cancer.py
index fd83efdb..c0b22585 100644
--- a/evalml/demos/breast_cancer.py
+++ b/evalml/demos/breast_cancer.py
@@ -12,7 +12,7 @@ def load_breast_cancer():
         (pd.Dataframe, pd.Series): X and y
     """
     filepath = (
-        "https://api.featurelabs.com/datasets/breast_cancer.csv?library=evalml&version="
+        "https://oss.alteryx.com/datasets/breast_cancer.csv?library=evalml&version="
         + evalml.__version__
     )
     X, y = load_data(filepath, index=None, target="target")
diff --git a/evalml/demos/churn.py b/evalml/demos/churn.py
index 385fa29a..ac8ae563 100644
--- a/evalml/demos/churn.py
+++ b/evalml/demos/churn.py
@@ -14,7 +14,7 @@ def load_churn(n_rows=None, verbose=True):
         (pd.Dataframe, pd.Series): X and y
     """
     churn_data_path = (
-        "https://api.featurelabs.com/datasets/churn.csv?library=evalml&version="
+        "https://oss.alteryx.com/datasets/churn.csv?library=evalml&version="
         + evalml.__version__
     )
 
diff --git a/evalml/demos/diabetes.py b/evalml/demos/diabetes.py
index a8f9f131..69fb17ef 100644
--- a/evalml/demos/diabetes.py
+++ b/evalml/demos/diabetes.py
@@ -14,7 +14,7 @@ def load_diabetes():
         (pd.Dataframe, pd.Series): X and y
     """
     filename = (
-        "https://api.featurelabs.com/datasets/diabetes-2022-06-27.csv?library=evalml&version="
+        "https://oss.alteryx.com/datasets/diabetes-2022-06-27.csv?library=evalml&version="
         + evalml.__version__
     )
     X, y = load_data(filename, index=None, target="target")
diff --git a/evalml/demos/fraud.py b/evalml/demos/fraud.py
index 3a549ad1..0999631c 100644
--- a/evalml/demos/fraud.py
+++ b/evalml/demos/fraud.py
@@ -16,7 +16,7 @@ def load_fraud(n_rows=None, verbose=True):
         (pd.Dataframe, pd.Series): X and y
     """
     fraud_data_path = (
-        "https://api.featurelabs.com/datasets/fraud_transactions.csv.gz?library=evalml&version="
+        "https://oss.alteryx.com/datasets/fraud_transactions.csv.gz?library=evalml&version="
         + evalml.__version__
     )
 
diff --git a/evalml/demos/weather.py b/evalml/demos/weather.py
index 2dc86c08..188d04d1 100644
--- a/evalml/demos/weather.py
+++ b/evalml/demos/weather.py
@@ -14,7 +14,7 @@ def load_weather():
 
     """
     filename = (
-        "https://api.featurelabs.com/datasets/daily-min-temperatures.csv?library=evalml&version="
+        "https://oss.alteryx.com/datasets/daily-min-temperatures.csv?library=evalml&version="
         + evalml.__version__
     )
     X, y = load_data(filename, index=None, target="Temp")
diff --git a/evalml/demos/wine.py b/evalml/demos/wine.py
index e9fee6db..cc38b32f 100644
--- a/evalml/demos/wine.py
+++ b/evalml/demos/wine.py
@@ -12,7 +12,7 @@ def load_wine():
         (pd.Dataframe, pd.Series): X and y
     """
     filepath = (
-        "https://api.featurelabs.com/datasets/wine.csv?library=evalml&version="
+        "https://oss.alteryx.com/datasets/wine.csv?library=evalml&version="
         + evalml.__version__
     )
     X, y = load_data(filepath, index=None, target="target")


Test patch:
diff --git a/evalml/tests/conftest.py b/evalml/tests/conftest.py
index 80bff02e..82092d78 100644
--- a/evalml/tests/conftest.py
+++ b/evalml/tests/conftest.py
@@ -51,7 +51,7 @@ from evalml.utils import infer_feature_types
 def pytest_configure(config):
     config.addinivalue_line(
         "markers",
-        "skip_offline: mark test to be skipped if offline (https://api.featurelabs.com cannot be reached)",
+        "skip_offline: mark test to be skipped if offline (https://oss.alteryx.com cannot be reached)",
     )
     config.addinivalue_line(
         "markers",
diff --git a/evalml/tests/demo_tests/test_datasets.py b/evalml/tests/demo_tests/test_datasets.py
index 9d57c2d3..84ec7c2f 100644
--- a/evalml/tests/demo_tests/test_datasets.py
+++ b/evalml/tests/demo_tests/test_datasets.py
@@ -16,7 +16,7 @@ def set_testing_headers():
 @pytest.fixture(autouse=True, scope="session")
 def check_online(set_testing_headers):
     try:
-        urllib.request.urlopen("https://api.featurelabs.com/update_check/")
+        urllib.request.urlopen("https://oss.alteryx.com/update_check/")
         return True
     except urllib.error.URLError:  # pragma: no cover
         return False