Skip to content

Commit e55403f

Browse files
committed
2022. fix #18
1 parent 54063d1 commit e55403f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
All major and minor version changes will be documented in this file. Details of
44
patch-level version changes can be found in [commit messages](../../commits/master).
55

6-
## 2021.5.1 - 2021/10/18
6+
## 2022 - 2022/01/14
7+
8+
- Fix https://github.com/FHPythonUtils/LicenseCheck/issues/18
9+
10+
## 2021.5.2 - 2021/10/18
711

812
- Compatible with pip 21.3
913
- Code quality improvements

licensecheck/packageinfo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def getPackagesFromLocal(requirements: list[str]) -> list[PackageInfo]:
4242
pkgInfo.append(
4343
{
4444
"name": pkg.canonical_name,
45-
"version": pkg.version,
45+
"version": str(pkg.version),
4646
"namever": str(pkg),
4747
"home_page": homePage,
4848
"author": author,

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "licensecheck"
3-
version = "2021.5.2"
3+
version = "2022"
44
license = "mit"
55
description = "Output the licenses used by dependencies and check if these are compatible with the project license"
66
authors = ["FredHappyface"]

0 commit comments

Comments
 (0)