Skip to contentSkip to conversation

python3-aiohue: upgrade 3.0.11 -> 4.4.1

PATCH In review Wang Mingyu 2 participants 5 messages May 18, 2022 – May 20, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-aiohue: upgrade 3.0.11 -> 4.4.1

add dependence: python3-awesomeversion

Changelog from 3.0.11 to 4.4.1
==============================
Switch to limit per host on tcp connector
Delay initializing workaround dict
Bump black from 21.12b0 to 22.1.0
Put back asyncio-throttle because still in use for v1 API Mac address got lost in translation
Update to final models and fix parser errors
Fix python 3.9 compatibility
Fix typo in button events handler
Add diagnostics feature
Small follow up fix in event logic
Allow motion sensor state to be null/none when sensor is disabled Add basic tests
Fix float int conversion
Fix race condition(s) while adding/removing a light/device Loosen up a bit on parser errors
Fix button workaround
Add setting effect feature on light
Add missing parameters to the grouped_light set_state Fix typo in default enum member
Add timed effects feature to light
Add support for aggregated grouped_lights commands Hide dependencies in release-drafter
Fix and cleanup of button workaround code
Fix typo in timed effects featur

---
 .../{python3-aiohue_3.0.11.bb => python3-aiohue_4.4.1.bb}      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-aiohue_3.0.11.bb => python3-aiohue_4.4.1.bb} (74%)
meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb +2 -1
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb
rename to meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb
index 47d9964b0..b3a88fb67 100644
@@ -4,7 +4,7 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=dab31a1d28183826937f4b152143a33f"
 
-SRC_URI[sha256sum] = "31c0b90d7dc2b62f5e1a93e78b2c0d6360ef6c0a87485c217a4f394c937fce7d"
+SRC_URI[sha256sum] = "fa3bb0cf68aefdd0710704443c896abda69ae227500ad9539ac6c3d1d6dad804"
 
 inherit pypi setuptools3
 
@@ -12,4 +12,5 @@ RDEPENDS:${PN} += " \
 	${PYTHON_PN}-aiohttp \
 	${PYTHON_PN}-asyncio-throttle \
 	${PYTHON_PN}-profile \
+        ${PYTHON_PN}-awesomeversion \
 "
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 python3-awesomeversion : add recipe

---
 .../python/python3-awesomeversion_22.5.1.bb              | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-awesomeversion_22.5.1.bb
meta-python/recipes-devtools/python/python3-awesomeversion_22.5.1.bb new file +9 -0
new file mode 100644
index 000000000..cdb89698b
@@ -0,0 +1,9 @@
+DESCRIPTION = "One version package to rule them all, One version package to find them, One version package to bring them all, and in the darkness bind them."
+HOMEPAGE = "https://pypi.org/project/awesomeversion/"
+SECTION = "devel/python"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENCE.md;md5=92622b5a8e216099be741d78328bae5d"
+
+SRC_URI[sha256sum] = "84bcd85ab1bb9a287cfd1b2e5145f888b6e02ef3e3a63a07453f10f2f6e50fe3"
+
+inherit pypi setuptools3
Signature · 1 line
2.25.1
#2 lore raw
In reply to Wang Mingyu

you emails are dated wrongly. Eg. below email appears to be received on 8th may where I have received it on 17th may. This confuses the tools we use for grok patches from mailing list. Can you check on your mail setup
if this can be fixed on your end ?

Quoted 68 lines · wangmy

add dependence: python3-awesomeversion

Changelog from 3.0.11 to 4.4.1
==============================
Switch to limit per host on tcp connector
Delay initializing workaround dict
Bump black from 21.12b0 to 22.1.0
Put back asyncio-throttle because still in use for v1 API Mac address got lost in translation
Update to final models and fix parser errors
Fix python 3.9 compatibility
Fix typo in button events handler
Add diagnostics feature
Small follow up fix in event logic
Allow motion sensor state to be null/none when sensor is disabled Add basic tests
Fix float int conversion
Fix race condition(s) while adding/removing a light/device Loosen up a bit on parser errors
Fix button workaround
Add setting effect feature on light
Add missing parameters to the grouped_light set_state Fix typo in default enum member
Add timed effects feature to light
Add support for aggregated grouped_lights commands Hide dependencies in release-drafter
Fix and cleanup of button workaround code
Fix typo in timed effects featur

