mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-02-05 23:32:46 -06:00
Chore(deps): Bump the utilities-minor group across 1 directory with 6 updates (#11993)
* Chore(deps): Bump the utilities-minor group across 1 directory with 6 updates Bumps the utilities-minor group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [babel](https://github.com/python-babel/babel) | `2.17.0` | `2.18.0` | | [dateparser](https://github.com/scrapinghub/dateparser) | `1.2.2` | `1.3.0` | | [django-cachalot](https://github.com/noripyt/django-cachalot) | `2.8.0` | `2.9.0` | | [openai](https://github.com/openai/openai-python) | `2.15.0` | `2.16.0` | | [torch](https://github.com/pytorch/pytorch) | `2.9.1` | `2.10.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.14.14` | `0.15.0` | Updates `babel` from 2.17.0 to 2.18.0 - [Release notes](https://github.com/python-babel/babel/releases) - [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES.rst) - [Commits](https://github.com/python-babel/babel/compare/v2.17.0...v2.18.0) Updates `dateparser` from 1.2.2 to 1.3.0 - [Release notes](https://github.com/scrapinghub/dateparser/releases) - [Changelog](https://github.com/scrapinghub/dateparser/blob/master/HISTORY.rst) - [Commits](https://github.com/scrapinghub/dateparser/compare/v1.2.2...v1.3.0) Updates `django-cachalot` from 2.8.0 to 2.9.0 - [Release notes](https://github.com/noripyt/django-cachalot/releases) - [Changelog](https://github.com/noripyt/django-cachalot/blob/master/CHANGELOG.rst) - [Commits](https://github.com/noripyt/django-cachalot/compare/v2.8.0...v2.9.0) Updates `openai` from 2.15.0 to 2.16.0 - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](https://github.com/openai/openai-python/compare/v2.15.0...v2.16.0) Updates `torch` from 2.9.1 to 2.10.0 - [Release notes](https://github.com/pytorch/pytorch/releases) - [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md) - [Commits](https://github.com/pytorch/pytorch/compare/v2.9.1...v2.10.0) Updates `ruff` from 0.14.14 to 0.15.0 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.14.14...0.15.0) --- updated-dependencies: - dependency-name: babel dependency-version: 2.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: utilities-minor - dependency-name: dateparser dependency-version: 1.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: utilities-minor - dependency-name: django-cachalot dependency-version: 2.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: utilities-minor - dependency-name: openai dependency-version: 2.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: utilities-minor - dependency-name: torch dependency-version: 2.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: utilities-minor - dependency-name: ruff dependency-version: 0.15.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: utilities-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Updates to ruff 0.15.0 * Ignores all notes in the baseline. They seem to be problematic?? --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Trenton H <797416+stumpylog@users.noreply.github.com>
This commit is contained in:
@@ -65,8 +65,12 @@ def match_correspondents(document: Document, classifier: DocumentClassifier, use
|
||||
|
||||
return list(
|
||||
filter(
|
||||
lambda o: matches(o, document)
|
||||
or (o.pk == pred_id and o.matching_algorithm == MatchingModel.MATCH_AUTO),
|
||||
lambda o: (
|
||||
matches(o, document)
|
||||
or (
|
||||
o.pk == pred_id and o.matching_algorithm == MatchingModel.MATCH_AUTO
|
||||
)
|
||||
),
|
||||
correspondents,
|
||||
),
|
||||
)
|
||||
@@ -92,8 +96,12 @@ def match_document_types(document: Document, classifier: DocumentClassifier, use
|
||||
|
||||
return list(
|
||||
filter(
|
||||
lambda o: matches(o, document)
|
||||
or (o.pk == pred_id and o.matching_algorithm == MatchingModel.MATCH_AUTO),
|
||||
lambda o: (
|
||||
matches(o, document)
|
||||
or (
|
||||
o.pk == pred_id and o.matching_algorithm == MatchingModel.MATCH_AUTO
|
||||
)
|
||||
),
|
||||
document_types,
|
||||
),
|
||||
)
|
||||
@@ -114,10 +122,12 @@ def match_tags(document: Document, classifier: DocumentClassifier, user=None):
|
||||
|
||||
return list(
|
||||
filter(
|
||||
lambda o: matches(o, document)
|
||||
or (
|
||||
o.matching_algorithm == MatchingModel.MATCH_AUTO
|
||||
and o.pk in predicted_tag_ids
|
||||
lambda o: (
|
||||
matches(o, document)
|
||||
or (
|
||||
o.matching_algorithm == MatchingModel.MATCH_AUTO
|
||||
and o.pk in predicted_tag_ids
|
||||
)
|
||||
),
|
||||
tags,
|
||||
),
|
||||
@@ -145,8 +155,12 @@ def match_storage_paths(document: Document, classifier: DocumentClassifier, user
|
||||
|
||||
return list(
|
||||
filter(
|
||||
lambda o: matches(o, document)
|
||||
or (o.pk == pred_id and o.matching_algorithm == MatchingModel.MATCH_AUTO),
|
||||
lambda o: (
|
||||
matches(o, document)
|
||||
or (
|
||||
o.pk == pred_id and o.matching_algorithm == MatchingModel.MATCH_AUTO
|
||||
)
|
||||
),
|
||||
storage_paths,
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user