With recent pythons, when using mock and specifying the opensuse-tumbleweed root one gets:
<string>:5: SyntaxWarning: "\$" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\$"? A raw string is also an option.
I believe this is from the templates/opensuse-tumbleweed.tpl line 5 of the form:
config_opts['macros']['%dist'] = '.suse.tw%(sh -c ". /etc/os-release; echo \$VERSION_ID")'
Obviously a very low priority issue (I don't think the python community has any consensus on the earliest date they might turn the warning into a hard error, but it will probably be many years)
With recent pythons, when using mock and specifying the opensuse-tumbleweed root one gets:
<string>:5: SyntaxWarning: "\$" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\$"? A raw string is also an option.I believe this is from the templates/opensuse-tumbleweed.tpl line 5 of the form:
config_opts['macros']['%dist'] = '.suse.tw%(sh -c ". /etc/os-release; echo \$VERSION_ID")'Obviously a very low priority issue (I don't think the python community has any consensus on the earliest date they might turn the warning into a hard error, but it will probably be many years)