Skip to contentSkip to conversation

python3-pyrad: Upgrade 2.3 -> 2.4

PATCH In review Leon Anavi 3 participants 8 messages Nov 26, 2020 – Nov 27, 2020

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python3-pyrad: Upgrade 2.3 -> 2.4

Upgrade to release 2.4:

- Support poetry for for building this project
- Use secrets.SysRandom instead of random.SystemRandom if possible
- .get on Packets has an optional default parameter (to mimic dict.get())
- Fix: digestmod is not optional in python3.8 anymore
- Fix: authenticator was refreshed before the packet was generated
- Fix bug causing Message-Authenticator verification to fail if multiple instances of an attribute do not appear sequentially in the attributes list
- Fixed VerifyReply broken when multiple instances of same attribute are not adjacent on reply
- Fixed Missing send_packet for async Client
- Fixed python3 support for SaltCrypt (was previously broken)

License-Update: Use file PKG-INFO.

---
 meta-python/recipes-devtools/python/python3-pyrad_2.3.bb | 9 ---------
 meta-python/recipes-devtools/python/python3-pyrad_2.4.bb | 9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pyrad_2.3.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pyrad_2.4.bb
meta-python/recipes-devtools/python/python3-pyrad_2.3.bb deleted +0 -9
deleted file mode 100644
index 3b38fb3a4b..0000000000
@@ -1,9 +0,0 @@
-SUMMARY = "RADIUS tools"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=debd8dc49cd9a7d58c7fffc771efed4f"
-
-PYPI_PACKAGE = "pyrad"
-SRC_URI[sha256sum] = "89c4d9b2cab1746c48dc0d93898d278e34a40acedf6f511aeaa748bcd4490295"
-
-inherit pypi setuptools3
meta-python/recipes-devtools/python/python3-pyrad_2.4.bb new file +9 -0
new file mode 100644
index 0000000000..86a95a4aa4
@@ -0,0 +1,9 @@
+SUMMARY = "RADIUS tools"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
+
+PYPI_PACKAGE = "pyrad"
+SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9"
+
+inherit pypi setuptools3
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/3 python3-bitstruct: Upgrade 8.11.0 -> 8.11.1

Upgrade to release 8.11.1:

- Fix memory leak in unpack dict C extension
- Release with python3

---
 ...python3-bitstruct_8.11.0.bb => python3-bitstruct_8.11.1.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-bitstruct_8.11.0.bb => python3-bitstruct_8.11.1.bb} (70%)
meta-python/recipes-devtools/python/python3-bitstruct_8.11.1.bb renamed from meta-python/recipes-devtools/python/python3-bitstruct_8.11.0.bb +1 -2
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-bitstruct_8.11.0.bb
rename to meta-python/recipes-devtools/python/python3-bitstruct_8.11.1.bb
index a25380418c..49b31971a6 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/eerimoq/bitstruct"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd"
 
-SRC_URI[md5sum] = "8eaf853c95e10ca4b6bca2fe5ff307c6"
-SRC_URI[sha256sum] = "2b13f2c3e76b49e8cd854f7a1da590bb73ecbc6cbfacc2d479eacf2b88282d5d"
+SRC_URI[sha256sum] = "4e7b8769c0f09fee403d0a5f637f8b575b191a79a92e140811aa109ce7461f0c"
 
 PYPI_PACKAGE = "bitstruct"
 
Signature · 1 line
2.17.1
Acked-by on v1 2/3
#2 lore raw

Re: [oe] [meta-python][PATCH 2/3] python3-bitstruct: Upgrade 8.11.0 -> 8.11.1

Quoted 8 lines · Leon Anavi

[Please note this e-mail is from an EXTERNAL e-mail address]

Upgrade to release 8.11.1:

- Fix memory leak in unpack dict C extension
- Release with python3

Quoted 28 lines
---
  ...python3-bitstruct_8.11.0.bb => python3-bitstruct_8.11.1.bb} | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-bitstruct_8.11.0.bb => python3-bitstruct_8.11.1.bb} (70%)

meta-python/recipes-devtools/python/python3-bitstruct_8.11.1.bb renamed from meta-python/recipes-devtools/python/python3-bitstruct_8.11.0.bb +1 -3
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-bitstruct_8.11.0.bb
rename to meta-python/recipes-devtools/python/python3-bitstruct_8.11.1.bb
index a25380418c..49b31971a6 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/eerimoq/bitstruct"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd"
 
-SRC_URI[md5sum] = "8eaf853c95e10ca4b6bca2fe5ff307c6"
-SRC_URI[sha256sum] = "2b13f2c3e76b49e8cd854f7a1da590bb73ecbc6cbfacc2d479eacf2b88282d5d"
+SRC_URI[sha256sum] = "4e7b8769c0f09fee403d0a5f637f8b575b191a79a92e140811aa109ce7461f0c"
 
  PYPI_PACKAGE = "bitstruct"
 
--

2.17.1

author
#3 lore raw

PATCH 3/3 python3-yarl: Upgrade 1.6.2 -> 1.6.3

In reply to Leon Anavi

Upgrade to release 1.6.3:

- No longer loose characters when decoding incorrect percent-sequences (like %e2%82%f8). All non-decodable percent-sequences are now preserved.
- Provide x86 Windows wheels.

---
 .../python/{python3-yarl_1.6.2.bb => python3-yarl_1.6.3.bb}    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-yarl_1.6.2.bb => python3-yarl_1.6.3.bb} (79%)
meta-python/recipes-devtools/python/python3-yarl_1.6.3.bb renamed from meta-python/recipes-devtools/python/python3-yarl_1.6.2.bb +1 -2
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-yarl_1.6.2.bb
rename to meta-python/recipes-devtools/python/python3-yarl_1.6.3.bb
index dbb5d23bd2..01682a46d4 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/aio-libs/yarl/"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b334fc90d45983db318f54fd5bf6c90b"
 
-SRC_URI[md5sum] = "65c3346f694e37f45045f4e29a60d280"
-SRC_URI[sha256sum] = "c45b49b59a5724869899798e1bbd447ac486215269511d3b76b4c235a1b766b6"
+SRC_URI[sha256sum] = "8a9066529240171b68893d60dca86a763eae2139dd42f42106b03cf4b426bf10"
 
 SRC_URI += " \
     file://run-ptest \
Signature · 1 line
2.17.1
Acked-by on v1 3/3
#4 lore raw

Re: [oe] [meta-python][PATCH 3/3] python3-yarl: Upgrade 1.6.2 -> 1.6.3

Quoted 10 lines · Leon Anavi

[Please note this e-mail is from an EXTERNAL e-mail address]

Upgrade to release 1.6.3:

- No longer loose characters when decoding incorrect percent-sequences (like %e2%82%f8). All non-decodable percent-sequences are now preserved.
- Provide x86 Windows wheels.

Quoted 28 lines
---
  .../python/{python3-yarl_1.6.2.bb => python3-yarl_1.6.3.bb}    | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-yarl_1.6.2.bb => python3-yarl_1.6.3.bb} (79%)

meta-python/recipes-devtools/python/python3-yarl_1.6.3.bb renamed from meta-python/recipes-devtools/python/python3-yarl_1.6.2.bb +1 -3
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-yarl_1.6.2.bb
rename to meta-python/recipes-devtools/python/python3-yarl_1.6.3.bb
index dbb5d23bd2..01682a46d4 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/aio-libs/yarl/"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=b334fc90d45983db318f54fd5bf6c90b"
 
-SRC_URI[md5sum] = "65c3346f694e37f45045f4e29a60d280"
-SRC_URI[sha256sum] = "c45b49b59a5724869899798e1bbd447ac486215269511d3b76b4c235a1b766b6"
+SRC_URI[sha256sum] = "8a9066529240171b68893d60dca86a763eae2139dd42f42106b03cf4b426bf10"
 
  SRC_URI += " \
      file://run-ptest \
--

2.17.1

#5 lore raw
In reply to Leon Anavi
Quoted 48 lines · Leon Anavi

Upgrade to release 2.4:

- Support poetry for for building this project
- Use secrets.SysRandom instead of random.SystemRandom if possible
- .get on Packets has an optional default parameter (to mimic dict.get())
- Fix: digestmod is not optional in python3.8 anymore
- Fix: authenticator was refreshed before the packet was generated
- Fix bug causing Message-Authenticator verification to fail if multiple instances of an attribute do not appear sequentially in the attributes list
- Fixed VerifyReply broken when multiple instances of same attribute are not adjacent on reply
- Fixed Missing send_packet for async Client
- Fixed python3 support for SaltCrypt (was previously broken)

License-Update: Use file PKG-INFO.

---
 meta-python/recipes-devtools/python/python3-pyrad_2.3.bb | 9 ---------
 meta-python/recipes-devtools/python/python3-pyrad_2.4.bb | 9 +++++++++
 2 files changed, 9 insertions(+), 9 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-pyrad_2.3.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pyrad_2.4.bb
meta-python/recipes-devtools/python/python3-pyrad_2.3.bb deleted +0 -9
deleted file mode 100644
index 3b38fb3a4b..0000000000
@@ -1,9 +0,0 @@
-SUMMARY = "RADIUS tools"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=debd8dc49cd9a7d58c7fffc771efed4f"
-
-PYPI_PACKAGE = "pyrad"
-SRC_URI[sha256sum] = "89c4d9b2cab1746c48dc0d93898d278e34a40acedf6f511aeaa748bcd4490295"
-
-inherit pypi setuptools3
meta-python/recipes-devtools/python/python3-pyrad_2.4.bb new file +0 -0
new file mode 100644
index 0000000000..86a95a4aa4

meta-python/recipes-devtools/python/python3-pyrad_2.4.bb line 4

Quoted 4 lines
meta-python/recipes-devtools/python/python3-pyrad_2.4.bb new file +4 -0
@@ -0,0 +1,9 @@
+SUMMARY = "RADIUS tools"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"

I still see https://github.com/pyradius/pyrad/blob/master/LICENSE.txt
why is this changed here ?

Quoted 11 lines
meta-python/recipes-devtools/python/python3-pyrad_2.4.bb new file +5 -1
+
+PYPI_PACKAGE = "pyrad"
+SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9"
+
+inherit pypi setuptools3
--

2.17.1

author
#6 lore raw

Hi Khem,

Quoted 46 lines · Khem Raj
Quoted 45 lines · Leon Anavi

Upgrade to release 2.4:

- Support poetry for for building this project
- Use secrets.SysRandom instead of random.SystemRandom if possible
- .get on Packets has an optional default parameter (to mimic dict.get())
- Fix: digestmod is not optional in python3.8 anymore
- Fix: authenticator was refreshed before the packet was generated
- Fix bug causing Message-Authenticator verification to fail if multiple instances of an attribute do not appear sequentially in the attributes list
- Fixed VerifyReply broken when multiple instances of same attribute are not adjacent on reply
- Fixed Missing send_packet for async Client
- Fixed python3 support for SaltCrypt (was previously broken)

License-Update: Use file PKG-INFO.

---
  meta-python/recipes-devtools/python/python3-pyrad_2.3.bb | 9 ---------
  meta-python/recipes-devtools/python/python3-pyrad_2.4.bb | 9 +++++++++
  2 files changed, 9 insertions(+), 9 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python3-pyrad_2.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyrad_2.4.bb

meta-python/recipes-devtools/python/python3-pyrad_2.3.bb deleted +0 -9
deleted file mode 100644
index 3b38fb3a4b..0000000000
@@ -1,9 +0,0 @@
-SUMMARY = "RADIUS tools"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=debd8dc49cd9a7d58c7fffc771efed4f"
-
-PYPI_PACKAGE = "pyrad"
-SRC_URI[sha256sum] = "89c4d9b2cab1746c48dc0d93898d278e34a40acedf6f511aeaa748bcd4490295"
-
-inherit pypi setuptools3
meta-python/recipes-devtools/python/python3-pyrad_2.4.bb new file +0 -1
new file mode 100644
index 0000000000..86a95a4aa4
--- /dev/null
Quoted 8 lines

meta-python/recipes-devtools/python/python3-pyrad_2.4.bb line 4

Quoted 6 lines

+++ b/meta-python/recipes-devtools/python/python3-pyrad_2.4.bb

meta-python/recipes-devtools/python/python3-pyrad_2.4.bb new file +4 -0
@@ -0,0 +1,9 @@
+SUMMARY = "RADIUS tools"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"

I still see https://github.com/pyradius/pyrad/blob/master/LICENSE.txt
why is this changed here ?

LICENSE.txt is not present in pyrad-2.4.tar.gz:
https://files.pythonhosted.org/packages/fc/04/0fe33dca20685b3ced8359f487638bdf03f2776652f7f6812a639cce1b70/pyrad-2.4.tar.gz

Best regards,
Leon

Quoted 12 lines
Quoted 12 lines
meta-python/recipes-devtools/python/python3-pyrad_2.4.bb new file +5 -1
+
+PYPI_PACKAGE = "pyrad"
+SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9"
+
+inherit pypi setuptools3
--

2.17.1

Signature · 3 lines
Leon Anavi
Software Engineer
konsulko.com
Acked-by on v1 1/3
#7 lore raw
In reply to Leon Anavi
Quoted 18 lines · Leon Anavi

[Please note this e-mail is from an EXTERNAL e-mail address]

Upgrade to release 2.4:

- Support poetry for for building this project
- Use secrets.SysRandom instead of random.SystemRandom if possible
- .get on Packets has an optional default parameter (to mimic dict.get())
- Fix: digestmod is not optional in python3.8 anymore
- Fix: authenticator was refreshed before the packet was generated
- Fix bug causing Message-Authenticator verification to fail if multiple instances of an attribute do not appear sequentially in the attributes list
- Fixed VerifyReply broken when multiple instances of same attribute are not adjacent on reply
- Fixed Missing send_packet for async Client
- Fixed python3 support for SaltCrypt (was previously broken)

Quoted 3 lines

License-Update: Use file PKG-INFO.

Quoted 43 lines
---
  meta-python/recipes-devtools/python/python3-pyrad_2.3.bb | 9 ---------
  meta-python/recipes-devtools/python/python3-pyrad_2.4.bb | 9 +++++++++
  2 files changed, 9 insertions(+), 9 deletions(-)

delete mode 100644 meta-python/recipes-devtools/python/python3-pyrad_2.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyrad_2.4.bb

meta-python/recipes-devtools/python/python3-pyrad_2.3.bb deleted +0 -9
deleted file mode 100644
index 3b38fb3a4b..0000000000
@@ -1,9 +0,0 @@
-SUMMARY = "RADIUS tools"
-SECTION = "devel/python"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=debd8dc49cd9a7d58c7fffc771efed4f"
-
-PYPI_PACKAGE = "pyrad"
-SRC_URI[sha256sum] = "89c4d9b2cab1746c48dc0d93898d278e34a40acedf6f511aeaa748bcd4490295"
-
-inherit pypi setuptools3
meta-python/recipes-devtools/python/python3-pyrad_2.4.bb new file +9 -1
new file mode 100644
index 0000000000..86a95a4aa4
@@ -0,0 +1,9 @@
+SUMMARY = "RADIUS tools"
+SECTION = "devel/python"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709"
+
+PYPI_PACKAGE = "pyrad"
+SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9"
+
+inherit pypi setuptools3
--

2.17.1