Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a runtime SyntaxWarning with Python 3.12 #494

Merged

Conversation

praiskup
Copy link
Member

Creating output directory: /tmp/tito
src/tito/builder/main.py:871: SyntaxWarning: invalid escape sequence '\d'
patch_pattern = re.compile('^Patch(\d+):')
src/tito/builder/main.py:872: SyntaxWarning: invalid escape sequence '\d'
source_pattern = re.compile('^Source(\d+)?:')
Building package [tito-0.6.25-1]
Wrote: /tmp/tito/tito-git-2.909184d.tar.gz

Creating output directory: /tmp/tito
src/tito/builder/main.py:871: SyntaxWarning: invalid escape sequence '\d'
  patch_pattern = re.compile('^Patch(\d+):')
src/tito/builder/main.py:872: SyntaxWarning: invalid escape sequence '\d'
  source_pattern = re.compile('^Source(\d+)?:')
Building package [tito-0.6.25-1]
Wrote: /tmp/tito/tito-git-2.909184d.tar.gz
@FrostyX
Copy link
Member

FrostyX commented Feb 23, 2024

Yeah, these jump at me from different places of the code each time. Thank you :-)

@FrostyX FrostyX merged commit c6c0911 into rpm-software-management:master Feb 23, 2024
12 checks 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