Skip to content

Commit 3c073b7

Browse files
committed
Fixing a deprecation before it breaks newer installs
1 parent bf86b7c commit 3c073b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cq_editor/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import requests
22

3-
from pkg_resources import parse_version
3+
from packaging.version import parse as parse_version
44

55
from PyQt5 import QtCore, QtWidgets
66
from PyQt5.QtGui import QDesktopServices

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dependencies = [
1313
"logbook",
1414
"requests",
1515
"qtconsole>=5.5.1,<5.7.0",
16-
"setuptools"
16+
"packaging"
1717
]
1818
requires-python = ">=3.10,<=3.14"
1919
authors = [

0 commit comments

Comments
 (0)