Skip to content

Commit d2be849

Browse files
committed
Merge branch 'release/v0.3.2'
2 parents db30f62 + 25f7828 commit d2be849

File tree

5 files changed

+18
-10
lines changed

5 files changed

+18
-10
lines changed

get-platformio.py

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

pioinstaller/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
import logging.config
1616

17-
VERSION = (0, 3, 1)
17+
VERSION = (0, 3, 2)
1818
__version__ = ".".join([str(s) for s in VERSION])
1919

2020
__title__ = "platformio-installer"

pioinstaller/python.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@
2727

2828

2929
PORTABLE_PYTHONS = {
30-
"windows_x86": "https://dl.bintray.com/platformio/dl-misc/"
31-
"python-portable-windows_x86-3.7.7.tar.gz",
32-
"windows_amd64": "https://dl.bintray.com/platformio/dl-misc/"
33-
"python-portable-windows_amd64-3.7.7.tar.gz",
30+
"windows_x86": (
31+
"https://github.com/platformio/platformio-core-installer/releases/download/"
32+
"v0.3.1/python-portable-windows_x86-3.7.7.tar.gz"
33+
),
34+
"windows_amd64": (
35+
"https://github.com/platformio/platformio-core-installer/releases/download/"
36+
"v0.3.1/python-portable-windows_amd64-3.7.7.tar.gz"
37+
),
3438
}
3539

3640

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"requests==2.23.0",
4040
"colorama==0.4.3",
4141
"semantic-version==2.8.5",
42-
"certifi==2020.04.05.1",
42+
"certifi==2020.04.05.2",
4343
# Misc
4444
"wheel==0.34.2",
4545
],

tests/test_core.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,19 @@ def test_install_pio_core(pio_installer_script, tmpdir, monkeypatch):
3434
assert subprocess.check_call([python_exe, "-m", "platformio", "--version"]) == 0
3535

3636
core_state_path = os.path.join(str(core_dir), "core-state.json")
37-
assert subprocess.check_call(
37+
assert (
38+
subprocess.check_call(
3839
[
3940
"python",
4041
pio_installer_script,
4142
"check",
4243
"core",
4344
"--dump-state=%s" % core_state_path,
44-
], stderr=subprocess.STDOUT
45-
) == 0
45+
],
46+
stderr=subprocess.STDOUT,
47+
)
48+
== 0
49+
)
4650
with open(core_state_path) as fp:
4751
json_info = json.load(fp)
4852
assert json_info.get("core_dir") == str(core_dir)

0 commit comments

Comments
 (0)