Open theCapypara opened 1 year ago
Oh, and I can confirm that make build
runs when downgrading pipenv
to 2022.10.4
.
Can confirm pretty similar issue with pipenv, version 2018.11.2
✔ Successfully created virtual environment!
Virtualenv location: /home/spooky/.local/share/virtualenvs/guake-3CFDnMV3
Installing dependencies from Pipfile.lock (3de430)…
Traceback (most recent call last):
File "/home/spooky/.local/bin/pipenv", line 8, in <module>
sys.exit(cli())
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/cli/command.py", line 235, in install
retcode = do_install(
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/core.py", line 1863, in do_install
do_init(
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/core.py", line 1246, in do_init
do_install_dependencies(
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/core.py", line 809, in do_install_dependencies
deps_list = list(lockfile.get_requirements(dev=dev, only=requirements))
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/lockfile.py", line 272, in get_requirements
yield Requirement.from_pipfile(k, v)
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 1185, in from_pipfile
r = FileRequirement.from_pipfile(name, pipfile)
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/requirements.py", line 583, in from_pipfile
link = create_link(uri)
File "/home/spooky/.local/lib/python3.10/site-packages/pipenv/vendor/requirementslib/models/utils.py", line 40, in create_link
return Link(link)
TypeError: 'NoneType' object is not callable
make: *** [Makefile:61: pipenv-install-dev] Error 1
Background:
I wanted to add something to Guake and because of this wanted to checkout the code locally and set it up for development. For that I had a look at the CI and tried to run all make commands used there to make sure I am having a stable environment to work with.
Describe the bug
I am however unable to run
make build
locally without issues.Expected behavior
When checking out the project from source, as described in the docs ( https://guake.readthedocs.io/en/stable/user/installing.html#install-from-source )I expect
make build
to run through without errors after installing dependencies viapipenv install --dev
.Actual behavior
The
pipenv_to_requirements
step fails:Upstream issue: https://github.com/gsemet/pipenv-to-requirements/issues/25 Upstream PR: https://github.com/gsemet/pipenv-to-requirements/pull/26
To Reproduce
See above + see below for my installed package versions.
OS: Arch Linux Python: 3.10.9 pipenv:
2022.12.19
(The last successful build on Github Actions used2022.11.30
for reference - referring back to the issue above, I'm surprised that this works. The issue might not simply be the pipenv version.)Installed packages in the venv: