crytic / solc-select

Manage and switch between Solidity compiler versions
GNU Affero General Public License v3.0
746 stars 99 forks source link

Automatically run `solc-select upgrade` on pip3 upgrades #65

Open 0xicingdeath opened 3 years ago

0xicingdeath commented 3 years ago

To get the most up-to-date solc-select version, users have to run pip install solc-select --upgrade.

With the recent changes in refactoring, if solc-select detects the old architecture, it will print an error message and ask a user to run solc-select upgrade. As a result, users need to run these two commands to update solc-select, which is clunky:

pip install solc-select --upgrade
solc-select upgrade 

Before releasing the refactor and Windows support, find a way to automatically run the solc-select upgrade command on installations so users only need to run the first pip command.

0xicingdeath commented 3 years ago

Adding prior-to-release tag – this should be implemented prior to Windows release going out