Skip to content

Commit

Permalink
Merge branch 'main' into release-branch-naming
Browse files Browse the repository at this point in the history
  • Loading branch information
rwedge committed Feb 26, 2021
2 parents 183cec6 + 2178118 commit 4d9269f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
Release Notes
-------------
**Future Release**
.. warning::
The next non-bugfix release of Featuretools will not support Python 3.6

* Enhancements
* The ``list_primitives`` function returns valid input types and the return type (:pr:`1341`)
* Fixes
* Restrict numpy version when installing koalas (:pr:`1329`)
* Changes
* Warn python 3.6 users suppport will be dropped in future release (:pr:`1344`)
* Documentation Changes
* Update docs for defining custom primitives (:pr:`1332`)
* Update featuretools release instructions (:pr:`1345`)
Expand Down
7 changes: 7 additions & 0 deletions featuretools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import pkg_resources
import sys
import traceback
import warnings

logger = logging.getLogger('featuretools')

Expand All @@ -52,3 +53,9 @@
message += "For a full stack trace, set logging to debug."
logger.warning(message.format(entry_point.name, entry_point.module_name))
logger.debug(traceback.format_exc())

if sys.version_info.major == 3 and sys.version_info.minor == 6:
warnings.warn(
"The next non-bugfix release of Featuretools will not support Python 3.6",
FutureWarning
)

0 comments on commit 4d9269f

Please sign in to comment.