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

Make sure PIP is upgraded to latest version #3402

Merged
merged 1 commit into from
Jul 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def install(c):
print("Installing required python packages from 'requirements.txt'")

# Install required Python packages with PIP
c.run('pip3 install --upgrade pip')
c.run('pip3 install -U -r requirements.txt')


Expand Down Expand Up @@ -554,9 +555,9 @@ def test_translations(c):

# complie regex
reg = re.compile(
r"[a-zA-Z0-9]{1}"+ # match any single letter and number
r"(?![^{\(\<]*[}\)\>])"+ # that is not inside curly brackets, brackets or a tag
r"(?<![^\%][^\(][)][a-z])"+ # that is not a specially formatted variable with singles
r"[a-zA-Z0-9]{1}" + # match any single letter and number
r"(?![^{\(\<]*[}\)\>])" + # that is not inside curly brackets, brackets or a tag
r"(?<![^\%][^\(][)][a-z])" + # that is not a specially formatted variable with singles
r"(?![^\\][\n])" # that is not a newline
)
last_string = ''
Expand Down