---
  .../{python3-aiohue_3.0.11.bb => python3-aiohue_4.4.1.bb}      | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-aiohue_3.0.11.bb => python3-aiohue_4.4.1.bb} (74%)

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb +2 -2
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb
rename to meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb
index 47d9964b0..b3a88fb67 100644
@@ -4,7 +4,7 @@ SECTION = "devel/python"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=dab31a1d28183826937f4b152143a33f"
 
-SRC_URI[sha256sum] = "31c0b90d7dc2b62f5e1a93e78b2c0d6360ef6c0a87485c217a4f394c937fce7d"
+SRC_URI[sha256sum] = "fa3bb0cf68aefdd0710704443c896abda69ae227500ad9539ac6c3d1d6dad804"
 
  inherit pypi setuptools3
 
@@ -12,4 +12,5 @@ RDEPENDS:${PN} += " \
  	${PYTHON_PN}-aiohttp \
  	${PYTHON_PN}-asyncio-throttle \
  	${PYTHON_PN}-profile \
+        ${PYTHON_PN}-awesomeversion \
  "
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#97157): https://lists.openembedded.org/g/openembedded-devel/message/97157
Mute This Topic: https://lists.openembedded.org/mt/91182211/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

The time of my virtual machine has not been reset since it was last suspended, resulting in system time error. I have modified the settings to ensure that the time consistent with the host. I'm very sorry for the trouble.

  --
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]
http://www.fujitsu.com/cn/fnst/

Quoted 98 lines

-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Wednesday, May 18, 2022 11:32 PM
To: Wang, Mingyu/王 鸣瑜 <[email protected]>; [email protected]
Subject: Re: [oe] [meta-python] [PATCH] python3-aiohue: upgrade 3.0.11 -> 4.4.1

you emails are dated wrongly. Eg. below email appears to be received on 8th may where I have received it on 17th may. This confuses the tools we use for grok patches from mailing list. Can you check on your mail setup if this can be fixed on your end ?

Quoted 15 lines · wangmy

add dependence: python3-awesomeversion

Changelog from 3.0.11 to 4.4.1
==============================
Switch to limit per host on tcp connector
Delay initializing workaround dict
Bump black from 21.12b0 to 22.1.0
Put back asyncio-throttle because still in use for v1 API Mac address got lost in translation
Update to final models and fix parser errors Fix python 3.9 compatibility
Fix typo in button events handler
Add diagnostics feature
Small follow up fix in event logic
Allow motion sensor state to be null/none when sensor is

disabled

Quoted 14 lines

Add basic tests
Fix float int conversion
Fix race condition(s) while adding/removing a light/device Loosen up a bit on parser errors
Fix button workaround
Add setting effect feature on light
Add missing parameters to the grouped_light set_state Fix typo in default enum member
Add timed effects feature to light
Add support for aggregated grouped_lights commands Hide dependencies in release-drafter
Fix and cleanup of button workaround code
Fix typo in timed effects featur

Quoted 3 lines
---
  .../{python3-aiohue_3.0.11.bb => python3-aiohue_4.4.1.bb}      | 3

++-

Quoted 2 lines
  1 file changed, 2 insertions(+), 1 deletion(-)

rename

meta-python/recipes-devtools/python/{python3-aiohue_3.0.11.bb

Quoted 9 lines

=> python3-aiohue_4.4.1.bb} (74%)

diff --git a/meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb b/meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb similarity index 74%
rename from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb rename to

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb SECTION = "devel/python" · line 5

Quoted 6 lines

index 47d9964b0..b3a88fb67 100644

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb +0 -0
@@ -4,7 +4,7 @@ SECTION = "devel/python"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM =

"file://LICENSE;md5=dab31a1d28183826937f4b152143a33f"

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb SECTION = "devel/python" · line 6

Quoted 2 lines
meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb +0 -1
-SRC_URI[sha256sum] =

"31c0b90d7dc2b62f5e1a93e78b2c0d6360ef6c0a87485c217a4f394c937fce7d "

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb SECTION = "devel/python" · line 6

Quoted 1 line
meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb +1 -0
+SRC_URI[sha256sum] =

"fa3bb0cf68aefdd0710704443c896abda69ae227500ad9539ac6c3d1d6dad8 04"

Quoted 13 lines
meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb +1 -1
  inherit pypi setuptools3
 
@@ -12,4 +12,5 @@ RDEPENDS:${PN} += " \
  	${PYTHON_PN}-aiohttp \
  	${PYTHON_PN}-asyncio-throttle \
  	${PYTHON_PN}-profile \
+        ${PYTHON_PN}-awesomeversion \
  "
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 6 lines

