All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH] python3-django: add recipe for 3.1.1
@ 2020-09-11 14:26 Trevor Gamblin
  2020-09-11 21:02 ` [oe] " Tim Orling
  0 siblings, 1 reply; 5+ messages in thread
From: Trevor Gamblin @ 2020-09-11 14:26 UTC (permalink / raw)
  To: openembedded-devel

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 <trevor.gamblin@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 000000000..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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [oe] [meta-python][PATCH] python3-django: add recipe for 3.1.1
  2020-09-11 14:26 [meta-python][PATCH] python3-django: add recipe for 3.1.1 Trevor Gamblin
@ 2020-09-11 21:02 ` Tim Orling
  2020-09-11 21:40   ` Trevor Gamblin
  2020-09-12  1:39   ` Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: Tim Orling @ 2020-09-11 21:02 UTC (permalink / raw)
  To: Trevor Gamblin; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]

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 <trevor.gamblin@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 <trevor.gamblin@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 000000000..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
>
>
>
> 
>
>

[-- Attachment #2: Type: text/html, Size: 2118 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [oe] [meta-python][PATCH] python3-django: add recipe for 3.1.1
  2020-09-11 21:02 ` [oe] " Tim Orling
@ 2020-09-11 21:40   ` Trevor Gamblin
  2020-09-11 23:00     ` Tim Orling
  2020-09-12  1:39   ` Khem Raj
  1 sibling, 1 reply; 5+ messages in thread
From: Trevor Gamblin @ 2020-09-11 21:40 UTC (permalink / raw)
  To: Tim Orling; +Cc: openembedded-devel, Khem Raj

[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]


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 
> <trevor.gamblin@windriver.com <mailto:trevor.gamblin@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 <trevor.gamblin@windriver.com
>     <mailto:trevor.gamblin@windriver.com>>
>
>     ---
>
>      .../recipes-devtools/python/python3-django_3.1.1.bb
>     <http://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
>     <http://python3-django_3.1.1.bb>
>
>
>
>     diff --git
>     a/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>     <http://python3-django_3.1.1.bb>
>     b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>     <http://python3-django_3.1.1.bb>
>
>     new file mode 100644
>
>     index 000000000..b36cfb699
>
>     --- /dev/null
>
>     +++ b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>     <http://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
>
>
>
>     
>

[-- Attachment #2: Type: text/html, Size: 3891 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [oe] [meta-python][PATCH] python3-django: add recipe for 3.1.1
  2020-09-11 21:40   ` Trevor Gamblin
@ 2020-09-11 23:00     ` Tim Orling
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Orling @ 2020-09-11 23:00 UTC (permalink / raw)
  To: Trevor Gamblin; +Cc: Khem Raj, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2671 bytes --]

On Fri, Sep 11, 2020 at 2:40 PM Trevor Gamblin <trevor.gamblin@windriver.com>
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 <trevor.gamblin@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 <trevor.gamblin@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 000000000..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
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
>
>
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 4996 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [oe] [meta-python][PATCH] python3-django: add recipe for 3.1.1
  2020-09-11 21:02 ` [oe] " Tim Orling
  2020-09-11 21:40   ` Trevor Gamblin
@ 2020-09-12  1:39   ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Khem Raj @ 2020-09-12  1:39 UTC (permalink / raw)
  To: Tim Orling, Trevor Gamblin; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2023 bytes --]



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
> <trevor.gamblin@windriver.com <mailto:trevor.gamblin@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 <trevor.gamblin@windriver.com
>     <mailto:trevor.gamblin@windriver.com>>
> 
>     ---
> 
>      .../recipes-devtools/python/python3-django_3.1.1.bb
>     <http://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
>     <http://python3-django_3.1.1.bb>
> 
> 
> 
>     diff --git
>     a/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>     <http://python3-django_3.1.1.bb>
>     b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>     <http://python3-django_3.1.1.bb>
> 
>     new file mode 100644
> 
>     index 000000000..b36cfb699
> 
>     --- /dev/null
> 
>     +++ b/meta-python/recipes-devtools/python/python3-django_3.1.1.bb
>     <http://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
> 
> 
> 
> 
> 
> 
> 
> 

[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 2373 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-12  1:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-11 14:26 [meta-python][PATCH] python3-django: add recipe for 3.1.1 Trevor Gamblin
2020-09-11 21:02 ` [oe] " Tim Orling
2020-09-11 21:40   ` Trevor Gamblin
2020-09-11 23:00     ` Tim Orling
2020-09-12  1:39   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.