Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.10", "3.11", "3.12", "3.13" ]
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
Expand All @@ -28,9 +28,9 @@ jobs:
name: Define a cache for the virtual environment based on the dependencies lock file
with:
path: ./.venv
key: venv-${{ hashFiles('uv.lock') }}
key: venv-${{ matrix.python-version }}-${{ hashFiles('uv.lock') }}
- name: Install the project dependencies
run: uv sync --extra dev
run: uv sync --extra dev --python ${{ matrix.python-version }}
- name: Install pyright
run: uv tool install pyright
- name: Run type checking
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

# Released

## 5.3.0 - 27/06/2026

### Added

- Support for Python 3.14 (added to the CI tests).

### Security

- Bumped minimum versions of `pillow` (>=12.2.0) and `requests` (>=2.33.0) to pull in
fixes for known CVEs, and upgraded all locked dependencies to non-vulnerable versions.

## 5.2.0 - 27/06/2026

### Fixed
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pylette"
version = "5.2.0"
version = "5.3.0"
description = "A Python library for extracting color palettes from images."
authors = [
{name = "Ivar Stangeby"}
Expand All @@ -17,13 +17,14 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed"
]
dependencies = [
"numpy>=1.26.4",
"opencv-python>=4.11.0.86",
"pillow>=9.3",
"requests>=2.32.3",
"pillow>=12.2.0",
"requests>=2.33.0",
"scikit-learn>=1.2",
"typer>=0.12.5",
"typing-extensions>=4.4.0",
Expand All @@ -45,7 +46,7 @@ packages = ["Pylette"]
[project.optional-dependencies]
dev = [
"pre-commit>=3.7.1",
"pytest>=8.2.2",
"pytest>=9.0.3",
"opencv-python>=4.10.0.84",
"mkdocs[python]>=1.6.0",
"mkdocs-material>=9.5.27",
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
def test_cli_no_input_is_error():
result = runner.invoke(pylette_app, [])
assert result.exit_code == 2
assert "Usage: " in result.stderr
assert "Usage: " in result.output

result_help = runner.invoke(pylette_app, ["--help"])
assert result_help.exit_code == 0
Expand Down
Loading