-
-
Notifications
You must be signed in to change notification settings - Fork 636
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
pyproject.toml
with a default configuration causes "Can only merge Directories with no duplicates" bug.
#14776
Comments
Confirming that I reproduce this. This seems like a very bad bug. |
I encountered this with pantsbuild/pants #12679 (comment), but I assumed it was only due to Pants synthetically creating |
This is due to coverage config and pytest config colliding - they both pick up pyproject.toml. Although why they aren't identical is unclear to me so far. |
Ah, it's because we update the coverage config and write it back out. Ugh. |
Will figure out a hack around this. |
That was fast! I'm super stoked that you both took the time! 🎉 👏 |
It was cherry-picked to Pants 2.10, which we hope to have a stable release of this week :) |
Let's reopen this if the bug fix doesn't do the trick. |
Describe the bug
When I add a pyproject toml with the contents like this, pants gives me a weird comparison error:
Pants version
2.9
OS
MacOS
Additional info
I created a reproduction using the
example-django
project here: https://github.com/bastianwegge/example-django/tree/pyproject-toml-diff-bugThe text was updated successfully, but these errors were encountered: