Skip to content

Commit

Permalink
Merge branch 'release/0.4.8'
Browse files Browse the repository at this point in the history
  • Loading branch information
flupke committed May 6, 2015
2 parents 84c6864 + c161d2e commit 9997560
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion freezerequirements/utils.py
Expand Up @@ -208,7 +208,13 @@ def build_wheel(pip, source_archive):
Return the wheel package filename.
'''
wheel_dir = create_work_dir()
pip.wheel('--no-deps', source_archive, wheel_dir=wheel_dir)

# On newer versions of pip, we get a traceback when running "pip wheel" on
# unittest2, we need to ignore the error to trigger the workaround below.
try:
pip.wheel('--no-deps', source_archive, wheel_dir=wheel_dir)
except sh.ErrorReturnCode:
pass

# "pip wheel" fails on unittest2 because they use a stupid custom class
# instead of a string for the version number in setup.py; pip does not set
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -7,7 +7,7 @@
NEWS = open(os.path.join(here, 'NEWS.txt')).read()


version = '0.4.7'
version = '0.4.8'

install_requires = [
'click',
Expand Down

0 comments on commit 9997560

Please sign in to comment.