https://pantsbuild.org/ logo
#general
Title
# general
a

adorable-engine-71736

01/24/2022, 1:53 PM
hi, just trying to update to
2.9.0
and im getting a dependency conflict with
docker-compose
over the pyyaml version i created a new venv to clarify the problem - and doing
Copy code
pip install pantsbuild.pants==2.9.0 docker-compose
results in
Copy code
ERROR: ResolutionImpossible: for help visit <https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies>
c

curved-television-6568

01/24/2022, 1:55 PM
how do you invoke pants? (i.e. why do you need pants in the same python env as docker-compose?)
a

adorable-engine-71736

01/24/2022, 1:55 PM
i just install it in my venv, perhaps the problem stems from not using the
./pants
script
c

curved-television-6568

01/24/2022, 1:56 PM
Ah, yes, using the
./pants
bootstrap script, you get a dedicated env for running pants, that doesn’t conflict with your projects dependencies.
👍 1
a

adorable-engine-71736

01/24/2022, 1:57 PM
ah, k - i guess thats a non-bug then, if im not following the recommended way to invoke
ill fix my invokation, and not raise ticket
(altho it was nice that it worked before)
thanks for help
c

curved-television-6568

01/24/2022, 1:58 PM
maybe it should.. 🤷 🙂
you’re welcome 😉
7 Views