Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
tor-browser-bundle-testsuite
Commits
931c6dc3
Commit
931c6dc3
authored
Mar 31, 2022
by
Richard Pospesel
Browse files
Bug 40042: setup-virtualenv attempts to install the wrong version of the distro package
parent
76fd8eba
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
931c6dc3
...
...
@@ -2,7 +2,7 @@
*.pyc
clones
virtualenv
virtualenv-marionette-
4.3.0
virtualenv-marionette-
*
reports
tmp
bundle
setup-virtualenv
View file @
931c6dc3
...
...
@@ -46,6 +46,9 @@ unless (-d $virtenv_marionette_dir) {
# upgrade pip and setuptools
run
("
$virtenv_marionette_dir
/
$bin
/pip
",
'
install
',
'
--upgrade
',
'
pip
');
run
("
$virtenv_marionette_dir
/
$bin
/pip
",
'
install
',
'
--upgrade
',
'
setuptools
');
# for some reason setup.py tries to install distro version 1.7 which is not
# compatible with python2.7, so have pip resolve this dependency manually to 1.6
run
("
$virtenv_marionette_dir
/
$bin
/pip
",
'
install
',
'
distro
');
run_from_dir
('
marionette
',
"
$virtenv_marionette_dir
/
$bin
/python
",
'
setup.py
',
'
develop
');
}
...
...
Richard Pospesel
@richard
mentioned in merge request
!21 (closed)
·
Apr 06, 2022
mentioned in merge request
!21 (closed)
mentioned in merge request !21
Toggle commit list
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