Skip to content

Commit 4db2787

Browse files
committed
-
1 parent 8d3e6ed commit 4db2787

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
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.6.0, 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.1, 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

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.6.0'
48+
version = '0.6.1'
4949
# The full version, including alpha/beta/rc tags.
50-
release = '0.6.0'
50+
release = '0.6.1'
5151

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

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
### Confirming correct Python version: ########################################
1313
# #
14-
if sys.version_info[:2] <= (2, 5):
14+
if sys.version_info[:2] <= (2, 6):
1515
raise Exception(
16-
"You're using Python <= 2.5, but this package requires either Python "
16+
"You're using Python <= 2.6, but this package requires either Python "
1717
"2.7, or 3.3 or above, so you can't use it unless you upgrade your "
1818
"Python version."
1919
)
@@ -117,7 +117,7 @@ def get_packages():
117117
Present
118118
-------
119119
120-
Python Toolbox is at version 0.6.0, which is an alpha release. It's being used
120+
Python Toolbox is at version 0.6.1, which is an alpha release. It's being used
121121
in production every day, but backward compatibility isn't guaranteed yet.
122122
123123
Next tasks
@@ -147,7 +147,7 @@ def get_packages():
147147

148148
setuptools.setup(
149149
name='python_toolbox',
150-
version='0.6.0',
150+
version='0.6.1',
151151
requires=['setuptools'],
152152
test_suite='nose.collector',
153153
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, 6, 0)
19+
__version_info__ = python_toolbox.version_info.VersionInfo(0, 6, 1)
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
@@ -28,9 +28,9 @@ def test_on_locally_defined_class():
2828
# Testing for locally defined class:
2929

3030

31-
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
31+
if python_toolbox.__version_info__ <= (0, 6, 1, 'release'):
3232
raise nose.SkipTest("This test doesn't pass in `python_toolbox` "
33-
"version 0.6.0 and below, because `describe` :"
33+
"version 0.6.1 and below, because `describe` :"
3434
"doesn't support nested classes yet.")
3535

3636
result = describe(A.B)
@@ -248,9 +248,9 @@ def test_bad_module_name():
248248

249249
def test_function_in_something():
250250
'''Test `describe` doesn't fail when describing `{1: sum}`.'''
251-
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
251+
if python_toolbox.__version_info__ <= (0, 6, 1, 'release'):
252252
raise nose.SkipTest("This test doesn't pass in `python_toolbox`"
253-
"version 0.6.0 and below.")
253+
"version 0.6.1 and below.")
254254
assert describe({1: sum}) == '{1: sum}'
255255
assert describe((sum, sum, list, chr)) == '(sum, sum, list, chr)'
256256

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
@@ -85,7 +85,7 @@ def woohoo():
8585
self.assertEqual(state, [1, 42, 999])
8686

8787
def _create_contextmanager_attribs(self):
88-
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
88+
if python_toolbox.__version_info__ <= (0, 6, 1, 'release'):
8989
raise nose.SkipTest
9090
def attribs(**kw):
9191
def decorate(func):
@@ -107,7 +107,7 @@ def test_contextmanager_attribs(self):
107107
@unittest2.skipIf(hasattr(sys, 'flags') and sys.flags.optimize >= 2,
108108
"Docstrings are omitted with -O2 and above")
109109
def test_contextmanager_doc_attrib(self):
110-
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
110+
if python_toolbox.__version_info__ <= (0, 6, 1, 'release'):
111111
raise nose.SkipTest('Not sure what to do about this.')
112112
baz = self._create_contextmanager_attribs()
113113
self.assertEqual(baz.__doc__, "Whee!")
@@ -212,7 +212,7 @@ def method(self, a, b, c=None):
212212

213213

214214
def test_typo_enter(self):
215-
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
215+
if python_toolbox.__version_info__ <= (0, 6, 1, 'release'):
216216
raise nose.SkipTest
217217
class MyContextManager(ContextManager):
218218
def __unter__(self):
@@ -226,7 +226,7 @@ def __exit__(self, *exc):
226226

227227

228228
def test_typo_exit(self):
229-
if python_toolbox.__version_info__ <= (0, 6, 0, 'release'):
229+
if python_toolbox.__version_info__ <= (0, 6, 1, 'release'):
230230
raise nose.SkipTest
231231
class MyContextManager(ContextManager):
232232
def __enter__(self):

0 commit comments

Comments
 (0)