-
Notifications
You must be signed in to change notification settings - Fork 38
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
Poetry projects not recognized on windows 10 #35
Comments
I have the same problem on windows 11. If run dos2unix on pyproject.toml, then everything works, so a dumb workaround would be to configure git to keep pyproject.toml in unix format. The patch proposed by @altomcat two years ago seems like a good solution, why hasn't this been fixed? |
Have the same issue on Windows 10. Any progress on this? |
I really can not reproduce this on any system, unfortunately. I'll try to test this in a Windoze VM asap. And it will be Windows on ARM, for what it's worth. However, the proposed fix is looking not right for me. There's no final https://www.gnu.org/software/emacs/manual/html_node/elisp/Regexp-Special.html In addition, it's still unclear to me what For all the users affected by these issue (100% using MS Windows): I'd be good to have the following information:
|
I did an update recently and my poetry projects were no longer recognized.
I found a regex error in the poetry-find-project-root function where the final ] must be escaped.
Sometimes I've used a different text editor to edit pyproject.toml . It can add carriage returns at the end of each lines, so I've changed the regex a bit to handle them. There may be a more elegant way to do this, but that's another story.
Here is the diff with the changes I made.
The text was updated successfully, but these errors were encountered: