From 2f9d4eb67edaaad636e3de1f8b6d5d962a96571b Mon Sep 17 00:00:00 2001 From: Tamar Grey <64278226+tamargrey@users.noreply.github.com> Date: Fri, 16 Feb 2024 14:14:27 -0500 Subject: [PATCH] Remove references to premium primitives (#2674) * Remove references to premium primitives * add release note * remove other prims from docs --- .github/workflows/install_test.yaml | 6 +----- docs/source/api_reference.rst | 21 --------------------- docs/source/install.md | 4 ---- docs/source/release_notes.rst | 1 + pyproject.toml | 7 ++----- 5 files changed, 4 insertions(+), 35 deletions(-) diff --git a/.github/workflows/install_test.yaml b/.github/workflows/install_test.yaml index 72685290a5..a7eeb17ee8 100644 --- a/.github/workflows/install_test.yaml +++ b/.github/workflows/install_test.yaml @@ -50,14 +50,10 @@ jobs: - name: Test by importing packages run: | python -c "import alteryx_open_src_update_checker" - python -c "import premium_primitives" - python -c "from premium_primitives import PolarityScore" - python -c "from featuretools.primitives import PolarityScore" - python -c "from featuretools.primitives import CountryCodeToContinent" python -c "from featuretools_sql import DBConnector" - name: Check package conflicts run: | python -m pip check - name: Verify extra_requires commands run: | - python -m pip install "unpacked_sdist/[nlp,spark,updater,sql,premium]" + python -m pip install "unpacked_sdist/[nlp,spark,updater,sql]" diff --git a/docs/source/api_reference.rst b/docs/source/api_reference.rst index 2fdcf23a57..21e333f656 100644 --- a/docs/source/api_reference.rst +++ b/docs/source/api_reference.rst @@ -312,27 +312,6 @@ Time Series Transform Primitives RollingTrend -.. currentmodule:: premium_primitives - -.. autosummary:: - :nosignatures: - -Natural Language Processing Primitives --------------------------------------- -Natural Language Processing primitives create features for textual data. For more information on how to use and install these primitives, see `here `__. - -Primitives in standard install -****************************** -.. autosummary:: - :toctree: generated/ - - DiversityScore - LSA - PartOfSpeechCount - PolarityScore - StopwordCount - - Feature methods --------------- .. currentmodule:: featuretools.feature_base diff --git a/docs/source/install.md b/docs/source/install.md index 207a74e6cc..9ef8e1d076 100644 --- a/docs/source/install.md +++ b/docs/source/install.md @@ -29,10 +29,6 @@ Be sure to install [Scala and Spark](#scala-and-spark) if you want to use Spark ```console $ python -m pip install "featuretools[complete]" ``` -```{tab} Premium Primitives -```console -$ python -m pip install "featuretools[premium]" -``` ```{tab} Dask ```console $ python -m pip install "featuretools[dask]" diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index b483c13e7e..2ab5424e10 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -26,6 +26,7 @@ v1.29.0 Feb 16, 2024 * Remove woodwork, pyarrow, numpy, and pandas pins for spark installation (:pr:`2661`) * Documentation Changes * Update Featuretools logo to display properly in dark mode (:pr:`2632`) + * Remove references to premium primitives while release isnt possible (:pr:`2674`) * Testing Changes * Update tests for compatibility with new versions of ``holidays`` (:pr:`2636`) * Update ruff to 0.1.6 and use ruff linter/formatter (:pr:`2639`) diff --git a/pyproject.toml b/pyproject.toml index c1c75bca94..ec823285a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,9 +80,6 @@ updater = [ tsfresh = [ "featuretools-tsfresh-primitives >= 1.0.0", ] -premium = [ - "premium_primitives @ git+https://github.com/alteryx/premium_primitives.git@99e42b78e163abb0519d65184027515923a94576", -] autonormalize = [ "autonormalize >= 2.0.1", ] @@ -106,7 +103,7 @@ docs = [ "myst-parser == 0.18.0", "autonormalize >= 2.0.1", "click >= 7.0.0", - "featuretools[dask,spark,test,premium]", + "featuretools[dask,spark,test]", ] dev = [ "ruff >= 0.1.6", @@ -115,7 +112,7 @@ dev = [ "featuretools[docs,dask,spark,test]", ] complete = [ - "featuretools[autonormalize,premium,sklearn,dask,spark,sql,tsfresh,updater]", + "featuretools[autonormalize,sklearn,dask,spark,sql,tsfresh,updater]", ] [tool.setuptools]