I’ve been using Circle CI for over a year to deploy from my repo at BitBucket to AWS Elastic Beanstalk. This morning, the same command has failed and I’ve got no idea why. Here is the error:
$ eb deploy --profile default
Traceback (most recent call last):
File "/opt/circleci/.pyenv/versions/2.7.11/bin/eb", line 6, in <module>
from pkg_resources import load_entry_point
File "/opt/circleci/python/2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3095, in <module>
@_call_aside
File "/opt/circleci/python/2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3079, in _call_aside
f(*args, **kwargs)
File "/opt/circleci/python/2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3108, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/opt/circleci/python/2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 572, in _build_master
return cls._build_from_requirements(__requires__)
File "/opt/circleci/python/2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 585, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/opt/circleci/python/2.7.11/lib/python2.7/site-packages/pkg_resources/__init__.py", line 779, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (PyYAML 4.1 (/opt/circleci/python/2.7.11/lib/python2.7/site-packages), Requirement.parse('PyYAML<4,>=3.10'), set(['docker-compose']))
eb deploy --profile default returned exit code 1
Action failed: eb deploy --profile default
This is my circle.yml
file:
dependencies:
pre:
- pip install awsebcli
test:
override:
- "true"
deployment:
production:
branch: master
commands:
- eb deploy --profile default
Did anything within Circle CI change that is causing this very error to happen?
I really appreciate any insights on this topic.
Thanks!