From 1201816ee7273dd07ce0878ce6c9c084ccb1a480 Mon Sep 17 00:00:00 2001 From: Chris Henning <2653277+chennin@users.noreply.github.com> Date: Thu, 23 May 2024 10:09:00 -0400 Subject: [PATCH] Update numpy, PyYAML, scipy, matplotlib for Python 3.12 Fix DeprecationWarning --- requirements.txt | 8 ++++---- stellarisdashboard/config.py | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index c959519..9506df2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,16 +15,16 @@ itsdangerous==2.1.2 Jinja2==3.1.4 kiwisolver==1.4.4 MarkupSafe==2.1.1 -matplotlib==3.6.2 +matplotlib==3.9.0 networkx==2.8.8 -numpy==1.24.1 +numpy==1.26.4 packaging==22.0 Pillow==10.3.0 plotly==5.11.0 pyparsing==3.0.9 python-dateutil==2.8.2 -PyYAML==6.0 -scipy==1.10.0 +PyYAML==6.0.1 +scipy==1.13.1 six==1.16.0 SQLAlchemy==1.4.46 tenacity==8.1.0 diff --git a/stellarisdashboard/config.py b/stellarisdashboard/config.py index 2d45c17..172d377 100644 --- a/stellarisdashboard/config.py +++ b/stellarisdashboard/config.py @@ -428,8 +428,8 @@ def game_data_dirs(self): if mod_data_path is not None ] except Exception as e: - logger.warn(f"Failed to read enabled mods from {dlc_load_path}. Using only base game data.") - logger.warn(e) + logger.warning(f"Failed to read enabled mods from {dlc_load_path}. Using only base game data.") + logger.warning(e) return [self.stellaris_install_path] @property