Skip to content

Commit d258c86

Browse files
committed
Switch from pip-licenses to pip-licenses-cli
1 parent bff7d33 commit d258c86

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## v1.10.0 | TBD
44

5+
- Switched from `pip-licenses` to `pip-licenses-cli` since the former doesn't seem to be maintained anymore and is falling behind on compatibility. See https://github.com/raimon49/pip-licenses/issues/227. The matching `pip_licenses_version` option has been renamed to `pip_licenses_cli_version`.
56
- Dropped support for Conan v1.
67

78
## v1.9.1 | 2024-06-17

conanfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ class EmbeddedPython(ConanFile):
2020
options = {
2121
"packages": [None, "ANY"],
2222
"pip_version": ["ANY"],
23-
"pip_licenses_version": ["ANY"],
23+
"pip_licenses_cli_version": ["ANY"],
2424
"setuptools_version": ["ANY"],
2525
"wheel_version": ["ANY"],
2626
}
2727
default_options = {
2828
"packages": None,
2929
"pip_version": "24.0",
30-
"pip_licenses_version": "4.4.0",
30+
"pip_licenses_cli_version": "1.4.0",
3131
"setuptools_version": "69.5.1",
3232
"wheel_version": "0.43.0",
3333
}
@@ -139,7 +139,7 @@ def _build_bootstrap(self):
139139
f"pip=={self.options.pip_version}",
140140
f"setuptools=={self.options.setuptools_version}",
141141
f"wheel=={self.options.wheel_version}",
142-
f"pip-licenses=={self.options.pip_licenses_version}",
142+
f"pip-licenses-cli=={self.options.pip_licenses_cli_version}",
143143
]
144144
options = "--no-warn-script-location --upgrade"
145145
self._run_bootstrap_py(f"-m pip install {options} {' '.join(specs)}")

0 commit comments

Comments
 (0)