Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mercurial
hg-git
Commits
4a18ab4b2fed
Commit
4a18ab4b
authored
Mar 18, 2022
by
Dan Villiom Podlaski Christiansen
Browse files
demandimport: add 'brotlicffi' to ignores, so urllib3 can detect its absence
Our tests fail under Python 2.7 without this.
parent
d931a1ee7e0c
Pipeline
#55165
failed with stages
in 76 minutes and 45 seconds
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
hggit/__init__.py
View file @
4a18ab4b
...
...
@@ -143,9 +143,10 @@
demandimport
.
IGNORES
|=
{
b
'collections'
,
b
'brotli'
,
# only needed in Python 2.7
b
'brotlicffi'
,
# only needed in Python 2.7
b
'ipaddress'
,
# only needed in Python 2.7
}
except
AttributeError
:
# pre 4.7 API
demandimport
.
ignore
.
extend
([
b
'collections'
,
b
'brotli'
,
...
...
@@ -146,9 +147,10 @@
b
'ipaddress'
,
# only needed in Python 2.7
}
except
AttributeError
:
# pre 4.7 API
demandimport
.
ignore
.
extend
([
b
'collections'
,
b
'brotli'
,
b
'brotlicffi'
,
b
'ipaddress'
,
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment