Skip to content

Commit

Permalink
Remove Python 3.7 dependencies (#970)
Browse files Browse the repository at this point in the history
Drop Python < 3.8 support.
  • Loading branch information
WeilerP committed Dec 9, 2022
1 parent 5725727 commit 0cbd579
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 2 additions & 5 deletions scvelo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@
__version__ = get_version(root="..", relative_to=__file__)
del get_version
except (LookupError, ImportError):
# TODO: Deprecate Python<3.8 usage.
try:
from importlib_metadata import version # Python < 3.8
except ImportError:
from importlib.metadata import version # Python = 3.8
from importlib.metadata import version

__version__ = version(__name__)
del version

Expand Down
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ def read_requirements(req_path):
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Bio-Informatics",
Expand Down

0 comments on commit 0cbd579

Please sign in to comment.