openmicroscopy icon indicating copy to clipboard operation
openmicroscopy copied to clipboard

Use \d

Open jburel opened this issue 10 months ago • 3 comments

Upgrading the GitHub action to run on Ubuntu 24.04 with Python 3.12 to synchronize the documentation from various repositories has led to some failures See https://github.com/ome/omero-documentation/actions/runs/13825561909

This is the first part of the puzzle. Changes are required in other repositories e.g. omeroweb-install and ansible

jburel avatar Mar 13 '25 14:03 jburel

Interesting. What changed to make this start failing, @jburel ?

joshmoore avatar Mar 13 '25 14:03 joshmoore

documentation/OMERO.server/components/antlib/scripts/parse_version:76: SyntaxWarning: invalid escape sequence '\d'   "(?P<STRIP>([-]DEV)?-\d+-[a-f0-9]+?(-dirty)?)" /home/runner/work/omero-documentation/OMERO.server/components/antlib/scripts/parse_version:118: SyntaxWarning: invalid escape sequence '\d'   m = re.match("^([^\d]*\d+[.]\d+[.])(\d+)-SNAPSHOT$", omero_version) 5.6.14-ice36-SNAPSHOT). Use forcedeliver or update.

This is due to the fact that we are running with 3.12

jburel avatar Mar 13 '25 15:03 jburel

This is due to the fact that we are running with 3.12

Gotcha.

joshmoore avatar Mar 13 '25 18:03 joshmoore