thoughtbot / parity

Shell commands for development, staging, and production parity for Heroku apps
https://thoughtbot.com
MIT License
889 stars 57 forks source link

How to install parity without upgrading postgresql package? #195

Closed vfonic closed 2 years ago

vfonic commented 2 years ago

I have postgresql 13.3 installed via Homebrew. It works great and I have some other packages (postgis) that have postgresql as its dependency. I also have several databases that I don't want to mess up.

I want to install parity and have it use current postgresql 13.3. I don't want to upgrade postgresql just so I can install parity.

Please note that I had parity installed earlier today and it was working with current postgresql 13.3 just fine.

How can I install parity, without upgrading postgresql package? Thanks!

What command did you execute?

brew install parity

What did you expect to happen?

It install parity and uses existing (homebrew installed) postgreql package.

What actually happened?

I got the following error:

Error: You must brew unpin postgresql as installing thoughtbot/formulae/parity requires the latest version of pinned dependencies

Some information about your installation

vfonic commented 2 years ago

Got it, this works:

brew install thoughtbot/formulae/parity --ignore-dependencies
geoffharcourt commented 2 years ago

It might be time to stop making PG a dependency, there's a lot of value in parity IMO even if you don't use the DB features.