-
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
Why is the EditableBuilder running pip without --no-deps ? #2126
Comments
Hello @dmerejkowsky, as far as a understood this part of the code, it is only used to install your current project in editable mode. This step is always the very last step during I don't know if it would hurts the fin swimmer |
That's what I thought, too. Guess I'll make a PR and see what happens :) |
So, here's what we've figured out. ContextThe tankersdk projectWe have a project named In order to build the project, we use a proprietary module called Here are the relevant snippets of code: # In pyproject.toml
[tool.poetry]
name = "tankersdk"
build = "build.py"
[tool.poetry.dependencies]
python = "^3.7"
cffi = "^1.13.2"
ci = "2020.2.2093" # In build.py
def build(setup_kwargs):
setup_kwargs["cffi_modules"] = [ .... ] The Conan projectIt should be noted the conan project contains the following configurations:
# in conan/setup.py
project_requirements = get_requires("conans/requirements.txt")
if platform.system() == "Darwin":
project_requirements.extend(get_requires("conans/requirements_osx.txt")) The poetry lockFinally, note that we've generated the lock on Linux, so the resolved deps are:
but the package is built on Linux, macOS, and Windows. Also, despite what the comment says, conan installed via poetry has no problem running on macOS - with conan==1.19.2 and idna==2.9 The bugSo, during the macOS CI we run And that's where things go wrong: pip sees the
|
@dmerejkowsky jfyi; the conan issue was resolved in conan-io/conan#6797 via conan-io/conan#6798. |
That's good to know, thanks ! |
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. |
We've got a problem involving this repo at work and we are still trying to figure out exactly what the problem is - when we do, we'll update this issue :)
But during our investigation, we came across these lines in poet's
EditableBuilder
sources:My question is: why is pip run without the
--no-deps
flags? Is this an oversight, or is something else going on here?The text was updated successfully, but these errors were encountered: