Re: [PATCH 2/2] [PW3] tox: Add Django 3.0b1

2019-10-23 Thread Daniel Axtens
Andrew Donnellan  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 
>
> ---
>
> 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
___
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork


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

2019-10-21 Thread Andrew Donnellan
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 

---

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(-)

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