diff --git a/.codecov.yml b/.codecov.yml index e6b4d0347..9e8269ead 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -14,10 +14,6 @@ component_management: # https://docs.codecov.com/docs/carryforward-flags flags: # Backend Python versions - backend-python-3.10: - paths: - - src/** - carryforward: true backend-python-3.11: paths: - src/** @@ -26,6 +22,14 @@ flags: paths: - src/** carryforward: true + backend-python-3.13: + paths: + - src/** + carryforward: true + backend-python-3.14: + paths: + - src/** + carryforward: true # Frontend (shards merge into single flag) frontend-node-24.x: paths: @@ -41,9 +45,10 @@ coverage: project: backend: flags: - - backend-python-3.10 - backend-python-3.11 - backend-python-3.12 + - backend-python-3.13 + - backend-python-3.14 paths: - src/** # https://docs.codecov.com/docs/commit-status#threshold @@ -59,9 +64,10 @@ coverage: patch: backend: flags: - - backend-python-3.10 - backend-python-3.11 - backend-python-3.12 + - backend-python-3.13 + - backend-python-3.14 paths: - src/** target: 100% diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 20d7bfd36..9e5539b2a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -13,7 +13,9 @@ If you want to implement something big: ## Python -Paperless supports python 3.10 - 3.12 at this time. We format Python code with [ruff](https://docs.astral.sh/ruff/formatter/). +Paperless-ngx currently supports Python 3.11, 3.12, 3.13, and 3.14. As a policy, we aim to support at least the three most recent Python versions, and drop support for versions as they reach end-of-life. Older versions may be supported if dependencies permit, but this is not guaranteed. + +We format Python code with [ruff](https://docs.astral.sh/ruff/formatter/). ## Branches diff --git a/docs/setup.md b/docs/setup.md index f9b79d046..b08d6d7c9 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -172,7 +172,7 @@ to enable polling and disable inotify. See [here](configuration.md#polling). #### Prerequisites - Paperless runs on Linux only, Windows is not supported. -- Python 3 is required with versions 3.10 - 3.12 currently supported. Newer versions may work, but some dependencies may not be fully compatible. +- Python 3.11, 3.12, 3.13, or 3.14 is required. As a policy, Paperless-ngx aims to support at least the three most recent Python versions and drops support for versions as they reach end-of-life. Newer versions may work, but some dependencies may not be fully compatible. #### Installation