Skip to content

Fix stub compat with older pyyaml versions that may unwittingly load it#480

Merged
nitzmahone merged 1 commit intoyaml:release/5.4.1from
nitzmahone:stub_compat
Jan 20, 2021
Merged

Fix stub compat with older pyyaml versions that may unwittingly load it#480
nitzmahone merged 1 commit intoyaml:release/5.4.1from
nitzmahone:stub_compat

Conversation

@nitzmahone
Copy link
Copy Markdown
Member

@nitzmahone nitzmahone commented Jan 20, 2021

fixes #478

@bsolomon1124
Copy link
Copy Markdown
Contributor

Would it be possible/not overly difficult to test in CI the condition you were able to reproduce?

@nitzmahone
Copy link
Copy Markdown
Member Author

@bsolomon1124 Pretty big PITA to test "for real"- we'd have to install the current version in another venv with the C ext, a prior version in the venv to test without the C ext, then graft the current-version-venv path onto the end of the to-be-tested venv path and try to load the module.

@nitzmahone nitzmahone changed the base branch from master to release/5.4.1 January 20, 2021 21:54
@nitzmahone nitzmahone merged commit ee37f46 into yaml:release/5.4.1 Jan 20, 2021
asherf added a commit to asherf/pants that referenced this pull request Jan 21, 2021
5.4.1 (2021-01-20)

* yaml/pyyaml#480 -- Fix stub compat with older pyyaml versions that may unwittingly load it

5.4 (2021-01-19)

* yaml/pyyaml#407 -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA
* yaml/pyyaml#472 -- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader
* yaml/pyyaml#441 -- Fix memory leak in implicit resolver setup
* yaml/pyyaml#392 -- Fix py2 copy support for timezone objects
* yaml/pyyaml#378 -- Fix compatibility with Jython

https://github.com/yaml/pyyaml/blob/master/CHANGES
stuhood pushed a commit to pantsbuild/pants that referenced this pull request Jan 21, 2021
5.4.1 (2021-01-20)

* yaml/pyyaml#480 -- Fix stub compat with older pyyaml versions that may unwittingly load it

5.4 (2021-01-19)

* yaml/pyyaml#407 -- Build modernization, remove distutils, fix metadata, build wheels, CI to GHA
* yaml/pyyaml#472 -- Fix for CVE-2020-14343, moves arbitrary python tags to UnsafeLoader
* yaml/pyyaml#441 -- Fix memory leak in implicit resolver setup
* yaml/pyyaml#392 -- Fix py2 copy support for timezone objects
* yaml/pyyaml#378 -- Fix compatibility with Jython

https://github.com/yaml/pyyaml/blob/master/CHANGES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

【v5.4】partially initialized module 'yaml' has no attribute '__with_libyaml__'

2 participants