From 9c04647e237c161ab94de981aeddc6452f1cf30d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valentin=20Mont=C3=A9?= Date: Thu, 20 Jan 2022 15:01:25 +0100 Subject: [PATCH] fix(onboarding): make it possible to install the agent in more projects (#75) --- requirements.txt | 32 ++++++++++++++++---------------- setup.cfg | 34 ++++++++++++++++++---------------- 2 files changed, 34 insertions(+), 32 deletions(-) diff --git a/requirements.txt b/requirements.txt index cdcff097..f1d43e7a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,16 +1,16 @@ -coverage==5.5 -Django==3.2.4 -django-cors-headers==3.7.0 -django-ipware==3.0.7 -flake8==3.9.2 -importlib-metadata==4.6.3 -marshmallow-jsonapi==0.24.0 -oic==1.2.1 -psycopg2==2.8.6 -pytest==6.2.4 -pytest-cov==2.12.0 -pytest-django==4.4.0 -pytest-pythonpath==0.7.3 -python-dateutil==2.8.1 -python-jose==3.3.0 -requests==2.25.1 +coverage>=5.5, <6.0 #6.0 remove the support of python 3.6 +Django>=3.2, <4.0 +django-cors-headers>=3.7, <3.11 #3.11 remove the support of python3.6 +django-ipware>=4.0, <5.0 +flake8>=4.0, <5.0 +importlib-metadata>=4.0, <4.3;python_version<"3.8" #Add in the standard library in 3.8. Flake8 doesn't handle more than 4.3 +marshmallow-jsonapi>=0.24.0, <1.0 +oic>=1.3, <2.0 # the max available python version is 3.9 +psycopg2>=2.9, <3.0 +pytest>=6.2, <7 +pytest-cov>=3.0, <4.0 +pytest-django>=4.5, <5.0 +pytest-pythonpath>=0.7, <1.0 +python-dateutil>=2.8, <3.0 +python-jose>=3.3, <4.0 +requests>=2.25, <3.0 diff --git a/setup.cfg b/setup.cfg index 0f37deff..8b8524d6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,21 +29,23 @@ classifiers = [options] include_package_data = true packages = find: -python_requires = >=3.6 +python_requires = >=3.6, <3.10 install_requires = - Django >= 3.2.0 - django-cors-headers==3.7.0 - django-ipware==3.0.7 - importlib-metadata==4.6.3 - marshmallow-jsonapi==0.24.0 - oic==1.2.1 - python-dateutil==2.8.1 - python-jose==3.3.0 - requests==2.25.1 + Django >= 3.2, <4.0 + django-cors-headers >=3.7, <3.11 #3.11 remove the support of python3.6 + django-ipware>=4.0, < 5.0 + importlib-metadata>=4.8, <4.9;python_version<"3.7" #4.9 require python 3.7 + importlib-metadata>=4.0, <4.3;python_version<"3.8" #Add in the standard library in 3.8. Flake8 doesn't handle more than 4.3 + marshmallow-jsonapi>=0.24, <1.0 + oic>=1.3, <2.0 # the max available python version is 3.9 + python-dateutil>=2.8, <3.0 # the max available python version is 3.9 + python-jose>=3.3, <4.0 + requests>=2.25, <3.0 tests_require = - psycopg2==2.8.6 - pytest==6.2.4 - pytest-cov==2.12.0 - pytest-django==4.4.0 - pytest-mock==3.6.1 - pytest-pythonpath==0.7.3 + coverage>=5.5, <6.0 #6.0 remove the support of python 3.6 + psycopg2>=2.9, <3.0 + pytest>=6.2, <7 + pytest-cov>=3.0, <4.0 + pytest-django>=4.5, <5.0 + pytest-pythonpath>=0.7, <1.0 +