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

Invalid syntax on line 9 for version #2

Open
PrudviDanda opened this issue Apr 30, 2020 · 1 comment
Open

Invalid syntax on line 9 for version #2

PrudviDanda opened this issue Apr 30, 2020 · 1 comment

Comments

@PrudviDanda
Copy link

PrudviDanda commented Apr 30, 2020

hello , i am trying to use ur version.py file and i am getting this issue . can you help me fix this
[centos@prudvi-dev-1]$ python ./tools/update_version.py File "./tools/update_version.py", line 9 version_pattern = re.compile(fr'^\d+.\d+.\d+') ^ SyntaxError: invalid syntax

@sofiafernandescd
Copy link

try to change ^\d+ to \D+ or [^\d]+

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

No branches or pull requests

2 participants