Re: [oe] [meta-python][PATCH] python3-django: add recipe for 3.1.1

2020-09-11 Thread Khem Raj


On 9/11/20 2:02 PM, Tim Orling wrote:
> The reason for Django 2.2 is it is LTS. This version will now override
> unless the user sets PREFERRED_VERSION. The thrash on non-LTS Django is
> a PITA to support...

If we want to keep LTS as default but still offer newer releases as
second options, we can use DEFAULT_PREFERENCE = "-1" in newer releases
which folks can override in their custom layers.

> 
> On Fri, Sep 11, 2020 at 7:26 AM Trevor Gamblin
> mailto:trevor.gamb...@windriver.com>> wrote:
> 
> meta-python only contains a recipe for django 2.2.x, so
> 
> add a recipe file for the newest branch.
> 
> 
> 
> Signed-off-by: Trevor Gamblin  >
> 
> ---
> 
>  .../recipes-devtools/python/python3-django_3.1.1.bb
>       | 9 +
> 
>  1 file changed, 9 insertions(+)
> 
>  create mode 100644
> meta-python/recipes-devtools/python/python3-django_3.1.1.bb
> 
> 
> 
> 
> diff --git
> a/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
> 
> b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
> 
> 
> new file mode 100644
> 
> index 0..b36cfb699
> 
> --- /dev/null
> 
> +++ b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
> 
> 
> @@ -0,0 +1,9 @@
> 
> +require python-django.inc
> 
> +inherit setuptools3
> 
> +
> 
> +SRC_URI[md5sum] = "d5e894fb3c46064e84e9dc68a08a46d0"
> 
> +SRC_URI[sha256sum] =
> "59c8125ca873ed3bdae9c12b146fbbd6ed8d0f743e4cf5f5817af50c51f1fc2f"
> 
> +
> 
> +RDEPENDS_${PN} += "\
> 
> +    ${PYTHON_PN}-sqlparse \
> 
> +"
> 
> -- 
> 
> 2.26.2
> 
> 
> 
> 
> 
> 
> 
> 


pEpkey.asc
Description: application/pgp-keys
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#87017): 
https://lists.openembedded.org/g/openembedded-devel/message/87017
Mute This Topic: https://lists.openembedded.org/mt/76780718/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-python][PATCH] python3-django: add recipe for 3.1.1

2020-09-11 Thread Tim Orling
On Fri, Sep 11, 2020 at 2:40 PM Trevor Gamblin 
wrote:

>
>
>
>
>
>
>
>
>
>
>
>
>
> On 9/11/20 5:02 PM, Tim Orling wrote:
>
>
>
>
>
>
>
>
> The reason for Django 2.2 is it is LTS. This
>
> version will now override unless the user sets
>
> PREFERRED_VERSION. The thrash on non-LTS Django is a PITA to
>
> support...
>
>
>
>
> Alright, let's hold off on merging this one then. I'll revisit it
>
> some time in the future.
>

I’m not steadfastly against this, it just cannot be the default. Prior
experience has been a lot of pain. Every single YP/OE Django app we
currently have is brittle with Django version, although I believe David
Reyna got Toaster to work with Django 3. The next LTS will be Django 3.2,
starting in April 2021.

I  am open to other ideas, but the default must remain the current LTS
version.


>
>
>
>
>
>
>
>
>
> On Fri, Sep 11, 2020 at 7:26
>
> AM Trevor Gamblin 
>
> wrote:
>
>
>
>
> meta-python
>>
>> only contains a recipe for django 2.2.x, so
>>
>>
>>
>>
>>
>> add a recipe file for the newest branch.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Signed-off-by: Trevor Gamblin 
>>
>>
>>
>>
>>
>> ---
>>
>>
>>
>>
>>
>>  .../recipes-devtools/python/python3-django_3.1.1.bb
>>
>> | 9 +
>>
>>
>>
>>
>>
>>  1 file changed, 9 insertions(+)
>>
>>
>>
>>
>>
>>  create mode 100644 meta-python/recipes-devtools/python/
>> python3-django_3.1.1.bb
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> diff --git a/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>>
>> b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>>
>>
>>
>>
>>
>> new file mode 100644
>>
>>
>>
>>
>>
>> index 0..b36cfb699
>>
>>
>>
>>
>>
>> --- /dev/null
>>
>>
>>
>>
>>
>> +++ b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>>
>>
>>
>>
>>
>> @@ -0,0 +1,9 @@
>>
>>
>>
>>
>>
>> +require python-django.inc
>>
>>
>>
>>
>>
>> +inherit setuptools3
>>
>>
>>
>>
>>
>> +
>>
>>
>>
>>
>>
>> +SRC_URI[md5sum] = "d5e894fb3c46064e84e9dc68a08a46d0"
>>
>>
>>
>>
>>
>> +SRC_URI[sha256sum] =
>>
>> "59c8125ca873ed3bdae9c12b146fbbd6ed8d0f743e4cf5f5817af50c51f1fc2f"
>>
>>
>>
>>
>>
>> +
>>
>>
>>
>>
>>
>> +RDEPENDS_${PN} += "\
>>
>>
>>
>>
>>
>> +${PYTHON_PN}-sqlparse \
>>
>>
>>
>>
>>
>> +"
>>
>>
>>
>>
>>
>> --
>>
>>
>>
>>
>>
>> 2.26.2
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
>
>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#87011): 
https://lists.openembedded.org/g/openembedded-devel/message/87011
Mute This Topic: https://lists.openembedded.org/mt/76780718/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-python][PATCH] python3-django: add recipe for 3.1.1

