Skip to contentSkip to conversation

python3-watchdog: Upgrade 4.0.1 -> 4.0.2

PATCH In review Leon Anavi 2 participants 5 messages Aug 14, 2024 – Aug 15, 2024

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/3 python3-watchdog: Upgrade 4.0.1 -> 4.0.2

Upgrade to release 4.0.2:

- Add support for Python 3.13
- [core] Run ruff, apply several fixes
- [core] Remove execution rights from events.py
- [documentation] Update PatternMatchingEventHandler docstrings
- [documentation] Simplify the quickstart example
- [fsevents] Add missing event_filter keyword-argument to FSEventsObserver.schedule()
- [utils] Fix a possible race condition in AutoRestartTrick
- [watchmedo] Remove execution rights from watchmedo.py

---
 .../{python3-watchdog_4.0.1.bb => python3-watchdog_4.0.2.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-watchdog_4.0.1.bb => python3-watchdog_4.0.2.bb} (79%)
meta-python/recipes-devtools/python/python3-watchdog_4.0.2.bb renamed from meta-python/recipes-devtools/python/python3-watchdog_4.0.1.bb +1 -1
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-watchdog_4.0.1.bb
rename to meta-python/recipes-devtools/python/python3-watchdog_4.0.2.bb
index 4d0a626c4..ffe5cfad1 100644
@@ -4,7 +4,7 @@ DEPENDS = "python3-argh"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI[sha256sum] = "eebaacf674fa25511e8867028d281e602ee6500045b57f43b08778082f7f8b44"
+SRC_URI[sha256sum] = "b4dfbb6c49221be4535623ea4474a4d6ee0a9cef4a80b20c28db4d858b64e270"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/3 python3-soupsieve: Upgrade 2.5 -> 2.6

Upgrade to release 2.6:

- Add official support for Python 3.13.
- Add support for & as scoping root per the CSS Nesting Module, Level 1. When & is used outside the context of nesting, it is treated as the scoping root (equivalent to :scope).
- Improve error message when an unrecognized pseudo-class is used.

License-Update: Update years.

---
 ...python3-soupsieve_2.5.bb => python3-soupsieve_2.6.bb} | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-soupsieve_2.5.bb => python3-soupsieve_2.6.bb} (66%)
meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb renamed from meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb +7 -2
similarity index 66%
rename from meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb
rename to meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb
index d26a13dfb..6572a6845 100644
@@ -2,15 +2,20 @@ SUMMARY = "CSS selector library for python-beautifulsoup4"
 HOMEPAGE = "https://github.com/facelessuser/soupsieve"
 
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE.md;md5=520586fa71ed2cbda50b4a8c89621e09"
+LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1bdfa4c8e8b6830bcf8e78cba1669e4d"
 
-SRC_URI[sha256sum] = "5663d5a7b3bfaeee0bc4372e7fc48f9cff4940b3eec54a6451cc5299f1097690"
+SRC_URI[sha256sum] = "e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb"
 
 inherit pypi python_hatchling python_setuptools_build_meta ptest
 
 SRC_URI += " \
         file://run-ptest \
 "
+RDEPENDS:${PN} += " \
+    python3-core \
+    python3-datetime \
+    python3-beautifulsoup4 \
+"
 
 RDEPENDS:${PN}-ptest += " \
     python3-beautifulsoup4 \
Signature · 1 line
2.39.2
author
#2 lore raw

PATCH 3/3 python3-fastjsonschema: Upgrade 2.18.0 -> 2.20.0

In reply to Leon Anavi

Upgrade to release 2.20.0. Added validations at compile time:

- required must have unique items
- checking if schema is not allowing required items (item is required, but is not listed in properties)

---
 ...jsonschema_2.18.0.bb => python3-fastjsonschema_2.20.0.bb} | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-fastjsonschema_2.18.0.bb => python3-fastjsonschema_2.20.0.bb} (84%)
meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb renamed from meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb +1 -4
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
rename to meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb
index b2e969c5c..0524a73b6 100644
@@ -6,15 +6,12 @@ HOMEPAGE = "https://github.com/seznam/python-fastjsonschema"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532"
 
-SRCREV = "756540088687cda351390f687b92e602feaa7dc6"
-PYPI_SRC_URI = "git://github.com/horejsek/python-fastjsonschema;protocol=https;branch=master"
+SRC_URI[sha256sum] = "3d48fc5300ee96f5d116f10fe6f28d938e6008f59a6a025c2649475b87f76a23"
 
 SRC_URI += "file://run-ptest"
 
 inherit ptest pypi setuptools3
 
-S = "${WORKDIR}/git"
-
 do_install_ptest() {
 	install -d ${D}${PTEST_PATH}/tests
 	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
Signature · 1 line
2.39.2
#3 lore raw

Re: [oe] [meta-python][PATCH 3/3] python3-fastjsonschema: Upgrade 2.18.0 -> 2.20.0

Did you double check the tests are included in the sdist tarball? That is why it was git fetcher.

In other words did you build meta-Python-image-ptest-python3-fastjson and run -c testimage?

Quoted 60 lines · Leon Anavi via lists.openembedded.org

Upgrade to release 2.20.0. Added validations at compile time:

- required must have unique items
- checking if schema is not allowing required items (item is required, but is not listed in properties)

---
 ...jsonschema_2.18.0.bb => python3-fastjsonschema_2.20.0.bb} | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
 rename meta-python/recipes-devtools/python/{

python3-fastjsonschema_2.18.0.bb => python3-fastjsonschema_2.20.0.bb} (84%)

