Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove importlib-metadata dependency #184

Merged
merged 3 commits into from
Jan 21, 2024
Merged
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
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
Loading