Skip to content

Commit

Permalink
Remove references to premium primitives (#2674)
Browse files Browse the repository at this point in the history
* Remove references to premium primitives

* add release note

* remove other prims from docs
  • Loading branch information
tamargrey committed Feb 16, 2024
1 parent d78c9a4 commit 2f9d4eb
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 35 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/install_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
21 changes: 0 additions & 21 deletions docs/source/api_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/alteryx/premium_primitives>`__.

Primitives in standard install
******************************
.. autosummary::
:toctree: generated/

DiversityScore
LSA
PartOfSpeechCount
PolarityScore
StopwordCount


Feature methods
---------------
.. currentmodule:: featuretools.feature_base
Expand Down
4 changes: 0 additions & 4 deletions docs/source/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]"
Expand Down
1 change: 1 addition & 0 deletions docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand All @@ -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",
Expand All @@ -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]
Expand Down

0 comments on commit 2f9d4eb

Please sign in to comment.