Skip to content

Commit

Permalink
Clean up unused and transitive dependencies. Remove impoortlib-metada…
Browse files Browse the repository at this point in the history
…ta. (#184)

* remove unused and transitive dependencies

* remove importlib_metadata dep in favor of stdlib

---------

Co-authored-by: Sorin Sbarnea <[email protected]>
  • Loading branch information
gotmax23 and ssbarnea authored Jan 21, 2024
1 parent 6bd7a77 commit b6b4fef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .config/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#
babel==2.14.0
beautifulsoup4==4.12.3
blessings==1.7
build==1.0.3
cachetools==5.3.2
cairocffi==1.6.1
Expand All @@ -18,6 +17,7 @@ charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
coverage==7.4.0
cryptography==41.0.7
cssselect2==0.7.0
defusedxml==0.7.1
diskcache==5.6.3
Expand All @@ -32,6 +32,7 @@ idna==3.6
importlib-metadata==7.0.1
iniconfig==2.0.0
jaraco-classes==3.3.0
jeepney==0.8.0
jinja2==3.1.3
keyring==24.3.0
markdown==3.5.2
Expand Down Expand Up @@ -74,6 +75,7 @@ requests==2.31.0
requests-toolbelt==1.0.0
rfc3986==2.0.0
rich==13.7.0
secretstorage==3.3.3
shellingham==1.5.4
six==1.16.0
smmap==5.0.1
Expand Down
6 changes: 0 additions & 6 deletions .config/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
GitPython
blessings
build>=0.3.1.post1 # py_package
click >= 7.1.2
colorama # for Windows
diskcache >= 5.2.1
importlib-metadata
packaging
pip>=21.0.1 # py_package
pluggy
pygments
pyyaml
rich >= 9.0
setuptools # py_package due to running setup.py
shellingham
Expand Down
2 changes: 1 addition & 1 deletion src/mk/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""init code of mk module."""
from importlib_metadata import PackageNotFoundError, version
from importlib.metadata import PackageNotFoundError, version

try:
__version__ = version(__name__)
Expand Down

0 comments on commit b6b4fef

Please sign in to comment.