Skip to content

Commit

Permalink
Deprecate Python 3.7 support (#969)
Browse files Browse the repository at this point in the history
* Remove `typing_extensions` dependency

* Update `setup.py`

Update required Python version to at least 3.8.
  • Loading branch information
WeilerP committed Dec 8, 2022
1 parent 60e8e16 commit 5725727
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
scanpy
setuptools
setuptools_scm
typing_extensions
importlib_metadata
sphinx_rtd_theme>=0.3
sphinx_autodoc_typehints<=1.6
Expand Down
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
typing_extensions

# main requirements for single-cell analysis
anndata>=0.7.5 # compatible with h5py v3.0 (v0.7.5)
scanpy>=1.5 # adapt to new anndata attributes (v1.5)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def read_requirements(req_path):
name="scvelo",
use_scm_version=True,
setup_requires=["setuptools_scm"],
python_requires=">=3.6",
python_requires=">=3.8",
install_requires=read_requirements("requirements.txt"),
extras_require=dict(
louvain=["python-igraph", "louvain"],
Expand Down

0 comments on commit 5725727

Please sign in to comment.