-
Notifications
You must be signed in to change notification settings - Fork 564
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
Extending rst.tpl
fails in current master and 6.0.0a0
#1158
Comments
Yes, the 6.0.0 alpha has changes to the template patterns. Specifically templates now have directories with jinja (.j2) files. We released the alpha so libraries could start catching these issues early. In this case |
@matthew-brett This is the corresponding fix in |
Thanks - I'll try that fix. I wonder how many of your upstream users are using |
I'm thinking about making it backwards compatible, I think that's easy to
do.
(from mobile phone)
…On Thu, 2 Jan 2020, 13:26 Matthew Brett, ***@***.***> wrote:
Thanks - I'll try that fix. I wonder how many of your upstream users are
using --pre test envs? Is there any way of softening the backwards
compatible break here? Like a DeprecationWarning, and auto-replace of
rst.tpl (etc) with the new values?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1158?email_source=notifications&email_token=AANPEPKE472LVPW4VSXZKHTQ3XMQBA5CNFSM4KBWWSR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH6HNZA#issuecomment-570193636>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANPEPNBB5QR5J26ZRQ2PH3Q3XMQBANCNFSM4KBWWSRQ>
.
|
We could try to emit a deprecation warning and convert the path when we detect an old-style path. That's probably a good idea for 6.0.0 and let's us wait until 6.1 to drop the older pattern completely. |
#1173 is an alternative way to fix this. I think I should have done this from the start but didn't think it would be that simple to provide backward compatibility. |
Excellent - thanks - that is helpful. |
Extending
rst.tpl
with a DictLoader has worked up until the 6.0.0a0 alpha release, but now fails, in 6.0.0a0 as in current master (b31a5af).This succeeds on current stable on pip (5.6.1), but fails for current master, with:
Nbconvert version:
The text was updated successfully, but these errors were encountered: