pypreprocessor icon indicating copy to clipboard operation
pypreprocessor copied to clipboard

installing 0.7.7 with pip fails

Open ikuehl opened this issue 1 year ago • 0 comments

Just tried to install the latest version, 0.7.7, with pip on my Ubuntu 22.04.1 box, but installation failed due to an import issue with 'maintest'. Could you check this?

Collecting pypreprocessor Using cached pypreprocessor-0.7.7.tar.gz (10 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] Traceback (most recent call last): File "/home/vboxuser/git/trcu-gui/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/home/vboxuser/git/trcu-gui/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/vboxuser/git/trcu-gui/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-2zcmzrw4/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-2zcmzrw4/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 303, in _get_build_requires self.run_setup() File "/tmp/pip-build-env-2zcmzrw4/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 521, in run_setup super().run_setup(setup_script=setup_script) File "/tmp/pip-build-env-2zcmzrw4/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 319, in run_setup exec(code, locals()) File "", line 16, in File "/tmp/pip-install-p9rgadgl/pypreprocessor_d36a66cbc25349119ef1b73285f59757/tests/init.py", line 11, in from tests import maintest ImportError: cannot import name 'maintest' from partially initialized module 'tests' (most likely due to a circular import) (/tmp/pip-install-p9rgadgl/pypreprocessor_d36a66cbc25349119ef1b73285f59757/tests/init.py) [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

ikuehl avatar Oct 30 '24 06:10 ikuehl