-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Labels
Description
Description
As the title says, CHANGELOG.md and LICENSE files are saving to the root site-packages dir. If you install all the serialization packages, these 2 files get overwritten a few times. Then when uninstalling (or running poetry update for that matter) you quickly run into FileNotFoundError errors and poetry telling you Cannot install microsoft-kiota-serialization-text or any of the other ones.
Proposed Solution
- For license, you don't even need to include it in the
include, it gets detected automatically and is included within the package. (here are the files that get included automatically). - For changelog you'd need to do a clever hack like this if you really, really want to include it in the python package. I'd recommend just not including changelog in the python package, I can't conceive a reason why the functional code would need it
Contextual information
- Here's a poetry github issue describing how poetry does exactly what is causing this issue (which probably won't be fixed/changed)
- Here's a workaround if you really want to include some files anyway
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done ✔️