diff --git a/.travis.yml b/.travis.yml index fa8905b..d1194da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ python: - "3.6" - "3.7" - "3.8" + - "3.9" cache: pip: true install: @@ -25,5 +26,7 @@ matrix: env: DJANGO="master" - python: "3.8" env: DJANGO="master" + - python: "3.9" + env: DJANGO="master" after_success: - codecov diff --git a/pyproject.toml b/pyproject.toml index e674487..41b7fd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.black] -target_version = ['py34', 'py35', 'py36', 'py37', 'py38'] +target_version = ['py34', 'py35', 'py36', 'py37', 'py38', 'py39'] include = '\.pyi?$' exclude = ''' /(\.git/ diff --git a/setup.py b/setup.py index 82d96de..824abeb 100755 --- a/setup.py +++ b/setup.py @@ -10,6 +10,7 @@ "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Application Frameworks", @@ -25,7 +26,7 @@ author_email="hello@mirumee.com", description="Django fields for the prices module", license="BSD", - version="2.2.0", + version="2.3.0", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/mirumee/django-prices", @@ -34,7 +35,7 @@ classifiers=CLASSIFIERS, install_requires=[ "Babel>=2.2", - "Django>=2.2,<4", + "Django>=2.2,<5", "enmerkar>=0.7.1", "prices>=1.0.0", ], diff --git a/tox.ini b/tox.ini index eeba411..6c542b3 100644 --- a/tox.ini +++ b/tox.ini @@ -2,13 +2,14 @@ envlist = py{36,37,38}-django22 py{36,37,38}-django30 + py{36,37,38}-django40 py{36,37,38}-django_master [testenv] pip_pre = true deps = django22: django>=2.2,<2.3 - django30: django>=3.0,<3.1 + django30: django>=3.0,<5.0 pytest pytest-cov pytest-django @@ -23,12 +24,14 @@ python = 3.6: py36 3.7: py37 3.8: py38 + 3.9: py39 unignore_outcomes = True [travis:env] DJANGO = 2.2: django22 3.0: django30 + 4.0: django40 master: django_master [pytest]