Skip to content

Commit

Permalink
Merge pull request #206 from raimon49/release-with-pyproject.toml
Browse files Browse the repository at this point in the history
Release with pyproject.toml
  • Loading branch information
raimon49 authored Jul 23, 2024
2 parents 63eb778 + 048852b commit 34a2c38
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion piplicenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand All @@ -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"
Expand Down

0 comments on commit 34a2c38

Please sign in to comment.