Skip to content

Fix Python warning about invalid escape sequences#158

Merged
mizdebsk merged 1 commit intofedora-java:masterfrom
mkoncek:python-regex
Apr 22, 2026
Merged

Fix Python warning about invalid escape sequences#158
mizdebsk merged 1 commit intofedora-java:masterfrom
mkoncek:python-regex

Conversation

@mkoncek
Copy link
Copy Markdown
Member

@mkoncek mkoncek commented Apr 16, 2026

Currently, when running any Java package package builds in Fedora Rawhide, we can see this warning:

...
+ /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -j
/usr/lib/python3.14/site-packages/javapackages/maven/artifact.py:194: SyntaxWarning: "\{" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\{"? A raw string is also an option.
  prog = re.compile("\\$\{([^}]+)\}")
...

@mkoncek mkoncek requested a review from mizdebsk April 17, 2026 13:01
@mizdebsk mizdebsk merged commit ca03875 into fedora-java:master Apr 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants