Skip to content

Commit

Permalink
CY-886: don't automatically upgrade wheels/setuptools on the new virt…
Browse files Browse the repository at this point in the history
…ualenv
  • Loading branch information
isaac-s committed Jun 26, 2019
1 parent 7af6799 commit 1a1db4d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions agent_packager/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def make_virtualenv(virtualenv_dir, python='/usr/bin/python'):
:param string virtualenv_dir: path of virtualenv to create
"""
lgr.debug('virtualenv_dir: {0}'.format(virtualenv_dir))
command = 'virtualenv -p {0} {1}'.format(python, virtualenv_dir)
command = 'virtualenv --no-download -p {0} {1}'.format(python, virtualenv_dir)

if sys.version_info[:2] == (2, 6):
# python 2.6 will fail when creating a virtualenv because it will
Expand All @@ -46,7 +46,7 @@ def make_virtualenv(virtualenv_dir, python='/usr/bin/python'):

p = run(command)
if not p.returncode == 0:
lgr.error('Could not create venv: {0}'.format(virtualenv_dir))
lgr.exception('Could not create venv: {0}'.format(virtualenv_dir))
sys.exit(codes.errors['could_not_create_virtualenv'])

if sys.version_info[:2] == (2, 6):
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ def read(*parts):

setup(
name='cloudify-agent-packager',
version='4.0.2',
version='4.0.3',
url='https://github.com/cloudify-cosmo/cloudify-agent-packager',
author='Gigaspaces',
author_email='[email protected]',
author='Cloudify',
author_email='[email protected]',
license='LICENSE',
platforms='All',
description='Creates Cloudify Agent Packages',
Expand Down

0 comments on commit 1a1db4d

Please sign in to comment.