diff mbox series

[2/2,PW3] tox: Add Django 3.0b1

Message ID 20191022005950.11980-2-ajd@linux.ibm.com
State Superseded
Headers show
Series [1/2,PW3] tests: Fix escaping in bundle tests on Django 3.0 | expand

Commit Message

Andrew Donnellan Oct. 22, 2019, 12:59 a.m. UTC
Now that we've dropped Python 2, we can get ready for Django 3.0.

Add Django 3.0b1 as a tox environment.

Closes: #311 ("Django 3.0 support")
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>

---

Not adding upper bounds on the version numbers until 3.0 actually drops.

I'm considering this as closing the issue for Django 3.0 support, as now
that Django 3.0 is in beta it's unlikely to get further breaking changes
and we'll catch anything as we test it.
---
 tox.ini | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Daniel Axtens Oct. 23, 2019, 10:28 p.m. UTC | #1
Andrew Donnellan <ajd@linux.ibm.com> writes:

> Now that we've dropped Python 2, we can get ready for Django 3.0.
>
> Add Django 3.0b1 as a tox environment.
>
> Closes: #311 ("Django 3.0 support")
> Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
>
> ---
>
> Not adding upper bounds on the version numbers until 3.0 actually drops.
>
> I'm considering this as closing the issue for Django 3.0 support, as now
> that Django 3.0 is in beta it's unlikely to get further breaking changes
> and we'll catch anything as we test it.

If you're going to close the issue, you should probably update the
README and add a release note with `reno new`.

Regards,
Daniel

> ---
>  tox.ini | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tox.ini b/tox.ini
> index ae15ce815f26..8ee11de56d14 100644
> --- a/tox.ini
> +++ b/tox.ini
> @@ -1,6 +1,6 @@
>  [tox]
>  minversion = 2.0
> -envlist = pep8,docs,py{36,37}-django{20,21,22}
> +envlist = pep8,docs,py{36,37}-django{20,21,22,30b1}
>  skipsdist = True
>  
>  [testenv]
> @@ -13,6 +13,9 @@ deps =
>      django22: django>=2.2,<2.3
>      django22: djangorestframework>=3.10,<3.11
>      django22: django-filter>=2.1,<3.0
> +    django30b1: django==3.0b1
> +    django30b1: djangorestframework>=3.10
> +    django30b1: django-filter>=2.2
>  setenv =
>      DJANGO_SETTINGS_MODULE = patchwork.settings.dev
>      PYTHONDONTWRITEBYTECODE = 1
> -- 
> 2.20.1
>
> _______________________________________________
> Patchwork mailing list
> Patchwork@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork
diff mbox series

Patch

diff --git a/tox.ini b/tox.ini
index ae15ce815f26..8ee11de56d14 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@ 
 [tox]
 minversion = 2.0
-envlist = pep8,docs,py{36,37}-django{20,21,22}
+envlist = pep8,docs,py{36,37}-django{20,21,22,30b1}
 skipsdist = True
 
 [testenv]
@@ -13,6 +13,9 @@  deps =
     django22: django>=2.2,<2.3
     django22: djangorestframework>=3.10,<3.11
     django22: django-filter>=2.1,<3.0
+    django30b1: django==3.0b1
+    django30b1: djangorestframework>=3.10
+    django30b1: django-filter>=2.2
 setenv =
     DJANGO_SETTINGS_MODULE = patchwork.settings.dev
     PYTHONDONTWRITEBYTECODE = 1