[PATCH] requirements: Use any supported Django version

Andy Doan andy.doan at linaro.org
Sat Mar 26 01:04:43 AEDT 2016


On 03/25/2016 08:47 AM, Stephen Finucane wrote:
> Patchwork now supports Django 1.9. It continues to support Django 1.8,
> 1.7 and 1.6, though the latter two are not supported upstream and are
> therefore not recommended. Update development requirements to reflect
> this.
>
> Signed-off-by: Stephen Finucane <stephen.finucane at intel.com>

Reviewed-by: Andy Doan <andy.doan at linaro.org>

> ---
> v2: Allow use of both Django 1.8 and 1.9 and swap version ordering to
>    conform to a 'pkg>=MIN_VER,<MAX_VER' style
> ---
>   requirements-dev.txt  | 2 +-
>   requirements-prod.txt | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/requirements-dev.txt b/requirements-dev.txt
> index d52ce6f..d44ebc6 100644
> --- a/requirements-dev.txt
> +++ b/requirements-dev.txt
> @@ -1,2 +1,2 @@
> -Django<1.9,>=1.8
> +Django>=1.8,<1.10
>   -r requirements-test.txt
> diff --git a/requirements-prod.txt b/requirements-prod.txt
> index 596eb6d..2c88c7d 100644
> --- a/requirements-prod.txt
> +++ b/requirements-prod.txt
> @@ -1,2 +1,2 @@
> -Django<1.9,>=1.8
> +Django>=1.8,<1.10
>   psycopg2==2.6.1
>



More information about the Patchwork mailing list