2020-09-11 Thread Trevor Gamblin


On 9/11/20 5:02 PM, Tim Orling wrote:
The reason for Django 2.2 is it is LTS. This version will now override 
unless the user sets PREFERRED_VERSION. The thrash on non-LTS Django 
is a PITA to support...
Alright, let's hold off on merging this one then. I'll revisit it some 
time in the future.


On Fri, Sep 11, 2020 at 7:26 AM Trevor Gamblin 
mailto:trevor.gamb...@windriver.com>> 
wrote:


meta-python only contains a recipe for django 2.2.x, so

add a recipe file for the newest branch.



Signed-off-by: Trevor Gamblin mailto:trevor.gamb...@windriver.com>>

---

 .../recipes-devtools/python/python3-django_3.1.1.bb
     | 9 +

 1 file changed, 9 insertions(+)

 create mode 100644
meta-python/recipes-devtools/python/python3-django_3.1.1.bb




diff --git
a/meta-python/recipes-devtools/python/python3-django_3.1.1.bb

b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb


new file mode 100644

index 0..b36cfb699

--- /dev/null

+++ b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb


@@ -0,0 +1,9 @@

+require python-django.inc

+inherit setuptools3

+

+SRC_URI[md5sum] = "d5e894fb3c46064e84e9dc68a08a46d0"

+SRC_URI[sha256sum] =
"59c8125ca873ed3bdae9c12b146fbbd6ed8d0f743e4cf5f5817af50c51f1fc2f"

+

+RDEPENDS_${PN} += "\

+    ${PYTHON_PN}-sqlparse \

+"

-- 


2.26.2





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#87009): 
https://lists.openembedded.org/g/openembedded-devel/message/87009
Mute This Topic: https://lists.openembedded.org/mt/76780718/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-python][PATCH] python3-django: add recipe for 3.1.1

2020-09-11 Thread Tim Orling
The reason for Django 2.2 is it is LTS. This version will now override
unless the user sets PREFERRED_VERSION. The thrash on non-LTS Django is a
PITA to support...

On Fri, Sep 11, 2020 at 7:26 AM Trevor Gamblin 
wrote:

> meta-python only contains a recipe for django 2.2.x, so
>
> add a recipe file for the newest branch.
>
>
>
> Signed-off-by: Trevor Gamblin 
>
> ---
>
>  .../recipes-devtools/python/python3-django_3.1.1.bb  | 9 +
>
>  1 file changed, 9 insertions(+)
>
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-django_3.1.1.bb
>
>
>
> diff --git a/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
> b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>
> new file mode 100644
>
> index 0..b36cfb699
>
> --- /dev/null
>
> +++ b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>
> @@ -0,0 +1,9 @@
>
> +require python-django.inc
>
> +inherit setuptools3
>
> +
>
> +SRC_URI[md5sum] = "d5e894fb3c46064e84e9dc68a08a46d0"
>
> +SRC_URI[sha256sum] =
> "59c8125ca873ed3bdae9c12b146fbbd6ed8d0f743e4cf5f5817af50c51f1fc2f"
>
> +
>
> +RDEPENDS_${PN} += "\
>
> +${PYTHON_PN}-sqlparse \
>
> +"
>
> --
>
> 2.26.2
>
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#87008): 
https://lists.openembedded.org/g/openembedded-devel/message/87008
Mute This Topic: https://lists.openembedded.org/mt/76780718/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-