question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How this project correlates with tox.

See original GitHub issue

I’m trying to get my head around this tool and understand its proper usecases.

In tox I can create many virtual environments and run my tests in different ways against multiple python versions. Is it possible with pipenv right now or maybe planned milestone in the future?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
matthijskooijmancommented, May 20, 2018

I explored this a bit, and the following works in my tox.ino:

[testenv]
# We must specify deps, in order to get tox to run the install_command
deps = pipenv
# Allow using sh from outside the virtualenv
whitelist_externals = sh
# Use sh to allow running multiple commands. First run pip to install
# pipenv (and any other dependencies), then run pipenv to install stuff
# from the pipfile. This passes a dummy argument to sh to fill $0 and
# the list of packages (from deps=) as $@.
install_command = sh -c 'pip install "$@" && pipenv install --ignore-pipfile --deploy --system --dev' dummy {packages}

commands = actual_test_command

Annoyingly it seems this only works in the actual test section, so all this stuff must be repeated for every test section. Also, this uses pipenv install, since sync does not support --system (#2227).

0reactions
kennethreitzcommented, Jan 30, 2017

When used, a virtualenv will still be created, but it wont’ be used for installation of packages.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TOX correlates with prognosis, immune infiltration, and T cells ...
In this study, we identified TOX is a prognosis‐related biomarker for multiple cancer types especially lung adenocarcinoma and correlate with ...
Read more >
TOX as a potential target for immunotherapy in lymphocytic ...
Moreover, based on the finding that TOX expression was negatively correlated with the effects of PD-1 immunotherapy [40], ...
Read more >
A split within the Tox project - LWN.net
Key developers from the Tox encrypted-chat project recently parted ... If anything, the correlation is that there's money in the picture and ......
Read more >
Higher TOX Genes Expression Is Associated With Poor ...
It has been reported that both TOX and TOX2 are correlated with CD8+ T cell exhaustion (25). In this study, we also found...
Read more >
KSPA: Kernel-based Structural and Pharmacological Analoging
In the actual study, each compound is measured by means of biological assays which results in pairs of compound-assay measurements, called the "project...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found