Hi Tim,

On 15.08.24 г. 4:59 ч., Tim Orling wrote:
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".

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


On Wed, Aug 14, 2024 at 4:54 AM Leon Anavi via lists.openembedded.org <http://lists.openembedded.org> <[email protected]> wrote:

    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 (#111821): 
https://lists.openembedded.org/g/openembedded-devel/message/111821
Mute This Topic: https://lists.openembedded.org/mt/107893158/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to