[Pytest-commit] commit/tox: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Feb 11 14:40:04 CET 2015


2 new commits in tox:

https://bitbucket.org/hpk42/tox/commits/dbcf84d3406d/
Changeset:   dbcf84d3406d
User:        juliankrause
Date:        2015-01-22 22:52:53+00:00
Summary:     Fix issue11: Add a skip_install option on a per-environment level.
Affected #:  3 files

diff -r 50f3b98fc65b951ab07e6b5e3fbd5a2fc9c48f2c -r dbcf84d3406df64ed03ec93b7dc923b251007a0d doc/config.txt
--- a/doc/config.txt
+++ b/doc/config.txt
@@ -252,6 +252,16 @@
 
     **default**: ``False``
 
+.. confval:: skip_install=BOOL
+
+    .. versionadded:: 1.9
+
+    Do not install the current package. This can be used when you need the
+    virtualenv management but do not want to install the current package
+    into that environment.
+    
+    **default**: ``False``
+
 
 Substitutions
 -------------

diff -r 50f3b98fc65b951ab07e6b5e3fbd5a2fc9c48f2c -r dbcf84d3406df64ed03ec93b7dc923b251007a0d tox/_cmdline.py
--- a/tox/_cmdline.py
+++ b/tox/_cmdline.py
@@ -448,7 +448,7 @@
             if self.setupenv(venv):
                 if venv.envconfig.develop:
                     self.developpkg(venv, self.config.setupdir)
-                elif self.config.skipsdist:
+                elif self.config.skipsdist or venv.envconfig.skip_install:
                     self.finishvenv(venv)
                 else:
                     self.installpkg(venv, sdist_path)

diff -r 50f3b98fc65b951ab07e6b5e3fbd5a2fc9c48f2c -r dbcf84d3406df64ed03ec93b7dc923b251007a0d tox/_config.py
--- a/tox/_config.py
+++ b/tox/_config.py
@@ -395,6 +395,8 @@
         vc.pip_pre = config.option.pre or reader.getbool(
             section, "pip_pre", False)
 
+        vc.skip_install = reader.getbool(section, "skip_install", False)
+
         return vc
 
     def _getenvdata(self, reader, toxsection):


https://bitbucket.org/hpk42/tox/commits/c620462d578e/
Changeset:   c620462d578e
User:        hpk42
Date:        2015-02-11 13:39:59+00:00
Summary:     Merged in juliankrause/tox (pull request #131)

Fix issue11: Add a skip_install option on a per-environment level.
Affected #:  3 files

diff -r 27b8bdcddd6a197ad600afac03a1e3fb61cc6a5b -r c620462d578e3c73e33bbbcbe8aa90005edf48d1 doc/config.txt
--- a/doc/config.txt
+++ b/doc/config.txt
@@ -252,6 +252,16 @@
 
     **default**: ``False``
 
+.. confval:: skip_install=BOOL
+
+    .. versionadded:: 1.9
+
+    Do not install the current package. This can be used when you need the
+    virtualenv management but do not want to install the current package
+    into that environment.
+    
+    **default**: ``False``
+
 
 Substitutions
 -------------

diff -r 27b8bdcddd6a197ad600afac03a1e3fb61cc6a5b -r c620462d578e3c73e33bbbcbe8aa90005edf48d1 tox/_cmdline.py
--- a/tox/_cmdline.py
+++ b/tox/_cmdline.py
@@ -474,7 +474,7 @@
             if self.setupenv(venv):
                 if venv.envconfig.develop:
                     self.developpkg(venv, self.config.setupdir)
-                elif self.config.skipsdist:
+                elif self.config.skipsdist or venv.envconfig.skip_install:
                     self.finishvenv(venv)
                 else:
                     self.installpkg(venv, sdist_path)

diff -r 27b8bdcddd6a197ad600afac03a1e3fb61cc6a5b -r c620462d578e3c73e33bbbcbe8aa90005edf48d1 tox/_config.py
--- a/tox/_config.py
+++ b/tox/_config.py
@@ -395,6 +395,8 @@
         vc.pip_pre = config.option.pre or reader.getbool(
             section, "pip_pre", False)
 
+        vc.skip_install = reader.getbool(section, "skip_install", False)
+
         return vc
 
     def _getenvdata(self, reader, toxsection):

Repository URL: https://bitbucket.org/hpk42/tox/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the pytest-commit mailing list