From 7b0e672385fd7b8734690dfad338ee9a461f7e53 Mon Sep 17 00:00:00 2001 From: Diego Russo Date: Wed, 17 Jan 2024 13:17:43 +0000 Subject: [PATCH] Update dependencies to work with Python 3.10 The server is being upgraded to a newer version of the OS and Python 3.10 is being installed. Dependencies needs to be updated in order to work with this version of Python. --- deploy-requirements.txt | 2 +- requirements.txt | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy-requirements.txt b/deploy-requirements.txt index c68f1698..6b45b78b 100644 --- a/deploy-requirements.txt +++ b/deploy-requirements.txt @@ -1,3 +1,3 @@ -. +-r requirements.txt psycopg2==2.9.3 gunicorn==20.1.0 diff --git a/requirements.txt b/requirements.txt index 884d03e1..e04ff31a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ Django>=1.11,<2.2 -isodate>=0.4.7,<0.6 -matplotlib>=1.4.3,<2.0 +isodate==0.6.1 +matplotlib<3.8 diff --git a/setup.py b/setup.py index eed0e67a..373c7d95 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ download_url="https://github.com/tobami/codespeed/tags", license='GNU Lesser General Public License version 2.1', keywords=['benchmarking', 'visualization'], - install_requires=['django>=1.11<2.2', 'isodate>=0.4.7,<0.6', 'matplotlib>=1.4.3,<2.0'], + install_requires=['django', 'isodate', 'matplotlib'], packages=find_packages(exclude=['ez_setup', 'sample_project']), long_description='README.md', long_description_content_type="text/markdown",