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.gamb...@windriver.com <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 <trevor.gamb...@windriver.com
>     <mailto:trevor.gamb...@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: 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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to