You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using ecs-deploy in Azure DevOps and this morning our deploy pipeline crashed with an error No module named 'pkg_resources'.
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.12.0/x64/bin/ecs", line 5, in <module>
from ecs_deploy.cli import ecs
File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/ecs_deploy/cli.py", line 12, in <module>
from ecs_deploy.ecs import DeployAction, ScaleAction, RunAction, EcsClient, DiffAction, \
File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/ecs_deploy/ecs.py", line 12, in <module>
from dictdiffer import diff
File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/dictdiffer/__init__.py", line 15, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
As a workaround we manually install setuptools, but I guess that shouldn't be required to use ecs-deploy?
I'm not well-versed in the python ecosystem, but as far as I can tell, the dependency on pkg_resources comes from Dictdiffer.
Its dependency on pkg_resources was removed in inveniosoftware/dictdiffer#139 and released in v0.9.0
I see that ecs-deploy explicitly depends on v0.8.0 which was the newest available at the time of its inclusion in ecs-deploy.
Fast-forwarding to today, would it be possible (perhaps even desirable) to bump ecs-deploy's dependency on dictdiffer to 0.9.0?
In case you're interested in what changed with our dependencies, here's the diff in the resolved modules between the last successful run and the first failing one.
I'm using
ecs-deploy
in Azure DevOps and this morning our deploy pipeline crashed with an errorNo module named 'pkg_resources'
.As a workaround we manually install
setuptools
, but I guess that shouldn't be required to useecs-deploy
?I'm not well-versed in the python ecosystem, but as far as I can tell, the dependency on
pkg_resources
comes from Dictdiffer.Its dependency on
pkg_resources
was removed in inveniosoftware/dictdiffer#139 and released in v0.9.0I see that
ecs-deploy
explicitly depends on v0.8.0 which was the newest available at the time of its inclusion inecs-deploy
.ecs-deploy/setup.py
Line 21 in 79812c7
Fast-forwarding to today, would it be possible (perhaps even desirable) to bump
ecs-deploy
's dependency ondictdiffer
to 0.9.0?In case you're interested in what changed with our dependencies, here's the diff in the resolved modules between the last successful run and the first failing one.
more log
The text was updated successfully, but these errors were encountered: