Add support for PyYAML v5 #1 - #3
Conversation
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This avoid dealing with PyYaml referecnes ids and works on 3.x and 5.x Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Appveyor was failng and Travis not enabled. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
|
@dankegel ping. Do you mind testing this in your config? |
|
@dankegel I also tagged and pushed a release 0.4 https://pypi.org/project/saneyaml/0.4/ |
|
I installed https://launchpad.net/~dank/+archive/ubuntu/python-fixes to work around the nastier problems in the system pip + python ecosystem, then ran 'pip install scancode-toolkit; scancode --version' across my fleet. I can still see the original problem like this: I'm a bit dense, though, since that's probably expected until scancode drops its own strict Incidentally, I learned that pip 8.1 at least seems to lie when you ask it to uninstall things; it leaves |
|
Any news on this? |
|
@jelmer let me merge this and push a few new updates. Thanks for the reminder! |
This is a fix for saneyaml requires too precise version of PyYAML, can't be installed easily with pip on real systems #1 to support both PyYAML 3.1x and the newer PyYAML 5.1.x
Several subtle changes had been introduced and this resolves them all.
The PyYAML version constraint has been entirely removed from setup.py
CI testing has been enabled on Appveyor/WIndows an Travis/Linux
Reported-by: Dan Kegel dank@kegel.com
Signed-off-by: Philippe Ombredanne pombredanne@nexb.com