From 893835eb41c0442db852d44df679dd03a7be88b3 Mon Sep 17 00:00:00 2001 From: raimon Date: Tue, 23 Jul 2024 19:33:08 +0900 Subject: [PATCH 1/3] Change mainline Python version tested in Actions to 3.11 --- .github/workflows/python-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 3a16703..d8bf82e 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 @@ -38,7 +38,7 @@ jobs: mkdir -p .mypy_cache mypy --install-types --non-interactive . - name: Upload code coverage to Codecov - if: ${{ matrix.python-version==3.8 }} + if: ${{ matrix.python-version==3.11 }} uses: codecov/codecov-action@v4 with: files: ./coverage.xml From b008ff30659c21a11c13b6324d842828de840325 Mon Sep 17 00:00:00 2001 From: raimon Date: Tue, 23 Jul 2024 19:39:27 +0900 Subject: [PATCH 2/3] Python 3.8 support EOL clarified in metadata --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 60753ee..54af8eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "pip-licenses" description = "Dump the software license list of Python packages installed with pip." dynamic = ["version", "readme"] -requires-python = ">=3.8" +requires-python = ">=3.9" license = {text = "MIT"} authors = [ {name = "raimon", email = "raimon49@hotmail.com"} @@ -18,10 +18,10 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: System :: Systems Administration", "Topic :: System :: System Shells", "Typing :: Typed" From 048852bde7267d1f75afb536dd2e1b99e72b7cd7 Mon Sep 17 00:00:00 2001 From: raimon Date: Tue, 23 Jul 2024 19:45:52 +0900 Subject: [PATCH 3/3] Bump version to 5.0.0 --- CHANGELOG.md | 8 ++++++++ piplicenses.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68c3e67..a3d388f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ ## CHANGELOG +### 5.0.0 + +* Dropped support Python 3.8 +* Clarified support for Python 3.12 +* Migration pyproject.toml about this package +* Breaking changes + * Implicitly depends on tomli library since version 4.5.0 + ### 4.5.1 * Fixes "tomli" to be output only with `--with-system` option diff --git a/piplicenses.py b/piplicenses.py index a2bac6f..b2e09ef 100755 --- a/piplicenses.py +++ b/piplicenses.py @@ -57,7 +57,7 @@ open = open # allow monkey patching __pkgname__ = "pip-licenses" -__version__ = "4.5.1" +__version__ = "5.0.0" __summary__ = ( "Dump the software license list of Python packages installed with pip." )