py-solc-x
py-solc-x copied to clipboard
Python wrapper and version management tool for the solc Solidity compiler.
### Environment information * `py-solc-x` Version: 1.1.1 * `solc` Version: attempting to install latest (0.8.15) * Python Version: 3.10.5 * OS: macOS 12.4 ### What was wrong? Installed py-solc-x and...
### What I did Starting with solc v0.8.10, running `solc --help` gives a return value of `0`. It was previously `1`. I added version checking to expect the correct value....
### Overview It seems that `solcx` is tied to the platform it is running on, meaning that it will load and install binaries for the current platform. For cross-platform use,...
### What I did Modified the parsing of the pragma string in order to - remove leading zeros that are accepted by solc but are not accepted by semantic_version -...
### Environment information * `py-solc-x` Version: x.x.x * `solc` Version: x.x.x * Python Version: x.x.x * OS: osx/linux/win ### What was wrong? Please include information like: * what command you...
### Overview Currently, `solc.install.install_solc_pragma(pragma_string)` installs the newest available Solidity version that matches the given pragma. In some situations, it is preferable to use the *lowest* matching version instead. First, it...
### Environment information * `py-solc-x` Version: 1.1.1 * Python Version: 3.6.9, 3.8.0 * OS: linux ### What was wrong? The Solidity compiler accepts pragma strings like `^0.5.00;` (double zero), while...
### Environment information * `py-solc-x` Version: 1.1.1 * `solc` Version: irrelevant * Python Version: 3.8.0 * OS: linux ### What was wrong? Some contracts out there contain sequences of contraints,...
`os.rename` crashes in certain scenarios (just happened to me), see the [python docs](https://docs.python.org/3/library/os.html#os.rename). [shutil.move](https://docs.python.org/3/library/shutil.html#shutil.move) handles these cases better, also see this question on [stackoverflow](https://stackoverflow.com/questions/21116510/python-oserror-winerror-17-the-system-cannot-move-the-file-to-a-different-d). ### What I did Replaced `os.rename`...
I'm aware that the new Mac M1 chips have created complexity in terms of testing and building but I was wondering if there was a roadmap to make the module...