Closed llucax closed 1 month ago
Yeah, if you look at the issue, I asked a bit and he gave us a few pointers, so I am gonna look into that
I'm pinning sybil to < 6.1 for v0.9.x to fix this quickly for the current projects experiencing the issue. We can delay the proper fix to v0.10.0.
What happened?
When upgrading from Sybil 6.0.3 to 6.1.0 we get the following error:
What did you expect instead?
It works.
Affected version(s)
v0.9.x
Affected part(s)
Build script, CI, dependencies, etc. (part:tooling), Tools to configure pytest (part:pytest)
Extra information
When printing the generated source, this is what's being passed to pylint:
The trailing ``` is clearly causing the issue (it is line 22).
I'm not sure if we were misusing Sybil or if there is a regression in Sybil, it probably needs to be investigated.
If it is an issue in Sybil, we might want to deal with it ourselves for now, otherwise we'll need to pin sybil in all downstream projects too.
From Sybil 6.1.0 changelog:
Probably related to this issue.