Skip to content

Commit

Permalink
update version requirement for numpy
Browse files Browse the repository at this point in the history
numpy 2.0 breaks gridemissions because it breaks osqp which breaks cvxpy
  • Loading branch information
jdechalendar committed Jun 22, 2024
1 parent 4667717 commit def2838
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name="gridemissions",
package_dir={"": "src"},
packages=find_packages("src"),
version="0.1.6",
version="0.1.7",
python_requires=">=3.7",
install_requires=["requests", "pandas>=2.0", "matplotlib>=3.4.2"],
extras_require={
Expand All @@ -17,6 +17,11 @@
"seaborn",
"syrupy",
"pytest",
# As of June 22, 2024
# numpy 2.0 breaks gridemissions because osqp is not yet compatible with it
# see https://github.com/cvxpy/cvxpy/issues/2474
# Can probably allow higher versions of numpy once that issue is closed
"numpy==1.26.4",
]
},
entry_points={
Expand Down

0 comments on commit def2838

Please sign in to comment.