can you try adding DEPENDS += "python3-pip-native"
On Mon, Jan 22, 2024 at 2:04 PM <p35420...@gmail.com> wrote: > > SUMMARY = "In-process task scheduler with Cron-like capabilities" > HOMEPAGE = "https://github.com/agronholm/apscheduler" > > SECTION = "devel/python" > > LICENSE = "MIT" > LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f0e423eea5c91e7aa21bdb70184b3e53" > > PYPI_PACKAGE = "APScheduler" > > SRC_URI[sha256sum] = > "e6df071b27d9be898e486bc7940a7be50b4af2e9da7c08f0744a96d4bd4cef4a" > > RDEPENDS:${PN} += "\ > python3-six \ > python3-pytz \ > python3-tzlocal \ > " > > inherit pypi setuptools3 > > ERROR: python3-apscheduler-3.10.4-r0 do_compile: 'python3 setup.py > bdist_wheel ' execution failed. > ERROR: python3-apscheduler-3.10.4-r0 do_compile: > ExecutionError('/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/temp/run.do_compile.531694', > 1, None, None) > ERROR: Logfile of failure stored in: > /home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/temp/log.do_compile.531694 > Log data follows: > | DEBUG: Executing shell function do_compile > | > /home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/dist.py:720: > UserWarning: Usage of dash-separated 'upload-dir' will not be supported in > future versions. Please use the underscore name 'upload_dir' instead > | warnings.warn( > | > /home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/installer.py:27: > SetuptoolsDeprecationWarning: setuptools.installer is deprecated. > Requirements should be satisfied by a PEP 517 installer. > | warnings.warn( > | > /home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/bin/python3-native/python3: > No module named pip > | Traceback (most recent call last): > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/installer.py", > line 82, in fetch_build_egg > | subprocess.check_call(cmd) > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/subprocess.py", > line 369, in check_call > | raise CalledProcessError(retcode, cmd) > | subprocess.CalledProcessError: Command > '['/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/bin/python3-native/python3', > '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', > '/tmp/tmpmh5cnujt', '--quiet', 'setuptools_scm']' returned non-zero exit > status 1. > | > | The above exception was the direct cause of the following exception: > | > | Traceback (most recent call last): > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/APScheduler-3.10.4/setup.py", > line 10, in <module> > | setup( > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/__init__.py", > line 152, in setup > | _install_setup_requires(attrs) > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/__init__.py", > line 147, in _install_setup_requires > | dist.fetch_build_eggs(dist.setup_requires) > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/dist.py", > line 809, in fetch_build_eggs > | resolved_dists = pkg_resources.working_set.resolve( > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", > line 771, in resolve > | dist = best[req.key] = env.best_match( > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", > line 1056, in best_match > | return self.obtain(req, installer) > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", > line 1068, in obtain > | return installer(requirement) > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/dist.py", > line 880, in fetch_build_egg > | return fetch_build_egg(self, req) > | File > "/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/setuptools/installer.py", > line 84, in fetch_build_egg > | raise DistutilsError(str(e)) from e > | distutils.errors.DistutilsError: Command > '['/home/iot-yocto/build/tmp/work/armv8a-poky-linux/python3-apscheduler/3.10.4-r0/recipe-sysroot-native/usr/bin/python3-native/python3', > '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', > '/tmp/tmpmh5cnujt', '--quiet', 'setuptools_scm']' returned non-zero exit > status 1. > | ERROR: 'python3 setup.py bdist_wheel ' execution failed. > | WARNING: exit code 1 from a shell command. > ERROR: Task > (/home/iot-yocto/src/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-apscheduler_3.10.4.bb:do_compile) > failed with exit code '1' > NOTE: Tasks Summary: Attempted 7610 tasks of which 7603 didn't need to be > rerun and 1 failed. > > Summary: 1 task failed: > > /home/iot-yocto/src/poky/../meta-openembedded/meta-python/recipes-devtools/python/python3-apscheduler_3.10.4.bb:do_compile > Summary: There was 1 WARNING message. > Summary: There were 2 ERROR messages, returning a non-zero exit code. > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#108377): https://lists.openembedded.org/g/openembedded-devel/message/108377 Mute This Topic: https://lists.openembedded.org/mt/103897332/21656 Mute #error:https://lists.openembedded.org/g/openembedded-devel/mutehashtag/error Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-