mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Chore(deps): Bump the small-changes group across 1 directory with 6 updates (#9764)
* Chore(deps): Bump the small-changes group across 1 directory with 6 updates Bumps the small-changes group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [channels](https://github.com/django/channels) | `4.2.0` | `4.2.2` | | [filelock](https://github.com/tox-dev/py-filelock) | `3.17.0` | `3.18.0` | | [gotenberg-client](https://github.com/stumpylog/gotenberg-client) | `0.9.0` | `0.10.0` | | [jinja2](https://github.com/pallets/jinja) | `3.1.5` | `3.1.6` | | [python-dotenv](https://github.com/theskumar/python-dotenv) | `1.0.1` | `1.1.0` | | [rapidfuzz](https://github.com/rapidfuzz/RapidFuzz) | `3.12.1` | `3.13.0` | Updates `channels` from 4.2.0 to 4.2.2 - [Changelog](https://github.com/django/channels/blob/main/CHANGELOG.txt) - [Commits](https://github.com/django/channels/compare/4.2.0...4.2.2) Updates `filelock` from 3.17.0 to 3.18.0 - [Release notes](https://github.com/tox-dev/py-filelock/releases) - [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst) - [Commits](https://github.com/tox-dev/py-filelock/compare/3.17.0...3.18.0) Updates `gotenberg-client` from 0.9.0 to 0.10.0 - [Release notes](https://github.com/stumpylog/gotenberg-client/releases) - [Changelog](https://github.com/stumpylog/gotenberg-client/blob/main/CHANGELOG.md) - [Commits](https://github.com/stumpylog/gotenberg-client/compare/0.9.0...0.10.0) Updates `jinja2` from 3.1.5 to 3.1.6 - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6) Updates `python-dotenv` from 1.0.1 to 1.1.0 - [Release notes](https://github.com/theskumar/python-dotenv/releases) - [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md) - [Commits](https://github.com/theskumar/python-dotenv/compare/v1.0.1...v1.1.0) Updates `rapidfuzz` from 3.12.1 to 3.13.0 - [Release notes](https://github.com/rapidfuzz/RapidFuzz/releases) - [Changelog](https://github.com/rapidfuzz/RapidFuzz/blob/main/CHANGELOG.rst) - [Commits](https://github.com/rapidfuzz/RapidFuzz/compare/v3.12.1...v3.13.0) --- updated-dependencies: - dependency-name: channels dependency-version: 4.2.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: small-changes - dependency-name: filelock dependency-version: 3.18.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: small-changes - dependency-name: gotenberg-client dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: small-changes - dependency-name: jinja2 dependency-version: 3.1.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: small-changes - dependency-name: python-dotenv dependency-version: 1.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: small-changes - dependency-name: rapidfuzz dependency-version: 3.13.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: small-changes ... Signed-off-by: dependabot[bot] <support@github.com> --------- 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:
		| @@ -8,10 +8,10 @@ from django.conf import settings | ||||
| from django.utils.timezone import is_naive | ||||
| from django.utils.timezone import make_aware | ||||
| from gotenberg_client import GotenbergClient | ||||
| from gotenberg_client.options import MarginType | ||||
| from gotenberg_client.options import MarginUnitType | ||||
| from gotenberg_client.constants import A4 | ||||
| from gotenberg_client.options import Measurement | ||||
| from gotenberg_client.options import MeasurementUnitType | ||||
| from gotenberg_client.options import PageMarginsType | ||||
| from gotenberg_client.options import PageSize | ||||
| from gotenberg_client.options import PdfAFormat | ||||
| from humanize import naturalsize | ||||
| from imap_tools import MailAttachment | ||||
| @@ -370,13 +370,13 @@ class MailDocumentParser(DocumentParser): | ||||
|                     .resource(css_file) | ||||
|                     .margins( | ||||
|                         PageMarginsType( | ||||
|                             top=MarginType(0.1, MarginUnitType.Inches), | ||||
|                             bottom=MarginType(0.1, MarginUnitType.Inches), | ||||
|                             left=MarginType(0.1, MarginUnitType.Inches), | ||||
|                             right=MarginType(0.1, MarginUnitType.Inches), | ||||
|                             top=Measurement(0.1, MeasurementUnitType.Inches), | ||||
|                             bottom=Measurement(0.1, MeasurementUnitType.Inches), | ||||
|                             left=Measurement(0.1, MeasurementUnitType.Inches), | ||||
|                             right=Measurement(0.1, MeasurementUnitType.Inches), | ||||
|                         ), | ||||
|                     ) | ||||
|                     .size(PageSize(height=11.7, width=8.27)) | ||||
|                     .size(A4) | ||||
|                     .scale(1.0) | ||||
|                     .run() | ||||
|                 ) | ||||
| @@ -452,14 +452,12 @@ class MailDocumentParser(DocumentParser): | ||||
|             # Set page size, margins | ||||
|             route.margins( | ||||
|                 PageMarginsType( | ||||
|                     top=MarginType(0.1, MarginUnitType.Inches), | ||||
|                     bottom=MarginType(0.1, MarginUnitType.Inches), | ||||
|                     left=MarginType(0.1, MarginUnitType.Inches), | ||||
|                     right=MarginType(0.1, MarginUnitType.Inches), | ||||
|                     top=Measurement(0.1, MeasurementUnitType.Inches), | ||||
|                     bottom=Measurement(0.1, MeasurementUnitType.Inches), | ||||
|                     left=Measurement(0.1, MeasurementUnitType.Inches), | ||||
|                     right=Measurement(0.1, MeasurementUnitType.Inches), | ||||
|                 ), | ||||
|             ).size( | ||||
|                 PageSize(height=11.7, width=8.27), | ||||
|             ).scale(1.0) | ||||
|             ).size(A4).scale(1.0) | ||||
|  | ||||
|             try: | ||||
|                 response = route.run() | ||||
|   | ||||
| @@ -665,7 +665,7 @@ class TestParser: | ||||
|         assert str(request.url) == "http://localhost:3000/forms/chromium/convert/html" | ||||
|  | ||||
|     @pytest.mark.httpx_mock(can_send_already_matched_responses=True) | ||||
|     @mock.patch("gotenberg_client._merge.MergeRoute.merge") | ||||
|     @mock.patch("gotenberg_client._merge.routes.SyncMergePdfsRoute.merge") | ||||
|     @mock.patch("paperless_mail.models.MailRule.objects.get") | ||||
|     def test_generate_pdf_layout_options( | ||||
|         self, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	![49699333+dependabot[bot]@users.noreply.github.com](/assets/img/avatar_default.png) dependabot[bot]
					dependabot[bot]