TL2018 (MacTeX) and TikZ calligraphy library

Under MacTeX 2018 the following TeX file:

\documentclass{article}

\usepackage{tikz}

\usetikzlibrary{decorations.pathreplacing,calligraphy}

\begin{document}

\tikz\draw[decorate,decoration={calligraphic brace,amplitude=4mm},ultra thick] (0,0) -- (0,8);

\end{document}


gives the following warning

*************************************************
* LaTeX warning: "kernel/deprecated-variant"
*
* Variant form 'VnV' deprecated for base form '\spath_get:nnN'. One should not
* change an argument from type 'N' to type 'V': base form only accepts a
* single token argument.
*************************************************


and these errors:

/usr/local/texlive/2018/texmf-dist/tex/latex/spath3/tikzlibrarycalligraphy.code.tex:707: Undefined control sequence.
<argument> \g__prg_map_int

l.707 ...igraphy pen copperplate}{\l__cal_tmpa_tl}

/usr/local/texlive/2018/texmf-dist/tex/latex/spath3/tikzlibrarycalligraphy.code.tex:707: You can't use \char"1' after \advance.


I reported the warning in Warning with tikzlibrary calligraphy, but the errors are new with TL2018 -- TL2017 does not give the errors.

• This probably comes from the fact that the expl3 code has just been updated, one of the release notes mentions - Deprecated functions expiring at end of 2017 are removed, so the calligraphy people or who ever might not have been keeping up. – daleif May 3 '18 at 13:26
• Though, I only get the warning, no error. Have you updated your MacTeX? – daleif May 3 '18 at 13:26
• @LoopSpace is the author – percusse May 3 '18 at 13:27
• Ahh, I updated to todays updates, now I also get that error – daleif May 3 '18 at 13:36
• Fixed on github, but I'm waiting to be told that I shouldn't be using l3 internals in that way so it might be a short while before it makes it to CTAN. github.com/loopspace/spath3 – Loop Space May 7 '18 at 14:00

The LaTeX team have been working on tightening up some expl3 internals. This can have an impact where third-parties have used internal code from the kernel: that is the case here. For the present, it can be fixed by adding
\usepackage{expl3}
`