From 10caf68d8b22677ee89fd6709c3d6859b6c01376 Mon Sep 17 00:00:00 2001 From: Jacob Chapman <7908073+chapmanjacobd@users.noreply.github.com> Date: Wed, 29 Apr 2026 23:53:10 +0000 Subject: [PATCH 1/2] fix manifest reference --- MANIFEST.in | 2 +- pyproject.toml | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index f07c4d835..adb0712e9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,3 @@ -graft src/calibreweb +graft cps global-exclude __pycache__ global-exclude *.pyc diff --git a/pyproject.toml b/pyproject.toml index 67a7acca7..affab0593 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Operating System :: OS Independent", ] keywords = [ @@ -118,12 +119,14 @@ kobo = [ ] [project.scripts] -cps = "calibreweb:main" +cps = "cps.main:main" [tool.setuptools] include-package-data = true license-files = ["LICENSE"] -[tool.setuptools.dynamic] -version = {attr = "calibreweb.cps.constants.STABLE_VERSION"} +[tool.setuptools.packages.find] +include = ["cps*"] +[tool.setuptools.dynamic] +version = {attr = "cps.constants.STABLE_VERSION"} From 55cedba69368ed5765cd06a2ba2ebb21e8dbe8c7 Mon Sep 17 00:00:00 2001 From: Jacob Chapman <7908073+chapmanjacobd@users.noreply.github.com> Date: Thu, 30 Apr 2026 02:59:55 +0000 Subject: [PATCH 2/2] bump lxml to v6 for python 3.14 --- pyproject.toml | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index affab0593..e36643dbe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,7 @@ dependencies = [ "tornado>=6.4.2,<6.6", "Wand>=0.4.4,<0.8.0", "unidecode>=0.04.19,<1.5.0", - "lxml>=4.9.1,<5.4.0", + "lxml>=4.9.1,<6.1.0", "flask-wtf>=0.14.2,<1.3.0", "chardet>=3.0.0,<5.3.0", "netifaces-plus>=0.12.0,<0.13.0", diff --git a/requirements.txt b/requirements.txt index 8ac124e2a..d2aef8606 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,7 @@ SQLAlchemy>=1.3.0,<2.1.0 tornado>=6.4.2,<6.6 Wand>=0.4.4,<0.8.0 unidecode>=0.04.19,<1.5.0 -lxml>=4.9.1,<5.4.0 +lxml>=4.9.1,<6.1.0 flask-wtf>=0.14.2,<1.3.0 chardet>=3.0.0,<5.3.0 netifaces-plus>=0.12.0,<0.13.0