Links: You receive all messages sent to this group. View/Reply Online (#97157):
https://lists.openembedded.org/g/openembedded-devel/message/97157
Mute This Topic: https://lists.openembedded.org/mt/91182211/1997914
Group Owner: [email protected] Unsubscribe:

https://lists.openembedded.org/g/openembedded-devel/unsub

Quoted 3 lines

[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

No worries, thanks for the update.

Quoted 114 lines · On Thu, May 19, 2022 at 4:52 PM [email protected] <[email protected]> wrote:

The time of my virtual machine has not been reset since it was last suspended, resulting in system time error. I have modified the settings to ensure that the time consistent with the host. I'm very sorry for the trouble.

--
Best Regards
---------------------------------------------------
Wang Mingyu
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) No. 6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8568
COINS: 79988548
FAX: +86+25-83317685
MAIL: [email protected]
http://www.fujitsu.com/cn/fnst/

Quoted 98 lines

-----Original Message-----
From: Khem Raj <[email protected]>
Sent: Wednesday, May 18, 2022 11:32 PM
To: Wang, Mingyu/王 鸣瑜 <[email protected]>; [email protected]
Subject: Re: [oe] [meta-python] [PATCH] python3-aiohue: upgrade 3.0.11 -> 4.4.1

you emails are dated wrongly. Eg. below email appears to be received on 8th may where I have received it on 17th may. This confuses the tools we use for grok patches from mailing list. Can you check on your mail setup if this can be fixed on your end ?

Quoted 15 lines · wangmy

add dependence: python3-awesomeversion

Changelog from 3.0.11 to 4.4.1
==============================
Switch to limit per host on tcp connector
Delay initializing workaround dict
Bump black from 21.12b0 to 22.1.0
Put back asyncio-throttle because still in use for v1 API Mac address got lost in translation
Update to final models and fix parser errors Fix python 3.9 compatibility
Fix typo in button events handler
Add diagnostics feature
Small follow up fix in event logic
Allow motion sensor state to be null/none when sensor is

disabled

Quoted 14 lines

Add basic tests
Fix float int conversion
Fix race condition(s) while adding/removing a light/device Loosen up a bit on parser errors
Fix button workaround
Add setting effect feature on light
Add missing parameters to the grouped_light set_state Fix typo in default enum member
Add timed effects feature to light
Add support for aggregated grouped_lights commands Hide dependencies in release-drafter
Fix and cleanup of button workaround code
Fix typo in timed effects featur

Quoted 3 lines
---
  .../{python3-aiohue_3.0.11.bb => python3-aiohue_4.4.1.bb}      | 3

++-

Quoted 2 lines
  1 file changed, 2 insertions(+), 1 deletion(-)

rename

meta-python/recipes-devtools/python/{python3-aiohue_3.0.11.bb

Quoted 9 lines

=> python3-aiohue_4.4.1.bb} (74%)

diff --git a/meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb b/meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb similarity index 74%
rename from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb rename to

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb SECTION = "devel/python" · line 5

Quoted 6 lines

index 47d9964b0..b3a88fb67 100644

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb +0 -0
@@ -4,7 +4,7 @@ SECTION = "devel/python"
  LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM =

"file://LICENSE;md5=dab31a1d28183826937f4b152143a33f"

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb SECTION = "devel/python" · line 6

Quoted 2 lines
meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb +0 -1
-SRC_URI[sha256sum] =

"31c0b90d7dc2b62f5e1a93e78b2c0d6360ef6c0a87485c217a4f394c937fce7d "

meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb SECTION = "devel/python" · line 6

Quoted 1 line
meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb +1 -0
+SRC_URI[sha256sum] =

"fa3bb0cf68aefdd0710704443c896abda69ae227500ad9539ac6c3d1d6dad8 04"

Quoted 13 lines
meta-python/recipes-devtools/python/python3-aiohue_4.4.1.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_3.0.11.bb +1 -1
  inherit pypi setuptools3
 
@@ -12,4 +12,5 @@ RDEPENDS:${PN} += " \
    ${PYTHON_PN}-aiohttp \
    ${PYTHON_PN}-asyncio-throttle \
    ${PYTHON_PN}-profile \
+        ${PYTHON_PN}-awesomeversion \
  "
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 6 lines

Links: You receive all messages sent to this group. View/Reply Online (#97157):
https://lists.openembedded.org/g/openembedded-devel/message/97157
Mute This Topic: https://lists.openembedded.org/mt/91182211/1997914
Group Owner: [email protected] Unsubscribe:

https://lists.openembedded.org/g/openembedded-devel/unsub

Quoted 3 lines

[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-