Skip to content

Commit a335766

Browse files
authored
Merge pull request #130 from arduino/dependabot/pip/semver-3.0.0
Bump semver from 2.13.0 to 3.0.0
2 parents 8fd8403 + cedce1f commit a335766

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

compilesketches/compilesketches.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1502,8 +1502,8 @@ def cli_json_key(self, command, original_key_name):
15021502
}
15031503

15041504
if (
1505-
not semver.VersionInfo.isvalid(version=self.cli_version)
1506-
or semver.compare(ver1=self.cli_version, ver2=final_original_interface_version) > 0
1505+
not semver.VersionInfo.is_valid(version=self.cli_version)
1506+
or semver.Version.parse(version=self.cli_version).compare(other=final_original_interface_version) > 0
15071507
) and (command in key_translation and original_key_name in key_translation[command]):
15081508
return key_translation[command][original_key_name]
15091509

poetry.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ python = "3.11.2"
1212
GitPython = "3.1.31"
1313
PyGithub = "1.58.1"
1414
PyYAML = "6.0"
15-
semver = "2.13.0"
15+
semver = "3.0.0"
1616

1717
[tool.poetry.group.dev.dependencies]
1818
black = "23.3.0"

0 commit comments

Comments
 (0)