Finally I have succeeded to compile python-elf by lowering the version of python-packaging from 23.1 to 21.3. The version 21.3 has a setup.py file. Since the version 22.0 python-packaging can only be compiled with pip3 (no setup.py file) I suppose there is an incompatibility for python -efl to be compiled with python dependencies compiled with pip3 (wheel problem ?) Best regards
Daniel Le mer. 19 juil. 2023 à 11:34, daniel antoine <univa...@gmail.com> a écrit : > > Hi I have tried to compile python-efl with pip3 but i have the same > problem. python-packaging is present in the build file > =======> name: python-efl > =======> version: 1.26.0 > =======> release: 1 > =======> Building starting... > + prepare > + git clone https://git.enlightenment.org/enlightenment/python-efl > python-efl-1.26.0 > Cloning into 'python-efl-1.26.0'... > + cd python-efl-1.26.0 > + git checkout d1b4512e52a2d9d22ebf4ed87037a7416ff8b8cd > Note: switching to 'd1b4512e52a2d9d22ebf4ed87037a7416ff8b8cd'. > > You are in a 'detached HEAD' state. You can look around, make experimental > changes and commit them, and you can discard any commits you make in this > state without impacting any branches by switching back to a branch. > > If you want to create a new branch to retain commits you create, you may > do so (now or later) by using -c with the switch command. Example: > > git switch -c <new-branch-name> > > Or undo this operation with: > > git switch - > > Turn off this advice by setting config variable advice.detachedHead to false > > HEAD is now at d1b4512 open new development phase > + build > + cd python-efl-1.26.0 > + pip3 wheel -w dist --no-build-isolation --no-deps > /tmp/work/src/python-efl-1.26.0 > Processing /tmp/work/src/python-efl-1.26.0 > Preparing metadata (pyproject.toml): started > Preparing metadata (pyproject.toml): finished with status 'error' > error: subprocess-exited-with-error > > × Preparing metadata (pyproject.toml) did not run successfully. > │ exit code: 1 > ╰─> [14 lines of output] > Traceback (most recent call last): > File > "/usr/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", > line 353, in <module> > main() > File > "/usr/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", > line 335, in main > json_out['return_val'] = hook(**hook_input['kwargs']) > File > "/usr/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", > line 149, in prepare_metadata_for_build_wheel > return hook(metadata_directory, config_settings) > File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", > line 166, in prepare_metadata_for_build_wheel > self.run_setup() > File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", > line 150, in run_setup > exec(compile(code, __file__, 'exec'), locals()) > File "setup.py", line 11, in <module> > from packaging.version import Version > ModuleNotFoundError: No module named 'packaging' > [end of output] > > Best regards > > Daniel > > > Le mar. 18 juil. 2023 à 15:09, daniel antoine <univa...@gmail.com> a écrit : > > > > Hi > > I have python version 3.9.17 and when I try to compile python-efl I > > have this error > > =======> name: python-efl > > =======> version: 1.26.0 > > =======> release: 1 > > =======> Building starting... > > + prepare > > + git clone https://git.enlightenment.org/enlightenment/python-efl > > python-efl-1.26.0 > > Cloning into 'python-efl-1.26.0'... > > + cd python-efl-1.26.0 > > + git checkout d1b4512e52a2d9d22ebf4ed87037a7416ff8b8cd > > Note: switching to 'd1b4512e52a2d9d22ebf4ed87037a7416ff8b8cd'. > > > > You are in 'detached HEAD' state. You can look around, make experimental > > changes and commit them, and you can discard any commits you make in this > > state without impacting any branches by switching back to a branch. > > > > If you want to create a new branch to retain commits you create, you may > > do so (now or later) by using -c with the switch command. Example: > > > > git switch -c <new-branch-name> > > > > Or undo this operation with: > > > > git switch - > > > > Turn off this advice by setting config variable advice.detachedHead to false > > > > HEAD is now at d1b4512 open new development phase > > + build > > + cd python-efl-1.26.0 > > + python3 setup.py build > > Traceback (most recent call last): > > File "/tmp/work/src/python-efl-1.26.0/setup.py", line 11, in <module> > > from packaging.version import Version > > ModuleNotFoundError: No module named 'packaging' > > > > Python-packaging is present with the version 23.1 . It has been built > > with python-flit-core version 3.9.0. These two packets are compiled > > with pip3 when python-efl uses python3 setup-py > > Is there a problem with the version of python-packaging ? Now python3 > > setup-py isems deprecated now. > > > > Best regards > > > > Daniel _______________________________________________ enlightenment-users mailing list enlightenment-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-users