Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Fix requirements (#284)
Browse files Browse the repository at this point in the history
* Fix pandas dependency, pinned to `pandas>=1.0.0,<=1.1.4` to prevent 'pandas.errors.InvalidIndexError: Reindexing only valid with uniquely valued Index objects'. 
* Add min version for numpy<=1.16.5 to match pandas requirement. 
* Remove unused cython requirement.
* Add README.md and requirements.txt to package MANIFEST.in
* Bump package version and add short description to setup.py
  • Loading branch information
prete authored Mar 10, 2021
1 parent 85b337c commit 714bbbc
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
include ppi-resources.md
include README.md
include LICENSE
include requirements.txt
include cellphonedb/src/core/cellphone.db
include cellphonedb/src/app/config/*.yml
include cellphonedb/src/core/data/*.csv
Expand Down
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
click>=6.7,<6.7.99
pandas
numpy
pandas>=1.0.0,<=1.1.4
numpy>=1.16.5
scikit-learn==0.22
flask>=1.0,<1.0.99
Flask-RESTful>=0.3,<0.3.99
Expand All @@ -13,6 +13,5 @@ boto3>=1.7,<1.7.99
geosketch==0.3
rpy2>=3.0.4,<3.0.99
tqdm>=4.32,<4.32.99
cython>=0.29,<0.29.9
h5py<3.0.0
anndata>=0.7,<=0.75
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
name='CellPhoneDB',
author='TeichLab',
author_email='[email protected]',
version='2.1.6',
version='2.1.7',
description='Inferring cell-cell communication',
long_description=long_description_readme_md,
long_description_content_type='text/markdown',
packages=find_packages(),
Expand Down
5 changes: 2 additions & 3 deletions win-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
click>=6.7,<6.7.99
pandas
numpy
pandas>=1.0.0,<=1.1.4
numpy>=1.16.5
scikit-learn==0.22
flask>=1.0,<1.0.99
Flask-RESTful>=0.3,<0.3.99
Expand All @@ -13,6 +13,5 @@ boto3>=1.7,<1.7.99
geosketch==0.3
rpy2==3.0.3
tqdm>=4.32,<4.32.99
cython>=0.29,<0.29.9
h5py<3.0.0
anndata>=0.7,<=0.75

0 comments on commit 714bbbc

Please sign in to comment.