(quoted diff) +0 -0

python3-fastjsonschema_2.18.0.bb b/meta-python/recipes-devtools/python/ python3-fastjsonschema_2.20.0.bb
similarity index 84%
rename from meta-python/recipes-devtools/python/ python3-fastjsonschema_2.18.0.bb
rename to meta-python/recipes-devtools/python/ python3-fastjsonschema_2.20.0.bb
index b2e969c5c..0524a73b6 100644

meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb renamed from meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb +0 -0
@@ -6,15 +6,12 @@ HOMEPAGE = "

https://github.com/seznam/python-fastjsonschema"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532"

meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb renamed from meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb +0 -2
-SRCREV = "756540088687cda351390f687b92e602feaa7dc6"
-PYPI_SRC_URI = "git://

github.com/horejsek/python-fastjsonschema;protocol=https;branch=master" +SRC_URI[sha256sum] = "3d48fc5300ee96f5d116f10fe6f28d938e6008f59a6a025c2649475b87f76a23"

SRC_URI += "file://run-ptest"

inherit ptest pypi setuptools3

meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb renamed from meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb +0 -3
-S = "${WORKDIR}/git"
-
 do_install_ptest() {
        install -d ${D}${PTEST_PATH}/tests
        cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
--

2.39.2

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

author
#4 lore raw

Re: [oe] [meta-python][PATCH 3/3] python3-fastjsonschema: Upgrade 2.18.0 -> 2.20.0

Hi Tim,

Quoted 1 line · Tim Orling

Did you double check the tests are included in the sdist tarball? That is why it was git fetcher.

Yes, fastjsonschema-2.20.0.tar.gz includes directory "tests".

Quoted 2 lines

In other words did you build meta-Python-image-ptest-python3-fastjson and run -c testimage?

No, but I tested manually with core-image-minimal that includes python3-fastjsonschema.

Best regards,
Leon

Quoted 78 lines · On Wed, Aug 14, 2024 at 4:54 AM Leon Anavi via lists.openembedded.org…
    Upgrade to release 2.20.0. Added validations at compile time:

    - required must have unique items
    - checking if schema is not allowing required items (item is
      required, but is not listed in properties)

    Signed-off-by: Leon Anavi <[email protected]>
    ---
     ...jsonschema_2.18.0.bb <http://jsonschema_2.18.0.bb> =>
    python3-fastjsonschema_2.20.0.bb
    <http://python3-fastjsonschema_2.20.0.bb>} | 5 +----
     1 file changed, 1 insertion(+), 4 deletions(-)
     rename
    meta-python/recipes-devtools/python/{python3-fastjsonschema_2.18.0.bb
    <http://python3-fastjsonschema_2.18.0.bb> =>
    python3-fastjsonschema_2.20.0.bb
    <http://python3-fastjsonschema_2.20.0.bb>} (84%)

    diff --git
    a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
    <http://python3-fastjsonschema_2.18.0.bb>
    b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb
    <http://python3-fastjsonschema_2.20.0.bb>
    similarity index 84%
    rename from
    meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
    <http://python3-fastjsonschema_2.18.0.bb>
    rename to
    meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb
    <http://python3-fastjsonschema_2.20.0.bb>
    index b2e969c5c..0524a73b6 100644
    ---
    a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb
    <http://python3-fastjsonschema_2.18.0.bb>
    +++
    b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb
    <http://python3-fastjsonschema_2.20.0.bb>
    @@ -6,15 +6,12 @@ HOMEPAGE =
    "https://github.com/seznam/python-fastjsonschema"
     LICENSE = "BSD-3-Clause"
     LIC_FILES_CHKSUM =
    "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532"

    -SRCREV = "756540088687cda351390f687b92e602feaa7dc6"
    -PYPI_SRC_URI =
    "git://github.com/horejsek/python-fastjsonschema;protocol=https;branch=master
    <http://github.com/horejsek/python-fastjsonschema;protocol=https;branch=master>"
    +SRC_URI[sha256sum] =
    "3d48fc5300ee96f5d116f10fe6f28d938e6008f59a6a025c2649475b87f76a23"

     SRC_URI += "file://run-ptest"

     inherit ptest pypi setuptools3

    -S = "${WORKDIR}/git"
    -
     do_install_ptest() {
            install -d ${D}${PTEST_PATH}/tests
            cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
    -- 
    2.39.2


    -=-=-=-=-=-=-=-=-=-=-=-
    Links: You receive all messages sent to this group.
    View/Reply Online (#111803):
    https://lists.openembedded.org/g/openembedded-devel/message/111803
    Mute This Topic: https://lists.openembedded.org/mt/107893158/924729
    Group Owner: [email protected]
    <mailto:openembedded-devel%[email protected]>
    Unsubscribe:
    https://lists.openembedded.org/g/openembedded-devel/unsub
    [[email protected]]
    -=-=-=-=-=-=-=-=-=-=-=-