Closed intlabs closed 7 years ago
It seems to be bug in re honestly. In old version of 3.3 it was also present and fixed as one of the minor bumps.
Maybe reporting it to Redhat would make them fix it in their python?
@scarabeusiv specifically '(.*)?' does not work in <2.7.6 python. Using a regex without that is probably the best move here. I ran into this problem about a year ago and the solution was to use a different regex without '(.*)?' rather than have anyone else change anything.
For the record, Ubuntu 12.04 and Debian Wheezy also will have an issue with this
Oky as it is easier here I just tweaked it back, thanks to pointing out what is wrong :)
Hang tight for 0.9.2 release fixing this.
spec-cleaner 0.9.1 is not compatible with Python 2.7.5's
re
which is the version used by CentOS.The regular expressions introduced in https://github.com/openSUSE/spec-cleaner/commit/2c97233bcd2628ae9034ba48b4e5629257681159, break compatibility with Python 2.7.5
This affects building OpenStack on CentOS based Distros.
I have also filed a bug at Launchpad: https://bugs.launchpad.net/openstack-requirements/+bug/1655509