Skip to content
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

Construct new YAML serializer object on every load/save operation #378

Closed
wants to merge 1 commit into from

Conversation

nyanpasu64
Copy link
Collaborator

@nyanpasu64 nyanpasu64 commented Jun 15, 2021

Not sure if this is a good idea worth keeping. It may or may not fix a bug I've seen months ago. In return, it introduces complexity and brittleness into my code, and could stop working in a future ruamel.yaml update.

If future versions of ruamel.yaml break my code, pip install corrscope can install higher versions of ruamel.yaml, resulting in a broken corrscope install (as long as they have the same major version). Only poetry install (and in turn, Appveyor's Windows binaries) pin an exact version.

Fixes #288. Fixes #368.

  • If you are a maintainer (only @nyanpasu64 at the moment), make sure to edit the changelog if needed. Otherwise, a maintainer will edit the changelog.

Not sure if this is a good idea worth keeping.
It may or may not fix a bug I've seen months ago.
In return, it introduces complexity and brittleness into my code,
and could stop working in a future ruamel.yaml update.
Also `pip install` doesn't pin the exact ruamel.yaml version
(accepting higher versions that could break my code),
only `poetry install` pins an exact version.
@nyanpasu64 nyanpasu64 closed this Jul 14, 2021
@nyanpasu64
Copy link
Collaborator Author

someday?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant