Skip to content

Commit

Permalink
Use auto version
Browse files Browse the repository at this point in the history
  • Loading branch information
lstephen committed Oct 11, 2017
1 parent 93c9f3a commit 9924b2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions construi/target.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
from compose.cli.docker_client import docker_client
from compose.service import ConvergenceStrategy

from docker.constants import MINIMUM_DOCKER_API_VERSION

import dockerpty
import sys
import os
Expand All @@ -23,8 +21,7 @@ def __init__(self, config):
self.config = config
self.project = Project.from_config(
"construi_%s" % self.config.construi['project_name'],
config.compose,
docker_client(os.environ, version=MINIMUM_DOCKER_API_VERSION))
config.compose, docker_client(os.environ, version='auto'))

@property
def before(self):
Expand Down
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ def run(self):


requires = {
'install': [
'PyYAML == 3.11', 'docker == 2.5.1', 'docker-compose == 1.11.2',
'six == 1.10.0'
],
'install': ['PyYAML == 3.11', 'docker-compose == 1.11.2', 'six == 1.10.0'],
'setup': ['flake8 == 3.0.4', 'pytest-runner == 2.6.2', 'yapf == 0.16.1'],
'tests': ['pytest == 2.8.5', 'pytest-cov == 2.2.0']
}
Expand Down

0 comments on commit 9924b2b

Please sign in to comment.