Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing 0.7.7 with pip fails #36

Open
ikuehl opened this issue Oct 30, 2024 · 0 comments
Open

installing 0.7.7 with pip fails #36

ikuehl opened this issue Oct 30, 2024 · 0 comments

Comments

@ikuehl
Copy link

ikuehl commented Oct 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant