Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow django 4.0 & python 3.9 #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ python:
- "3.6"
- "3.7"
- "3.8"
- "3.9"
cache:
pip: true
install:
Expand All @@ -25,5 +26,7 @@ matrix:
env: DJANGO="master"
- python: "3.8"
env: DJANGO="master"
- python: "3.9"
env: DJANGO="master"
after_success:
- codecov
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -25,7 +26,7 @@
author_email="[email protected]",
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",
Expand All @@ -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",
],
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]
Expand Down