Skip to content

Commit

Permalink
Bump dependency versions
Browse files Browse the repository at this point in the history
- numpy
  - Dependabot whinges at me every week that 1.20 is insecure, so
    we should bump the minimum to 1.22.
  - We should let it go up to v2.
    We should expect to see some numpy API changes there that we'll have
    to assess, but nothing big should change before.
- pandas
  - Not sure why this was restricted
- python
  - I'm (non-critically) relying on the insertion-ordering of dict (part of the
    implementation specifications in 3.7) for presenting the Solver options
    in this PR, so >=3.7 is a reasonable restriction.
  - If the user is putting cplex in, then conda will restrict
    to a compatible python.
  • Loading branch information
blake-riley committed Sep 18, 2023
1 parent 3d35326 commit 8f05714
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ requires = [
"setuptools", # PEP 508 specifications.
"wheel", # PEP 508 specifications.
"setuptools_scm",
"numpy>=1.20,<1.22",
"numpy>=1.22,<2",
]
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ def main():
"setuptools_scm",
]
install_requires = [
"numpy>=1.20,<1.22",
"numpy>=1.22,<2",
"scipy>=1.0",
"pandas>=1.2,<1.4",
"pandas>=1.2",
"pyparsing>=2.2.0",
"tqdm>=4.0.0",
]
Expand All @@ -49,7 +49,7 @@ def main():
"osqp": ["osqp", "miosqp @ git+https://github.com/osqp/miosqp.git@ac672338b0593d865dd15b7a76434f25e24244a9#egg=miosqp"],
},
zip_safe=False,
python_requires=">=3.6",
python_requires=">=3.7",
entry_points={
"console_scripts": [
"qfit_protein = qfit.qfit_protein:main",
Expand Down

0 comments on commit 8f05714

Please sign in to comment.