Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/source/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Future Release
* Fixes
* Changes
* Restrict numpy to <2.0.0 :pr:`1869`
* Replace deprecated setuptools `pkg_resources` usages with `importlib` :pr:`1876`
* Documentation Changes
* Testing Changes

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ docs = [
"pydata-sphinx-theme == 0.9.0",
"sphinx-inline-tabs == 2022.1.2b11",
"sphinx-copybutton == 0.5.0",
"standard-imghdr >= 3.13.0",
"myst-parser == 0.18.0",
"nbconvert == 6.5.0",
"ipython == 8.4.0",
Expand Down
6 changes: 3 additions & 3 deletions woodwork/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# flake8: noqa
import pkg_resources
import sys
import warnings
from importlib.metadata import entry_points

from woodwork.config import config
from woodwork.type_sys import type_system
Expand All @@ -25,8 +25,8 @@
)

# Call functions registered by other libraries when woodwork is imported
for entry_point in pkg_resources.iter_entry_points(
"alteryx_open_src_initialize",
for entry_point in entry_points(
group="alteryx_open_src_initialize",
): # pragma: no cover
try:
method = entry_point.load()
Expand Down