Skip to content

Build failure with PyICU 2.15 on alpine with ICU version 67.1

I am able to successfully install PyICU 2.13.1 and 2.14 on an alpine python docker image (Dockerfile). However, using the same Dockerfile I am unable to install PyICU due to a error:

unicodeset.cpp: In function 'int t_unicodesetiterator_init(t_unicodesetiterator*, PyObject*, PyObject*)':
44.33       unicodeset.cpp:1334:31: error: 'class icu_67::UnicodeSetIterator' has no member named 'skipToStrings'
44.33        1334 |                 self->object->skipToStrings();
44.33             |                               ^~~~~~~~~~~~~
44.33       error: command '/usr/bin/g++' failed with exit code 1
44.33       [end of output]

The full build log is in attached.