The tk-core team accidentally introduced a bug in v0.20.15 release.
The commit in question is 7606eb59c6e91f15bd60baaef13fa34dab7cbd2d.
The change looked innocuous however if the context attribute ever doesn’t contain a “type” or a “name”, it previously would put “None” into the string because the old style string formatting would do that for you.
six.ensure_str you will instead have an exception thrown.
This bit our team here pretty hard today because all we had done was update a minor version of tk-core and it took us a long time to determine where the issue came from.
We are encountering this issue because our internal delivery tool runs in the context of a Version entity which toolkit doesn’t correctly pull a “name” value for when queried off of the
If there is something that we should be doing to ensure the Version entity works well with the Context class, please let me know, however I feel that regardless, there should be some guards on this code in case
six.ensure_str does throw an error.
It also looks like the v0.20.15 release is not present in the Release thread.
Let me know if you need any more information or if you agree with this assesment.