Skip to content

Commit

Permalink
Fix python_requires (#3104)
Browse files Browse the repository at this point in the history
Fixes #3103 

## Work done in this PR
- Fixes `python_requires` syntax
- Re-enables py3.5 support for 1.0.x releases
- Pins max python version at 3.8
  • Loading branch information
IAlibay authored Jan 24, 2021
1 parent 658a73d commit 6eb715a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
- MAIN_CMD="pytest ${PYTEST_LIST}"
- SETUP_CMD="${PYTEST_FLAGS} --cov=MDAnalysis"
- BUILD_CMD="pip install -e package/ && (cd testsuite/ && python setup.py build)"
- CONDA_MIN_DEPENDENCIES="mmtf-python biopython networkx cython matplotlib scipy griddataformats hypothesis gsd codecov"
- CONDA_MIN_DEPENDENCIES="pip<21.0 mmtf-python biopython networkx cython matplotlib scipy griddataformats hypothesis gsd codecov"
- CONDA_PY2_DEPENDENCIES="six funcsigs"
- CONDA_STANDARD_DEPENDENCIES="${CONDA_MIN_DEPENDENCIES} seaborn>=0.7.0 clustalw=2.1 netcdf4==1.3.1 scikit-learn joblib>=0.12 tqdm>=4.43.0"
- CONDA_DEPENDENCIES="${CONDA_STANDARD_DEPENDENCIES} mock chemfiles"
Expand Down Expand Up @@ -77,4 +77,4 @@ install:
script:
- cd ${TRAVIS_BUILD_DIR}
- echo $MAIN_CMD $SETUP_CMD
- eval $MAIN_CMD $SETUP_CMD
- eval $MAIN_CMD $SETUP_CMD
2 changes: 1 addition & 1 deletion package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def long_description(readme):
],
},
ext_modules=exts,
python_requires=">=2.7,!=3.0,!=3.1,!=3.2,!=3.3,!=3.4,!=3.5",
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3,!=3.4.*,<3.9",
# all standard requirements are available through PyPi and
# typically can be installed without difficulties through setuptools
setup_requires=[
Expand Down

0 comments on commit 6eb715a

Please sign in to comment.