diff --git a/cq_editor/utils.py b/cq_editor/utils.py index dde99ff0..1f8ad935 100644 --- a/cq_editor/utils.py +++ b/cq_editor/utils.py @@ -1,6 +1,6 @@ import requests -from pkg_resources import parse_version +from packaging.version import parse as parse_version from PyQt5 import QtCore, QtWidgets from PyQt5.QtGui import QDesktopServices diff --git a/pyproject.toml b/pyproject.toml index 2189f5e5..09f4f713 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ dependencies = [ "logbook", "requests", "qtconsole>=5.5.1,<5.7.0", - "setuptools" + "packaging" ] requires-python = ">=3.10,<=3.14" authors = [