80 Commits

Author SHA1 Message Date
Kovid Goyal
f0649b2751
ZIP Output: Change the template engine used for HTML templating from templite to Mustache, for greater safety and performance. Note that this is a breaking change if you use custom templates with ZIP output. 2026-02-05 14:21:25 +05:30
Kovid Goyal
0305b65363
Bump dependencies for CVEs 2026-01-23 19:49:10 +05:30
Kovid Goyal
c713f58dd6
Bump py7zr for CVE 2026-01-19 19:04:01 +05:30
Kovid Goyal
469e093012
Bump version of py7zr for python 3.14 support 2026-01-15 10:47:41 +05:30
Kovid Goyal
e5274b862f
Move to using python stdlib zstd module
This requires python 3.14 which we are already using in the binary
builds. Linux distributors will need to update their python before
updating to calibre 9.
2026-01-15 06:30:50 +05:30
Kovid Goyal
9bfb182dc9
Update apsw in the hopes that it will fix the macOS CI crash 2025-12-30 16:06:34 +05:30
Kovid Goyal
2f0952ecd9
Bump minimum required python to 3.13
Needed for Queue.shutdown() which is much more elegant than putting a
sentinel value in the queue and in the case of FIFO queues much faster
as well. Python 3.13 is over two years old at this point.
2025-12-26 23:07:09 +05:30
Kovid Goyal
dff768705a
Beautifulsoup4 needs typing-extensions. Sigh. 2025-12-09 23:56:16 +05:30
Kovid Goyal
a5ebc701cf
Update all dependencies 2025-12-09 23:56:16 +05:30
dependabot[bot]
b2d51051c9
Bump fonttools from 4.47.0 to 4.61.0
Bumps [fonttools](https://github.com/fonttools/fonttools) from 4.47.0 to 4.61.0.
- [Release notes](https://github.com/fonttools/fonttools/releases)
- [Changelog](https://github.com/fonttools/fonttools/blob/main/NEWS.rst)
- [Commits](https://github.com/fonttools/fonttools/compare/4.47.0...4.61.0)

---
updated-dependencies:
- dependency-name: fonttools
  dependency-version: 4.61.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 19:57:23 +00:00
Kovid Goyal
59cee5b4df
Use a named local timezone for better display of historical dates in the local timezone
See #2133435 (Suggestion for timezone handling (linux example included))
2025-11-30 20:23:47 +05:30
Kovid Goyal
deed0b7e18
Brotli now need pkgconfig as a build time dep 2025-11-06 09:31:22 +05:30
Kovid Goyal
27b59b37a9
Bump dependency for CVE 2025-11-06 09:24:22 +05:30
un-pogaz
bf04a318bb f-string number format (manual)
ruff 'FURB116'
2025-10-11 17:21:25 +02:00
un-pogaz
f519b01231 if expr min/max (auto-fix)
ruff 'FURB136'
2025-10-11 17:21:25 +02:00
un-pogaz
f9d745f500 slice to remove prefix or suffix (auto-fix)
ruff 'FURB188'
2025-10-11 17:21:25 +02:00
un-pogaz
e428bb13ce refurbishing code (auto-fix)
ruff 'FURB'
2025-10-11 17:21:25 +02:00
un-pogaz
e37b4cd1ca Check async functions
ruff 'ASYNC'
2025-10-11 17:21:25 +02:00
un-pogaz
17327aa1b1 ... 2025-10-10 08:24:40 +02:00
un-pogaz
0dc4e67529 repeated equality comparison (auto-fix)
ruff 'PLR1714' --unsafe-fixes
2025-10-10 08:24:40 +02:00
un-pogaz
9ef0ef4a8b collapsible else if (auto-fix)
ruff 'PLR5501'
2025-10-10 08:24:40 +02:00
un-pogaz
69f1734e00 if min/max statement (auto-fix)
ruff 'PLR1730'
2025-10-10 08:24:40 +02:00
un-pogaz
74a5ca3321 unnecessary list index lookup (auto-fix)
ruff 'PLR1736'
2025-10-10 08:24:40 +02:00
un-pogaz
aecc99d7c1 unnecessary dict index lookup (auto-fix)
ruff 'PLR1733'
2025-10-10 08:24:40 +02:00
un-pogaz
935ef37059 sys.exit alias (manual)
ruff 'PLR1722'
2025-10-10 08:24:39 +02:00
un-pogaz
4a78990cc7 boolean chained comparison (auto-fix)
ruff 'PLR1716'
2025-10-10 08:24:39 +02:00
un-pogaz
516e5b55dc useless return (auto-fix)
ruff 'PLR1711'
2025-10-10 08:24:39 +02:00
un-pogaz
a2e4515353 manual from import (auto-fix)
ruff 'PLR0402'
2025-10-10 08:24:39 +02:00
un-pogaz
3d5883a162 dict index missing items (manual)
ruff 'PLC0206'
2025-10-10 08:24:39 +02:00
un-pogaz
3ff7ed6255 Pylint convention (auto-fix)
ruff 'PLC'
2025-10-10 08:24:39 +02:00
un-pogaz
53c2f34a4c redeclared assigned name (manual)
ruff 'PLW0127'
2025-10-10 08:24:39 +02:00
un-pogaz
ab210188b0 redeclared-assigned-name (manual)
ruff 'PLW0128'
2025-10-10 08:24:39 +02:00
un-pogaz
ce05e4993e bad staticmethod argument (manual)
ruff 'PLW0211'
2025-10-10 08:24:39 +02:00
un-pogaz
de8921a6ac Pylint warning (auto-fix)
ruff 'PLW'
2025-10-10 08:24:39 +02:00
un-pogaz
79ff8be26a Pylint error (manual)
ruff 'PLE'
2025-10-10 08:24:39 +02:00
Kovid Goyal
1b55a5bbc6
Bump more deps with CVEs 2025-09-23 13:14:11 +05:30
Kovid Goyal
ab8b2f234f
Bump deps with CVEs 2025-09-23 07:23:12 +05:30
Kovid Goyal
6da6d6192e
Bump version of lxml
Needed to rebuild it anyway because of the libxml2 version bump
2025-09-21 08:54:29 +05:30
un-pogaz
7ac8017524 fix pyproject.toml 2025-09-18 12:37:38 +02:00
Kovid Goyal
93f2261eda
Fix incorrect dep migration 2025-09-17 10:46:00 +05:30
Kovid Goyal
2dd12298fa
Bump some dependency versions that have security advisories 2025-09-16 22:35:24 +05:30
Kovid Goyal
c036356789
Move python dependencies into pyproject.toml
Integrates better with external tooling
2025-09-16 20:36:44 +05:30
Kovid Goyal
5ef384300d
Dont ignore removed ruff linting rule 2025-09-14 19:09:44 +05:30
un-pogaz
730ac72ee8 pep8: fix bare except
ruff 'E722'
2025-07-16 08:55:16 +02:00
un-pogaz
774b9de832 improve pyproject.toml 2025-04-12 11:03:27 +02:00
un-pogaz
a92a0baf2e add codespell.exclude 2025-03-25 09:30:01 +01:00
un-pogaz
65129f5abf improve codespell options 2025-03-25 09:30:01 +01:00
un-pogaz
a08f63e332 revert "let's <> lets" 2025-03-23 19:29:08 +01:00
un-pogaz
a6b17efea9 PR suggestion 2025-03-23 19:17:05 +01:00
un-pogaz
b0d58ade70 add 'code' dictionary to codespell setting 2025-03-23 16:02:05 +01:00