From 7e5f41908827f3329b39a17ef10a1e001c471cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20R=C3=A4tz?= Date: Mon, 19 Feb 2024 20:01:46 +0100 Subject: [PATCH] 29 package version problems (#48) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * set range of wetterdienst version numbers * versions to compatible release operator --------- Co-authored-by: Martin Rätz --- requirements.txt | 16 ++++++++-------- setup.py | 20 ++++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/requirements.txt b/requirements.txt index bc434ec..9a5eb27 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ -wetterdienst -unidecode -parameterized -geopandas -geopy -pvlib -matplotlib -seaborn \ No newline at end of file +wetterdienst>=0.65.0,<=0.72.0 +unidecode~=1.3.7 +parameterized~=0.9.0 +geopandas~=0.14.0 +geopy~=2.4.0 +pvlib~=0.10.2 +matplotlib~=3.8.1 +seaborn~=0.13.0 diff --git a/setup.py b/setup.py index 65249e7..1f56102 100644 --- a/setup.py +++ b/setup.py @@ -10,21 +10,21 @@ long_description = readme_path.read_text() INSTALL_REQUIRES = [ - "unidecode", - "pvlib", - "matplotlib", - "seaborn", + "unidecode~=1.3.7", + "pvlib~=0.10.2", + "matplotlib~=3.8.1", + "seaborn~=0.13.0", ] EXTRAS_REQUIRE = { 'TRY': [ - "geopandas", - "geopy", + "geopandas~=0.14.0", + "geopy~=2.4.0", ], - "DWD_forecast": ["wetterdienst"], + "DWD_forecast": ["wetterdienst>=0.65.0,<=0.72.0"], "full": [ - "wetterdienst", - "geopandas", - "geopy", + "wetterdienst>=0.65.0,<=0.72.0", + "geopandas~=0.14.0", + "geopy~=2.4.0", ] }