You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have **/node_modules/** in my .gitignore and I also included exclude = ["**/node_modules"] in my pyproject.toml file, but none of them causes the node_modules to be ignored.
When I do poetry build -vvv I see a lot of lines similar to:
this is already fixed by #1464 but obviously it is not included in the current version
Can you please check the output of git ls-files --others -i --exclude-standard? Because I would thought that the .gitgnore should work. If the files you want to excluded that you have already added them with git add. You will have to remove them from the git tracking.
Nevertheless with the fix already in dev the pyproject.toml should work.
In the meantime you can use also use exclude = ["**/node_modules/**/*"].
@sdispater Is this correct that the fix isn't in the current release?
git ls-files --others -i --exclude-standard contains these files. I'm quite sure they are not commited to the repository or added using git add. exclude = ["**/node_modules/**/*"] makes no difference, so I'm not sure if the fix will actually help. I'm wondering if recursive glob should be used.
-vvv
option).Issue
Exclude is not respected when building package.
I have
**/node_modules/**
in my.gitignore
and I also includedexclude = ["**/node_modules"]
in my pyproject.toml file, but none of them causes the node_modules to be ignored.When I do
poetry build -vvv
I see a lot of lines similar to:The text was updated successfully, but these errors were encountered: