-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
poetry install failed for {path=.../git=...} dependency if the package does not have setup.py #2276
Comments
I've found that the poetry-core package bundled in poetry 1.1.0a1 is not correct.
# ...
class Builder(object):
AVAILABLE_PYTHONS = {"2", "2.7", "3", "3.4", "3.5", "3.6", "3.7"}
format = None
def __init__(
self, poetry, ignore_packages_formats=False
): # type: ("Poetry", "Env", "IO", bool) -> None
self._poetry = poetry
self._package = poetry.package
self._path = poetry.file.parent
self._original_path = self._path
packages = []
# ... See |
I've found that in 1.0.5, installing a package WITHOUT
Not sure yet why poetry tried to install a package as editable... |
package-a = { path = "./package-a", develop = false } I think some note about this behavior is required in a documentation at least. It would be better if there is warning message or so on. Unfortunately, above workaround does not work on
I've found that #1986 fixes above issue. And it seems this entire issue ( |
It seems using pip 18.1 solves the issue for now. I'll use the following as a workaround for this issue.
Note that pip 19.0 implements PEP 517 and that cause |
Any news on this? It breaks all workflows that require using path dependencies for development. |
This should be fixed in the next preview release. |
Not sure if this is wholly related, but I have the same problem (albeit with another error). I work on two projects I am now in the process of evaluating a build workflow based around This means, that the source tree of the "library" only contains a In the example below, the main project is called "ppproj" and the library is a submodule inside the folder
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
I'm not sure if it's a bug on poetry but I could not complete
poetry install
by the following exceptions.The minimum repository to reproduce this behavior has linked above.
With Poetry 1.0.5
I have no idea but executing
/Users/alisue/.../bin/python -c 'import setuptools'
after above exception does NOT fail. Thus it seemssetuptools
is not available only during pip installation???Poetry 1.1.0a1
I've followed
SdistBuilder -> Builder
on my environment and found the following on~/.../python/3.7.7/lib/python3.7/site-packages/poetry/core/masonry/builders/builder.py
(not in~/.poetry
but wherepython
exists)It seems the
poetry-core
version installed is wrong?The text was updated successfully, but these errors were encountered: