Skip to content

Commit

Permalink
Merge pull request #428 from vtnate/pessimistic-versions
Browse files Browse the repository at this point in the history
More strict dependency versions
  • Loading branch information
tarekelgindy authored Nov 17, 2023
2 parents a737ae0 + 8c12588 commit ecb21ee
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,33 +27,33 @@
version = version.splitlines()[1].split()[2].strip('"').strip("'")

test_requires = [
"backports.tempfile>=1.0",
"pytest>=7.0.1",
"pytest-cov>=4.0.0",
"sphinx-rtd-theme>=1.1.1",
"nbsphinx>=0.8.10",
"sphinxcontrib-napoleon>=0.7",
"ghp-import>=2.1.0",
"backports.tempfile~=1.0",
"pytest~=7.4",
"pytest-cov~=4.0",
"sphinx-rtd-theme~=1.1",
"nbsphinx~=0.8",
"sphinxcontrib-napoleon~=0.7",
"ghp-import~=2.1",
]

numpy_dependency = "numpy>=1.20.0"
numpy_dependency = "numpy~=1.20"

extras_requires = [
"lxml>=4.9.1",
"pandas",
"scipy>=1.7.3",
"lxml~=4.9",
"pandas~=1.3.5", # Pyton 3.7 does not support pandas 1.4
"scipy~=1.7",
numpy_dependency,
"XlsxWriter>=3.0.3",
"XlsxWriter~=3.0",
]

opendss_requires = ["OpenDSSDirect.py>=0.7.0", "pandas", numpy_dependency]
dew_requires = [numpy_dependency, "xlrd>=2.0.1"]
gridlabd_requires = ["croniter>=1.3.7", numpy_dependency]
opendss_requires = ["OpenDSSDirect.py~=0.7", "pandas", numpy_dependency]
dew_requires = [numpy_dependency, "xlrd~=2.0"]
gridlabd_requires = ["croniter~=1.3", numpy_dependency]
cyme_requires = [numpy_dependency]
ephasor_requires = [numpy_dependency, "pandas"]
synergi_requires = [
numpy_dependency,
"pandas_access>=0.0.1",
"pandas_access~=0.0",
] # Need pandas_access to convert the MDB tables to Pandas DataFrame
windmil_requires = ["bokeh", "xmltodict"]

Expand Down Expand Up @@ -117,13 +117,13 @@ def run(self):
],
test_suite="tests",
install_requires=[
"click>=8.0.4",
"future>=0.18.2",
"networkx>=2.5.1",
"six>=1.16.0",
"traitlets>=5.1.1",
"json_tricks>=3.16.1",
"pandas",
"click~=8.0",
"future~=0.18",
"networkx~=2.5",
"six~=1.16",
"traitlets~=5.1",
"json_tricks~=3.16",
"pandas~=1.3.5",
numpy_dependency,
],
extras_require={
Expand Down

0 comments on commit ecb21ee

Please sign in to comment.