-
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
Relative installs break on subsequent installs due to pip-wheel-metadata
#1123
Comments
@micimize Any progress on this issue? Any workaround? It's really annoying to remove |
@vovapolu I'm on # [build-system]
# requires = ["poetry>=0.12"]
# build-backend = "poetry.masonry.api" |
Well, indeed removing |
@vovapolu I'm saying that after I commented out the |
Mkdir is breaking when folder is already existing, this allows it not to fail if target exists
Hello I'm having the same problem, with Poetry 0.12.17 and python 3.7.4 |
We would very much like to adopt Poetry, but this issue is blocking us. We are an open-source monorepo, with several subdirectories that are independently published to PyPI. Users may use one, or all of our packages, and our packages have interdependencies. Because, e.g., The workaround is not viable for an open source project. |
Does the merged PR above fix this, or not? |
@Natureshadow It does not appear to be fixed on
but the same lines in dist_info = Path(metadata_directory, builder.dist_info)
dist_info.mkdir(parents=True, exist_ok=True) I've tried deleting |
File
"/private/var/folders/1_/drxyjr152tvfmv8jp80hyzrw0000gp/T/pip-build-env-dfxxevnh/overlay/lib/python3.7/site-packages/poetry/masonry/api.py",
line 39, in prepare_metadata_for_build_wheel
dist_info.mkdir().
Looks like another location with the same bug.
|
@micimize @Natureshadow |
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. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: macOS + 10.14.5
Poetry version: 0.12.6 (
sudo pip3 install poetry==0.12.16
)parent
pyproject.toml
Issue
poetry install
generatespip-wheel-metadata
files in my relative-path dependencies, which break laterinstalls
withFileExistsError
. My current workaround is simply torm -rf ../dependency/pip-wheel-metadata/
before installs.FileExistsError: '/path/to/dependency/pip-wheel-metadata/dependency-0.1.0.dist-info'
installation failureException trace:
This was not the case for this same structure and
pypproject.toml
s in an earlier, now-lost environment.I have not been able to replicate the previous working environment, but it had
poetry==1.0.0a2
andpython 2
+ it'spip
, whereas I now don't have any "activated"pip<19
(though behavior doesn't change by installing different pip versions, aspoetry
manages it's own pip19.0.3
)The text was updated successfully, but these errors were encountered: