Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable docker installation to fix macos unit test #2342

Closed
wants to merge 1 commit into from

Conversation

xingyaoww
Copy link
Collaborator

@xingyaoww xingyaoww commented Jun 9, 2024

This PR attempt to fix errors when running MacOS unit test due to uninstalled docker:

../../../Library/Caches/pypoetry/virtualenvs/opendevin-0JG2Ceig-py3.11/lib/python3.11/site-packages/docker/api/client.py:207: in __init__
    self._version = self._retrieve_server_version()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <docker.api.client.APIClient object at 0x1528d48d0>

    def _retrieve_server_version(self):
        try:
            return self.version(api_version=False)["ApiVersion"]
        except KeyError as ke:
            raise DockerException(
                'Invalid response from docker daemon: key "ApiVersion"'
                ' is missing.'
            ) from ke
        except Exception as e:
>           raise DockerException(
                f'Error while fetching server API version: {e}'
            ) from e
E           docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

../../../Library/Caches/pypoetry/virtualenvs/opendevin-0JG2Ceig-py3.11/lib/python3.11/site-packages/docker/api/client.py:230: DockerException

@xingyaoww
Copy link
Collaborator Author

Closed due to the merge of #2331

@xingyaoww xingyaoww closed this Jun 9, 2024
@xingyaoww xingyaoww deleted the xw/fix-macos-unittest branch June 9, 2024 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant