Skip to content

Commit 2d4b7d8

Browse files
committed
-
1 parent 12898be commit 2d4b7d8

File tree

9 files changed

+24
-24
lines changed

9 files changed

+24
-24
lines changed

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Please keep in mind that Python Toolbox is still in alpha stage, and that backwa
3434

3535
## Present ##
3636

37-
Python Toolbox is at version 0.5.2, which is an alpha release. It's being used in production every day, but backward compatibility isn't guaranteed yet.
37+
Python Toolbox is at version 0.6.0, which is an alpha release. It's being used in production every day, but backward compatibility isn't guaranteed yet.
3838

3939
## Next tasks ##
4040

@@ -64,5 +64,5 @@ It's tested on both CPython and PyPy 2.1.
6464

6565
# Current state #
6666

67-
The Python Toolbox is at version 0.5.2, which is an alpha release. At this experimental stage of the project, backward compatibility will _not_ be maintained.
67+
The Python Toolbox is at version 0.6.0, which is an alpha release. At this experimental stage of the project, backward compatibility will _not_ be maintained.
6868

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
# built documents.
4646
#
4747
# The short X.Y version.
48-
version = '0.5.2'
48+
version = '0.6.0'
4949
# The full version, including alpha/beta/rc tags.
50-
release = '0.5.2'
50+
release = '0.6.0'
5151

5252
# The language for content autogenerated by Sphinx. Refer to documentation
5353
# for a list of supported languages.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def get_packages():
105105
Present
106106
-------
107107
108-
Python Toolbox is at version 0.5.2, which is an alpha release. It's being used in production every day, but backward compatibility isn't guaranteed yet.
108+
Python Toolbox is at version 0.6.0, which is an alpha release. It's being used in production every day, but backward compatibility isn't guaranteed yet.
109109
110110
Next tasks
111111
----------
@@ -136,7 +136,7 @@ def get_packages():
136136

137137
setuptools.setup(
138138
name='python_toolbox',
139-
version='0.5.2',
139+
version='0.6.0',
140140
requires=['setuptools'],
141141
test_suite='nose.collector',
142142
install_requires=['setuptools'],

source_py2/python_toolbox/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
import python_toolbox.monkeypatch_copy_reg
1717
import python_toolbox.monkeypatch_envelopes
1818

19-
__version_info__ = python_toolbox.version_info.VersionInfo(0, 5, 2)
19+
__version_info__ = python_toolbox.version_info.VersionInfo(0, 6, 0)
2020
__version__ = __version_info__.version_text
2121

source_py2/test_python_toolbox/test_address_tools/test_describe.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ def test_on_locally_defined_class():
2929
# Testing for locally defined class:
3030

3131

32-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
32+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
3333
raise nose.SkipTest("This test doesn't pass in `python_toolbox` "
34-
"version 0.5.2 and below, because `describe` :"
34+
"version 0.6.0 and below, because `describe` :"
3535
"doesn't support nested classes yet.")
3636

3737
result = describe(A.B)
@@ -249,9 +249,9 @@ def test_bad_module_name():
249249

250250
def test_function_in_something():
251251
'''Test `describe` doesn't fail when describing `{1: sum}`.'''
252-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
252+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
253253
raise nose.SkipTest("This test doesn't pass in `python_toolbox`"
254-
"version 0.5.2 and below.")
254+
"version 0.6.0 and below.")
255255
assert describe({1: sum}) == '{1: sum}'
256256
assert describe((sum, sum, list, chr)) == '(sum, sum, list, chr)'
257257

source_py2/test_python_toolbox/test_context_management/test_external.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def woohoo():
8787
self.assertEqual(state, [1, 42, 999])
8888

8989
def _create_contextmanager_attribs(self):
90-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
90+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
9191
raise nose.SkipTest
9292
def attribs(**kw):
9393
def decorate(func):
@@ -109,7 +109,7 @@ def test_contextmanager_attribs(self):
109109
@unittest2.skipIf(hasattr(sys, 'flags') and sys.flags.optimize >= 2,
110110
"Docstrings are omitted with -O2 and above")
111111
def test_contextmanager_doc_attrib(self):
112-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
112+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
113113
raise nose.SkipTest('Not sure what to do about this.')
114114
baz = self._create_contextmanager_attribs()
115115
self.assertEqual(baz.__doc__, "Whee!")
@@ -214,7 +214,7 @@ def method(self, a, b, c=None):
214214

215215

216216
def test_typo_enter(self):
217-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
217+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
218218
raise nose.SkipTest
219219
class MyContextManager(ContextManager):
220220
def __unter__(self):
@@ -228,7 +228,7 @@ def __exit__(self, *exc):
228228

229229

230230
def test_typo_exit(self):
231-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
231+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
232232
raise nose.SkipTest
233233
class MyContextManager(ContextManager):
234234
def __enter__(self):

source_py3/python_toolbox/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
import python_toolbox.monkeypatch_copy_reg
1717
import python_toolbox.monkeypatch_envelopes
1818

19-
__version_info__ = python_toolbox.version_info.VersionInfo(0, 5, 2)
19+
__version_info__ = python_toolbox.version_info.VersionInfo(0, 6, 0)
2020
__version__ = __version_info__.version_text
2121

source_py3/test_python_toolbox/test_address_tools/test_describe.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ def test_on_locally_defined_class():
2929
# Testing for locally defined class:
3030

3131

32-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
32+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
3333
raise nose.SkipTest("This test doesn't pass in `python_toolbox` "
34-
"version 0.5.2 and below, because `describe` :"
34+
"version 0.6.0 and below, because `describe` :"
3535
"doesn't support nested classes yet.")
3636

3737
result = describe(A.B)
@@ -249,9 +249,9 @@ def test_bad_module_name():
249249

250250
def test_function_in_something():
251251
'''Test `describe` doesn't fail when describing `{1: sum}`.'''
252-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
252+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
253253
raise nose.SkipTest("This test doesn't pass in `python_toolbox`"
254-
"version 0.5.2 and below.")
254+
"version 0.6.0 and below.")
255255
assert describe({1: sum}) == '{1: sum}'
256256
assert describe((sum, sum, list, chr)) == '(sum, sum, list, chr)'
257257

source_py3/test_python_toolbox/test_context_management/test_external.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def woohoo():
8787
self.assertEqual(state, [1, 42, 999])
8888

8989
def _create_contextmanager_attribs(self):
90-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
90+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
9191
raise nose.SkipTest
9292
def attribs(**kw):
9393
def decorate(func):
@@ -109,7 +109,7 @@ def test_contextmanager_attribs(self):
109109
@unittest2.skipIf(hasattr(sys, 'flags') and sys.flags.optimize >= 2,
110110
"Docstrings are omitted with -O2 and above")
111111
def test_contextmanager_doc_attrib(self):
112-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
112+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
113113
raise nose.SkipTest('Not sure what to do about this.')
114114
baz = self._create_contextmanager_attribs()
115115
self.assertEqual(baz.__doc__, "Whee!")
@@ -214,7 +214,7 @@ def method(self, a, b, c=None):
214214

215215

216216
def test_typo_enter(self):
217-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
217+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
218218
raise nose.SkipTest
219219
class MyContextManager(ContextManager):
220220
def __unter__(self):
@@ -228,7 +228,7 @@ def __exit__(self, *exc):
228228

229229

230230
def test_typo_exit(self):
231-
if python_toolbox.__version_info__ <= (0, 5, 2, 'release'):
231+
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
232232
raise nose.SkipTest
233233
class MyContextManager(ContextManager):
234234
def __enter__(self):

0 commit comments

Comments
 (0)