Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
6127c4b9
Unverified
Commit
6127c4b9
authored
3 years ago
by
Richard van der Hoff
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Configure `tox` to use `venv` (#12015)
As the comment says, virtualenv is a pile of fail.
parent
e69f8f0a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.ci/scripts/test_old_deps.sh
+3
-1
3 additions, 1 deletion
.ci/scripts/test_old_deps.sh
changelog.d/12015.misc
+1
-0
1 addition, 0 deletions
changelog.d/12015.misc
tox.ini
+5
-0
5 additions, 0 deletions
tox.ini
with
9 additions
and
1 deletion
.ci/scripts/test_old_deps.sh
+
3
−
1
View file @
6127c4b9
...
...
@@ -8,7 +8,9 @@ export DEBIAN_FRONTEND=noninteractive
set
-ex
apt-get update
apt-get
install
-y
python3 python3-dev python3-pip libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox libjpeg-dev libwebp-dev
apt-get
install
-y
\
python3 python3-dev python3-pip python3-venv
\
libxml2-dev libxslt-dev xmlsec1 zlib1g-dev tox libjpeg-dev libwebp-dev
export
LANG
=
"C.UTF-8"
...
...
This diff is collapsed.
Click to expand it.
changelog.d/12015.misc
0 → 100644
+
1
−
0
View file @
6127c4b9
Configure `tox` to use `venv` rather than `virtualenv`.
This diff is collapsed.
Click to expand it.
tox.ini
+
5
−
0
View file @
6127c4b9
...
...
@@ -4,6 +4,11 @@ envlist = packaging, py37, py38, py39, py310, check_codestyle, check_isort
# we require tox>=2.3.2 for the fix to https://github.com/tox-dev/tox/issues/208
minversion
=
2.3.2
# the tox-venv plugin makes tox use python's built-in `venv` module rather than
# the legacy `virtualenv` tool. `virtualenv` embeds its own `pip`, `setuptools`,
# etc, and ends up being rather unreliable.
requires
=
tox-venv
[base]
deps
=
python-subunit
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment