-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Priority: HighAfter critical issues are fixed, these should be dealt with before any further issues.After critical issues are fixed, these should be dealt with before any further issues.bugSomething isn't workingSomething isn't working
Description
I'm trying uv as a replacement for pipenv. It works nice so far, but uv run viur update requirements fails, and it also seems that this command heavily relies of a pipenv-based environment.
$ uv run viur update requirements
requirements.txt successfully generated
Traceback (most recent call last):
File "~/myproject/.venv/bin/viur", line 10, in <module>
sys.exit(cli())
~~~^^
File "~/myproject/.venv/lib/python3.13/site-packages/click/core.py", line 1161, in __call__
return self.main(*args, **kwargs)
~~~~~~~~~^^^^^^^^^^^^^^^^^
File "~/myproject/.venv/lib/python3.13/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
File "~/myproject/.venv/lib/python3.13/site-packages/click/core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
File "~/myproject/.venv/lib/python3.13/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "~/myproject/.venv/lib/python3.13/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
File "~/myproject/.venv/lib/python3.13/site-packages/viur_cli/update.py", line 28, in update
create_req(True, profile)
~~~~~~~~~~^^^^^^^^^^^^^^^
File "~/myproject/.venv/lib/python3.13/site-packages/viur_cli/update.py", line 70, in create_req
if check_req(f"{dist_folder}/requirements.txt"):
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "~/myproject/.venv/lib/python3.13/site-packages/viur_cli/update.py", line 90, in check_req
from pip._internal.req import parse_requirements
ModuleNotFoundError: No module named 'pip'
Metadata
Metadata
Assignees
Labels
Priority: HighAfter critical issues are fixed, these should be dealt with before any further issues.After critical issues are fixed, these should be dealt with before any further issues.bugSomething isn't workingSomething isn't working