[Pytest-commit] commit/tox: hpk42: always unset PYTHONDONTWRITEBYTE because newer setuptools doesn't like it

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Jul 9 13:40:10 CEST 2013


1 new commit in tox:

https://bitbucket.org/hpk42/tox/commits/63d37ba9cc8b/
Changeset:   63d37ba9cc8b
User:        hpk42
Date:        2013-07-09 13:40:04
Summary:     always unset PYTHONDONTWRITEBYTE because newer setuptools doesn't like it
Affected #:  6 files

diff -r 7be299d36432aab33fd7f7ffc0ee5dfd5df6dbf8 -r 63d37ba9cc8babe926e45f9e8294841148b0451b CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,8 @@
+1.5.1.dev
+-----------------
+
+- always unset PYTHONDONTWRITEBYTE because newer setuptools doesn't like it
+
 1.5.0
 -----------------
 

diff -r 7be299d36432aab33fd7f7ffc0ee5dfd5df6dbf8 -r 63d37ba9cc8babe926e45f9e8294841148b0451b doc/index.txt
--- a/doc/index.txt
+++ b/doc/index.txt
@@ -1,7 +1,8 @@
 Welcome to the tox automation project
 ===============================================
 
-.. note:: Upcoming: `professional testing with pytest and tox <http://www.python-academy.com/courses/specialtopics/python_course_testing.html>`_ , 24th-26th June 2013, Leipzig.
+.. 
+    Upcoming: `professional testing with pytest and tox <http://www.python-academy.com/courses/specialtopics/python_course_testing.html>`_ , 24th-26th June 2013, Leipzig.
 
 vision: standardize testing in Python
 ---------------------------------------------

diff -r 7be299d36432aab33fd7f7ffc0ee5dfd5df6dbf8 -r 63d37ba9cc8babe926e45f9e8294841148b0451b setup.py
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@
         description='virtualenv-based automation of test activities',
         long_description=open("README.rst").read(),
         url='http://tox.testrun.org/',
-        version='1.5.0',
+        version='1.5.1.dev1',
         license='http://opensource.org/licenses/MIT',
         platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
         author='holger krekel',

diff -r 7be299d36432aab33fd7f7ffc0ee5dfd5df6dbf8 -r 63d37ba9cc8babe926e45f9e8294841148b0451b tox/__init__.py
--- a/tox/__init__.py
+++ b/tox/__init__.py
@@ -1,5 +1,5 @@
 #
-__version__ = '1.5.0'
+__version__ = '1.5.1.dev1'
 
 class exception:
     class Error(Exception):

diff -r 7be299d36432aab33fd7f7ffc0ee5dfd5df6dbf8 -r 63d37ba9cc8babe926e45f9e8294841148b0451b tox/_venv.py
--- a/tox/_venv.py
+++ b/tox/_venv.py
@@ -301,10 +301,11 @@
 
     def _pcall(self, args, venv=True, cwd=None, extraenv={},
             action=None, redirect=True):
-        try:
-            del os.environ['VIRTUALENV_PYTHON']
-        except KeyError:
-            pass
+        for name in ("VIRTUALENV_PYTHON", "PYTHONDONTWRITEBYTECODE"):
+            try:
+                del os.environ[name]
+            except KeyError:
+                pass
         assert cwd
         cwd.ensure(dir=1)
         old = self.patchPATH()

diff -r 7be299d36432aab33fd7f7ffc0ee5dfd5df6dbf8 -r 63d37ba9cc8babe926e45f9e8294841148b0451b toxbootstrap.py
--- a/toxbootstrap.py
+++ b/toxbootstrap.py
@@ -58,7 +58,7 @@
 
 """
 
-__version__ = '1.5.0'
+__version__ = '1.5.1.dev1'
 
 import sys
 import os

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