-
-
Notifications
You must be signed in to change notification settings - Fork 424
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
FileExistsError, version 1.7.1 (new installer) #565
Labels
🐛 bug
Something isn't working
Comments
A minimal and reproducible example would be a great help, can you make it? |
Sure, give me a sec 🙂 |
mkdir -p repro565/src/yo
cd repro565
echo 'print("yo")' > src/yo/__init__.py
echo '
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[project]
name = "yo"
version = {use_scm = true}
description = "Hey."
readme = "README.md"
requires-python = ">=3.6.8"
dynamic = ["version"]
dependencies = [
"failprint~=0.6.2",
"git-changelog~=0.4.2",
]
[tool.pdm]
includes = ["src"]
' > pyproject.toml
touch README.md
pdm lock # ok
pdm install # fails when installing the second problematic package |
Thanks for the information. It helps enlight the whole situation. The first installation failed due to |
Thank you again for such quick fixes, you're fantastic ❤️ |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
pdm install
Actual behavior
pytkdocs 0.11.1 was built with Poetry with the following contents in pyproject.toml:
...which was known to cause problem with parallel installations (race conditions trying to remove/copy README.md and pyproject.toml from the root of site-packages). I since then removed this
include
from my Poetry projects, but old versions still suffer from it. This might also be the cause of this issue, though the tracebacks show FileExistsError on the scripts, not README/pyproject, so I'm not sure.Other packages built the same way are triggering the same exceptions (git-changelog 0.4.2, failprint 0.6.2).
If you believe this issue should be opened in @pradyunsg's
installer
instead, I'll gladly move it there!Expected behavior
It works with version 1.7.0.
Environment Information
The text was updated successfully, but these errors were encountered: