setup.py: use latest django-rest-framework

This commit is contained in:
Benjamin Dauvergne 2020-06-19 16:04:45 +02:00
parent c676890178
commit 2ff4ba0720
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,6 @@ from setuptools import setup, find_packages
from setuptools.command.sdist import sdist
from setuptools.command.install_lib import install_lib as _install_lib
class eo_sdist(sdist):
def run(self):
if os.path.exists('VERSION'):
@ -92,7 +91,8 @@ setup(name="bijoe",
include_package_data=True,
install_requires=['requests', 'django>=1.11, <2.3', 'psycopg2', 'isodate', 'Django-Select2<6',
'XStatic-ChartNew.js', 'gadjo', 'django-jsonfield<1.3',
'python-dateutil', 'djangorestframework<3.8',
'python-dateutil',
'djangorestframework',
'xstatic-select2'],
scripts=['manage.py'],
cmdclass={

View File

@ -26,7 +26,7 @@ deps =
mock
pyquery
tabulate
dj22: djangorestframework>=3.7,<3.8
dj22: djangorestframework>=3.7
http://git.entrouvert.org/hobo.git/snapshot/hobo-master.tar.gz
commands =
py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=bijoe tests/}