Skip to content

Commit 5e2a70e

Browse files
committed
-
1 parent 1ea5d46 commit 5e2a70e

File tree

7 files changed

+32
-21
lines changed

7 files changed

+32
-21
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.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.5.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

@@ -64,5 +64,5 @@ It's tested on both CPython and PyPy 2.0. (Which runs Python 2.7.)
6464

6565
# Current state #
6666

67-
The Python Toolbox is at version 0.5.0, 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.5.1, 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.0'
48+
version = '0.5.1'
4949
# The full version, including alpha/beta/rc tags.
50-
release = '0.5.0'
50+
release = '0.5.1'
5151

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

misc/IDE files/Wing/python_toolbox.wpr

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,20 @@
66
[project attributes]
77
debug.launch-configs = (1,
88
{'launch-OHU716PSo2P5T54y': ({},
9-
{'name': u'Launch Config 1',
10-
'pypath': ('custom',
11-
path([])),
12-
'runargs': ''})})
9+
{'buildcmd': ('default',
10+
None),
11+
'env': ('project',
12+
[u'']),
13+
'name': u'Launch Config 1',
14+
'pyexec': ('default',
15+
u''),
16+
'pypath': ('default',
17+
''),
18+
'pyrunargs': ('project',
19+
u''),
20+
'runargs': u'',
21+
'rundir': ('default',
22+
u'')})})
1323
proj.directory-list = [{'dirloc': loc('../../..'),
1424
'excludes': [u'nosetests.xml',
1525
u'garlicsim_wx/py2exe_dist',
@@ -24,8 +34,9 @@ proj.directory-list = [{'dirloc': loc('../../..'),
2434
'watch_for_changes': True}]
2535
proj.file-type = 'shared'
2636
proj.home-dir = loc('../../..')
27-
proj.launch-config = {loc('../../../run_tests.py'): ('custom',
28-
('',
37+
proj.launch-config = {loc('../../../../../../../../Python27/Scripts/_test_python_toolbox.py'): (''\
38+
'custom',
39+
(u'',
2940
'launch-OHU716PSo2P5T54y'))}
3041
testing.auto-test-file-specs = [('glob',
3142
'test_python_toolbox/test*.py')]

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, 0)
19+
__version_info__ = python_toolbox.version_info.VersionInfo(0, 5, 1)
2020
__version__ = __version_info__.version_text
2121

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def get_packages():
102102
Present
103103
-------
104104
105-
Python Toolbox is at version 0.5.0, which is an alpha release. It's being used in production every day, but backward compatibility isn't guaranteed yet.
105+
Python Toolbox is at version 0.5.1, which is an alpha release. It's being used in production every day, but backward compatibility isn't guaranteed yet.
106106
107107
Next tasks
108108
----------
@@ -132,7 +132,7 @@ def get_packages():
132132

133133
setuptools.setup(
134134
name='python_toolbox',
135-
version='0.5.0',
135+
version='0.5.1',
136136
requires=['distribute'],
137137
test_suite='nose.collector',
138138
install_requires=['distribute'],

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, 0, 'release'):
32+
if python_toolbox.__version_info__ <= (0, 5, 1, 'release'):
3333
raise nose.SkipTest("This test doesn't pass in `python_toolbox` "
34-
"version 0.5.0 and below, because `describe` :"
34+
"version 0.5.1 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, 0, 'release'):
252+
if python_toolbox.__version_info__ <= (0, 5, 1, 'release'):
253253
raise nose.SkipTest("This test doesn't pass in `python_toolbox`"
254-
"version 0.5.0 and below.")
254+
"version 0.5.1 and below.")
255255
assert describe({1: sum}) == '{1: sum}'
256256
assert describe((sum, sum, list, chr)) == '(sum, sum, list, chr)'
257257

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, 0, 'release'):
90+
if python_toolbox.__version_info__ <= (0, 5, 1, '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, 0, 'release'):
112+
if python_toolbox.__version_info__ <= (0, 5, 1, '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, 0, 'release'):
217+
if python_toolbox.__version_info__ <= (0, 5, 1, '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, 0, 'release'):
231+
if python_toolbox.__version_info__ <= (0, 5, 1, 'release'):
232232
raise nose.SkipTest
233233
class MyContextManager(ContextManager):
234234
def __enter__(self):

0 commit comments

Comments
 (0)