James R. Barlow
3c4b099cb1
Don't try to install dev dependencies in build
2024-12-08 14:03:04 -08:00
James R. Barlow
15df9c370c
Update notes
2024-12-08 12:20:40 -08:00
James R. Barlow
a659f83d67
Remove invalid hyperlink annotations to satisfy Ghostscript 10.x during PDF/A conversion
...
Closes #1425
2024-11-16 19:02:10 -08:00
James R. Barlow
b9dd0a5e3c
Use hatchling and hatch-vcs as build backend
2024-08-31 01:08:23 -07:00
James R. Barlow
6949ad2c5d
pyproject: link changelog
2024-08-31 00:45:46 -07:00
James R. Barlow
b38cac6931
Drop wheel from build requires
...
Not usually needed anymore
2024-08-28 01:31:56 -07:00
James R. Barlow
0674829d8f
Remove tool.black config
2024-04-07 00:36:52 -07:00
James R. Barlow
315aa0474b
Merge branch 'main' of github.com:ocrmypdf/OCRmyPDF
2024-04-07 00:34:51 -07:00
Ben Beasley and GitHub
df3451e779
Update the typer[all] dependency to typer-slim[standard] ( #1287 )
...
In 0.12.1, Typer was significantly reorganized.
- `typer-slim` is the library (for `import typer`)
- `typer-slim[standard]` adds optional dependencies (currently `rich`
and `shellingham`, basically equivalent to the old `typer[all]`)
- `typer-cli` is the `typer` command-line tool
- `typer` is now basically a metapackage that brings in *all of the
above*, and it no longer has an `all` extra
Pip will warn about this and proceed,
```
WARNING: typer 0.12.1 does not provide the extra 'all'
```
but there are other tools that will fail hard when asked to resolve a
(now) nonexistent extra.
Since this project doesn’t need the `typer` command-line tool, it looks
like changing the dependency to `typer-slim[standard]` is the best way
forward.
See https://typer.tiangolo.com/release-notes/#0121 and
tiangolo/typer#785 for further discussion
and details.
2024-04-07 00:34:34 -07:00
James R. Barlow
d6342cb8c2
Add heif/heic input image support
2024-04-07 00:33:13 -07:00
James R. Barlow
065bddbc6c
Reformat with ruff format
2024-04-07 00:25:32 -07:00
James R. Barlow
8d30cff4ef
Undo future annotations from watcher.py till Typer fixes its issue
...
Fixes #1258
2024-02-20 19:14:39 -08:00
James R. Barlow
906c130f96
Update rust toml settings
2024-02-14 12:32:26 -08:00
James R. Barlow
fddf3ce2f4
Clarify warnings filter
2024-02-12 01:43:47 -08:00
James R. Barlow
26470fe16a
Suppress reportlab deprecation warning
2024-02-12 01:17:08 -08:00
James R. Barlow
73ed33a086
Tighten dependencies
2023-12-20 12:33:18 -08:00
James R. Barlow
30d92ad83f
Fix build settings to adjust for dropping py39
2023-12-07 23:40:45 -08:00
James R. Barlow
43618e6b3f
Move canvas API to pikepdf and import it
2023-12-02 19:42:35 -08:00
James R. Barlow
3f7b540f76
Drop Python 3.9 support
2023-11-21 00:46:00 -08:00
James R. Barlow
8d1e75017e
Remote reportlab backend and make reportlab a test-only dependency
2023-11-19 23:51:27 -08:00
James R. Barlow
9898904be7
Fix pikepdf PdfMatrix deprecation warning; v15.4.3 release notes
2023-11-15 20:27:16 -08:00
James R. Barlow
990b462a94
Fix coverage settings and cover semfree
2023-10-24 00:54:31 -07:00
James R. Barlow
c0637c287e
vscode isn't ready for black py312, revert
2023-10-24 00:54:31 -07:00
James R. Barlow
ad3a1dbbad
deps: update PyMuPDF req
2023-10-24 00:54:31 -07:00
James R. Barlow
0655f8e7ae
Add py312 to black coverage
2023-10-24 00:54:30 -07:00
James R. Barlow
0565cb0b10
misc/watcher.py: use Typer and dotenv to improve ease of use
2023-10-20 19:56:39 -07:00
James R. Barlow
91a14660b3
Require Pillow >= 10.0.1 and drop shims for older versions
2023-10-04 00:04:28 -07:00
James R. Barlow
3829af16fb
Fix bdist_wheel tag set to py38
2023-09-26 15:46:47 -07:00
James R. Barlow
8132a4ae10
Update release notes and files
2023-09-26 00:37:04 -07:00
James R. Barlow
0239f69912
Tigthen Python dependencies
2023-09-21 00:05:39 -07:00
James R. Barlow
e8c82ee4b6
Remove shim for img2pdf < 0.4.4
2023-09-21 00:05:39 -07:00
James R. Barlow
de2bb5ce8c
Remove tqdm dependency and TqdmConsole
...
Might be too aggressive? No deprecation warning....
2023-09-21 00:05:39 -07:00
James R. Barlow
ec1c377532
Drop Python 3.8 too
...
(cherry picked from commit a8cdc5a191bdf1fe401e96c2dc9a5fba39b90d79)
2023-09-21 00:05:39 -07:00
James R. Barlow
19045c4f21
Replace coloredlogs and tqdm with rich
2023-08-11 01:47:42 -07:00
James R. Barlow
bf0224faa4
Remove final bits of isort
2023-06-11 16:44:09 -07:00
James R. Barlow
c64871c2ed
pyproject: Make classifiers more generic
2023-05-22 23:37:42 -07:00
James R. Barlow
2b30f74fce
Improve imageops
...
Fix issues and add better tests. Require hypothesis.
2023-04-15 17:48:33 -07:00
James R. Barlow
33b70be7d5
ruff: more fixes, mainly missing docstrings
2023-04-14 02:16:38 -07:00
James R. Barlow
4924b11b6b
Additional ruff fixes
2023-04-14 01:25:16 -07:00
James R. Barlow
1d0e4e7c9f
ruff: fix from __future__ and drop isort
2023-04-14 00:49:02 -07:00
James R. Barlow
9b8d14d16e
Accept most of ruff's delinting
2023-04-14 00:45:34 -07:00
James R. Barlow
b7eb93eb79
Adopt ruff and fix prelim lints
2023-04-14 00:19:17 -07:00
James R. Barlow
4ad4a13ef0
Simplify dependencies
2022-09-20 22:50:44 -07:00
James R. Barlow
8412de9344
Merge branch 'master' into feature/drop-3.7
2022-08-06 14:04:23 -07:00
James R. Barlow
88d2949e6b
Abolish setup.cfg and migrate to pyproject.toml
2022-08-04 05:00:46 -07:00
James R. Barlow
4b9ea40a0c
spdx: move identifiers to files that support them
...
If the apparent license changed, take this commit as correct.
2022-08-04 03:26:54 -07:00
James R. Barlow
80b7cf6330
Update black target versions
2022-08-02 15:07:43 -07:00
James R. Barlow
9ffe829a10
Remove external importlib_metadata since Python 3.8 provides it directly
2022-08-02 14:48:11 -07:00
James R. Barlow
001b3324f1
Require setuptools-scm 7.0.5 to ensure sdists work alright
2022-07-12 02:09:37 -07:00
James R. Barlow
b1f2d257e2
Typing improvements
2022-07-09 02:24:19 -07:00