Skip to content

Commit 4c4ae57

Browse files
committed
Merge branch 'release/v1.0.4'
2 parents 2a29490 + 44383b0 commit 4c4ae57

File tree

5 files changed

+11
-9
lines changed

5 files changed

+11
-9
lines changed

.pylintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ disable=
1515
arguments-differ,
1616
useless-object-inheritance,
1717
super-with-arguments,
18-
raise-missing-from
18+
raise-missing-from,
19+
consider-using-f-string,
20+
unspecified-encoding

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 = (1, 0, 3)
17+
VERSION = (1, 0, 4)
1818
__version__ = ".".join([str(s) for s in VERSION])
1919

2020
__title__ = "platformio-installer"

pioinstaller/python.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,13 @@ def get_portable_python_url():
103103
for version in result["versions"]
104104
if is_version_system_compatible(version, systype)
105105
]
106-
best_version = None
106+
best_version = {}
107107
for version in versions:
108108
if not best_version or semantic_version.Version(
109-
version.name
110-
) > semantic_version.Version(best_version.name):
109+
version["name"]
110+
) > semantic_version.Version(best_version["name"]):
111111
best_version = version
112-
for item in (best_version or {}).get("files", []):
112+
for item in best_version.get("files", []):
113113
if systype in item["system"]:
114114
return item["download_url"]
115115
return None

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
license=__license__,
3636
install_requires=[
3737
# Core
38-
"click==8.0.1",
38+
"click==8.0.3",
3939
"requests==2.26.0",
4040
"colorama==0.4.4",
4141
"semantic-version==2.8.5",
42-
"certifi==2021.5.30",
42+
"certifi==2021.10.8",
4343
# Misc
4444
"wheel==0.37.0",
4545
],

0 commit comments

Comments
 (0)