-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure Path.glob argument is a string
When excluded path is not a glob pattern, pathlib implementation relies on `sys.intern`, which expects a string. However, the value passed in is of `tomlkit.items.String`. This change ensures poetry does not crash in this scenario. Resolves: python-poetry/poetry#2798 Co-authored-by: David Lee <[email protected]>
- Loading branch information
1 parent
faefb7d
commit 9a05290
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ classifiers = [ | |
] | ||
|
||
exclude = [ | ||
"does-not-exist", | ||
"**/*.xml" | ||
] | ||
|
||
|