python3-cryptography: Upgrade to 36.0.2

Message ID 20220316222526.264261-1-raj.khem@gmail.com
State Accepted, archived
Commit 3acf088edec6e328f4e25ddd741f967368ae5ae0
Headers show
Series python3-cryptography: Upgrade to 36.0.2 | expand

Commit Message

Khem Raj March 16, 2022, 10:25 p.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...-cryptography_36.0.1.bb => python3-cryptography_36.0.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-cryptography_36.0.1.bb => python3-cryptography_36.0.2.bb} (96%)

Comments

Ross Burton March 17, 2022, 3:22 p.m. UTC | #1
Note that python3-cryptography and -cryptography-vectors *need* to be
updated in lockstep:

FAIL: tests/test_utils.py::test_vector_version
    def test_vector_version():
>       assert cryptography.__version__ == cryptography_vectors.__version__
E       AssertionError: assert '36.0.2' == '36.0.1'

I'll send a corresponding upgrade shortly.

Ross

On Wed, 16 Mar 2022 at 22:25, Khem Raj <raj.khem@gmail.com> wrote:
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  ...-cryptography_36.0.1.bb => python3-cryptography_36.0.2.bb} | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>  rename meta/recipes-devtools/python/{python3-cryptography_36.0.1.bb => python3-cryptography_36.0.2.bb} (96%)
>
> diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> similarity index 96%
> rename from meta/recipes-devtools/python/python3-cryptography_36.0.1.bb
> rename to meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> index e33eaa50834..940df60d441 100644
> --- a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb
> +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bf405a8056a6647e7d077b0e7bc36aba \
>                     "
>  LDSHARED += "-pthread"
>
> -SRC_URI[sha256sum] = "53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638"
> +SRC_URI[sha256sum] = "70f8f4f7bb2ac9f340655cbac89d68c527af5bb4387522a8413e841e3e6628c9"
>
>  SRC_URI += " \
>      file://run-ptest \
> @@ -42,7 +42,7 @@ SRC_URI += " \
>      crate://crates.io/indoc/0.3.6 \
>      crate://crates.io/instant/0.1.12 \
>      crate://crates.io/lazy_static/1.4.0 \
> -    crate://crates.io/libc/0.2.112 \
> +    crate://crates.io/libc/0.2.120 \
>      crate://crates.io/lock_api/0.4.5 \
>      crate://crates.io/num-integer/0.1.44 \
>      crate://crates.io/num-traits/0.2.14 \
> --
> 2.35.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#163362): https://lists.openembedded.org/g/openembedded-core/message/163362
> Mute This Topic: https://lists.openembedded.org/mt/89833574/1676615
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ross@burtonini.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj March 17, 2022, 3:31 p.m. UTC | #2
On Thu, Mar 17, 2022 at 8:22 AM Ross Burton <ross@burtonini.com> wrote:
>
> Note that python3-cryptography and -cryptography-vectors *need* to be
> updated in lockstep:
>
> FAIL: tests/test_utils.py::test_vector_version
>     def test_vector_version():
> >       assert cryptography.__version__ == cryptography_vectors.__version__
> E       AssertionError: assert '36.0.2' == '36.0.1'
>

hmm, thanks for noticing it

> I'll send a corresponding upgrade shortly.
>


superb.

> Ross
>
> On Wed, 16 Mar 2022 at 22:25, Khem Raj <raj.khem@gmail.com> wrote:
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > ---
> >  ...-cryptography_36.0.1.bb => python3-cryptography_36.0.2.bb} | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >  rename meta/recipes-devtools/python/{python3-cryptography_36.0.1.bb => python3-cryptography_36.0.2.bb} (96%)
> >
> > diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> > similarity index 96%
> > rename from meta/recipes-devtools/python/python3-cryptography_36.0.1.bb
> > rename to meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> > index e33eaa50834..940df60d441 100644
> > --- a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb
> > +++ b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
> > @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bf405a8056a6647e7d077b0e7bc36aba \
> >                     "
> >  LDSHARED += "-pthread"
> >
> > -SRC_URI[sha256sum] = "53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638"
> > +SRC_URI[sha256sum] = "70f8f4f7bb2ac9f340655cbac89d68c527af5bb4387522a8413e841e3e6628c9"
> >
> >  SRC_URI += " \
> >      file://run-ptest \
> > @@ -42,7 +42,7 @@ SRC_URI += " \
> >      crate://crates.io/indoc/0.3.6 \
> >      crate://crates.io/instant/0.1.12 \
> >      crate://crates.io/lazy_static/1.4.0 \
> > -    crate://crates.io/libc/0.2.112 \
> > +    crate://crates.io/libc/0.2.120 \
> >      crate://crates.io/lock_api/0.4.5 \
> >      crate://crates.io/num-integer/0.1.44 \
> >      crate://crates.io/num-traits/0.2.14 \
> > --
> > 2.35.1
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#163362): https://lists.openembedded.org/g/openembedded-core/message/163362
> > Mute This Topic: https://lists.openembedded.org/mt/89833574/1676615
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ross@burtonini.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >

Patch

diff --git a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
similarity index 96%
rename from meta/recipes-devtools/python/python3-cryptography_36.0.1.bb
rename to meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
index e33eaa50834..940df60d441 100644
--- a/meta/recipes-devtools/python/python3-cryptography_36.0.1.bb
+++ b/meta/recipes-devtools/python/python3-cryptography_36.0.2.bb
@@ -9,7 +9,7 @@  LIC_FILES_CHKSUM = "file://LICENSE;md5=bf405a8056a6647e7d077b0e7bc36aba \
                    "
 LDSHARED += "-pthread"
 
-SRC_URI[sha256sum] = "53e5c1dc3d7a953de055d77bef2ff607ceef7a2aac0353b5d630ab67f7423638"
+SRC_URI[sha256sum] = "70f8f4f7bb2ac9f340655cbac89d68c527af5bb4387522a8413e841e3e6628c9"
 
 SRC_URI += " \
     file://run-ptest \
@@ -42,7 +42,7 @@  SRC_URI += " \
     crate://crates.io/indoc/0.3.6 \
     crate://crates.io/instant/0.1.12 \
     crate://crates.io/lazy_static/1.4.0 \
-    crate://crates.io/libc/0.2.112 \
+    crate://crates.io/libc/0.2.120 \
     crate://crates.io/lock_api/0.4.5 \
     crate://crates.io/num-integer/0.1.44 \
     crate://crates.io/num-traits/0.2.14 \