Skip to content

Commit 6607144

Browse files
authored
Merge pull request #59 from kaisert/update-to-v0.4.25
Update to v0.4.25
2 parents d0a9efa + 06c55de commit 6607144

File tree

4 files changed

+20
-6
lines changed

4 files changed

+20
-6
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,14 @@ matrix:
160160
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.24
161161
- python: "3.6"
162162
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.24
163+
# solc 0.4.25
164+
- python: "3.4"
165+
env: TOX_POSARGS="-e py34" SOLC_VERSION=v0.4.25
166+
- python: "3.5"
167+
env: TOX_POSARGS="-e py35" SOLC_VERSION=v0.4.25
168+
- python: "3.6"
169+
env: TOX_POSARGS="-e py36" SOLC_VERSION=v0.4.25
170+
163171
cache:
164172
- pip: true
165173
before_install:

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,24 +198,25 @@ listed platforms.
198198
* `v0.4.22` (linux/osx)
199199
* `v0.4.23` (linux/osx)
200200
* `v0.4.24` (linux/osx)
201+
* `v0.4.25` (linux/osx)
201202

202203
Installation can be done via the command line:
203204

204205
```bash
205-
$ python -m solc.install v0.4.24
206+
$ python -m solc.install v0.4.25
206207
```
207208

208209
Or from python using the `install_solc` function.
209210

210211
```python
211212
>>> from solc import install_solc
212-
>>> install_solc('v0.4.24')
213+
>>> install_solc('v0.4.25')
213214
```
214215

215-
The installed binary can be found under your home directory. The `v0.4.24`
216-
binary would be located at `$HOME/.py-solc/solc-v0.4.24/bin/solc`. Older linux
216+
The installed binary can be found under your home directory. The `v0.4.25`
217+
binary would be located at `$HOME/.py-solc/solc-v0.4.25/bin/solc`. Older linux
217218
installs will also require that you set the environment variable
218-
`LD_LIBRARY_PATH=$HOME/.py-solc/solc-v0.4.24/bin`
219+
`LD_LIBRARY_PATH=$HOME/.py-solc/solc-v0.4.25/bin`
219220

220221

221222
## Import path remappings

solc/install.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
V0_4_22 = 'v0.4.22'
3232
V0_4_23 = 'v0.4.23'
3333
V0_4_24 = 'v0.4.24'
34+
V0_4_25 = 'v0.4.25'
3435

3536

3637
LINUX = 'linux'
@@ -412,6 +413,7 @@ def install_from_static_linux(identifier):
412413
install_v0_4_22_linux = functools.partial(install_solc_from_static_linux, V0_4_22)
413414
install_v0_4_23_linux = functools.partial(install_solc_from_static_linux, V0_4_23)
414415
install_v0_4_24_linux = functools.partial(install_solc_from_static_linux, V0_4_24)
416+
install_v0_4_25_linux = functools.partial(install_solc_from_static_linux, V0_4_25)
415417

416418

417419
def install_from_source(identifier):
@@ -439,6 +441,7 @@ def install_from_source(identifier):
439441
install_v0_4_22_osx = functools.partial(install_from_source, V0_4_22)
440442
install_v0_4_23_osx = functools.partial(install_from_source, V0_4_23)
441443
install_v0_4_24_osx = functools.partial(install_from_source, V0_4_24)
444+
install_v0_4_25_osx = functools.partial(install_from_source, V0_4_25)
442445

443446

444447
INSTALL_FUNCTIONS = {
@@ -463,6 +466,7 @@ def install_from_source(identifier):
463466
V0_4_22: install_v0_4_22_linux,
464467
V0_4_23: install_v0_4_23_linux,
465468
V0_4_24: install_v0_4_24_linux,
469+
V0_4_25: install_v0_4_25_linux,
466470
},
467471
OSX: {
468472
V0_4_8: install_v0_4_8_osx,
@@ -480,6 +484,7 @@ def install_from_source(identifier):
480484
V0_4_22: install_v0_4_22_osx,
481485
V0_4_23: install_v0_4_23_osx,
482486
V0_4_24: install_v0_4_24_osx,
487+
V0_4_25: install_v0_4_25_osx,
483488
}
484489
}
485490

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def solc_version():
2020

2121
@pytest.fixture()
2222
def supported_solc_version(solc_version):
23-
if solc_version not in Spec('>=0.4.1,<=0.4.17,!=0.4.10,!=0.4.3,!=0.4.4,!=0.4.5'):
23+
if solc_version not in Spec('>=0.4.1,<=0.4.25,!=0.4.10,!=0.4.3,!=0.4.4,!=0.4.5'):
2424
raise AssertionError("Unsupported compiler version: {0}".format(solc_version))
2525

2626
return solc_version

0 commit comments

Comments
 (0)