-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set_toc method error #3488
Comments
You must provide an example where this happens. Otherwise we cannot accept this bug report. |
how about this def merge_pdfs(self, file_list: List[Union[Path, str]]):
if len(file_list) == 1:
self.merge_doc = fitz.open(file_list[0])
else:
self.merge_doc = fitz.open()
merged_toc = []
for file in tqdm(file_list, desc="merge", unit="file"):
pdf = fitz.open(file)
merged_toc.append((1, Path(file).stem.replace("\u3000", ""), len(self.merge_doc) + 1))
self.merge_doc.insert_file(pdf)
pdf.close()
self.merge_doc.set_toc(merged_toc, collapse=0)
self.merge_doc.save(self.out_pdf_file)
self.add_metadata()
self.set_file_view()
if self.pagenum:
self.add_pagnums()
if self.watermark:
self.add_watermark(self.watermark_text)
self.merge_doc.save(self.out_pdf_file) error message, it stays in 1.24.4, but in 1.24.2 don't have these errors. ..\venv\lib\site-packages\pymupdf\__init__.py:87:exception_info: exception_info:
Traceback (most recent call last):
File "D:\JDBDocuments\Pycharm\table_name_cards\venv\lib\site-packages\pymupdf\utils.py", line 1444, in set_toc
txt += ol["dest"]
KeyError: 'dest'
..\venv\lib\site-packages\pymupdf\__init__.py:87:exception_info: exception_info:
Traceback (most recent call last):
File "D:\JDBDocuments\Pycharm\table_name_cards\venv\lib\site-packages\pymupdf\utils.py", line 1462, in set_toc
if ol["next"] > -1:
KeyError: 'next'
..\venv\lib\site-packages\pymupdf\__init__.py:87:exception_info: exception_info:
Traceback (most recent call last):
File "D:\JDBDocuments\Pycharm\table_name_cards\venv\lib\site-packages\pymupdf\utils.py", line 1469, in set_toc
if ol["parent"] > -1:
KeyError: 'parent'
..\venv\lib\site-packages\pymupdf\__init__.py:87:exception_info: exception_info:
Traceback (most recent call last):
File "D:\JDBDocuments\Pycharm\table_name_cards\venv\lib\site-packages\pymupdf\utils.py", line 1476, in set_toc
if ol["prev"] > -1:
KeyError: 'prev'
..\venv\lib\site-packages\pymupdf\__init__.py:87:exception_info: exception_info:
Traceback (most recent call last):
File "D:\JDBDocuments\Pycharm\table_name_cards\venv\lib\site-packages\pymupdf\utils.py", line 1483, in set_toc
txt += "/Title" + ol["title"]
KeyError: 'title' Thank you guys for your hard work |
Apologies - I should have looked into this myself! |
I tried to fix this in your source code but failed. If it is not too much trouble to ask, can you explain why this happened? |
I also encountered the same problem. It was so easy to reproduce the error by trying to bookmark a PDF file. import fitz
from pathlib import Path
pdf = Path(r'test.pdf')
toc = [(1, 'level1', 1), (2, 'level2', 1)]
doc = fitz.open(pdf)
doc.set_toc(toc, collapse = 2) |
I think this may be the same as #3479. Internal exception diagnostics in utils.py were increased in 1.24.2. The fix is simple enough. But i'm also looking at writing a test that checks that we don't generate such diagnostics in future. |
I got the same error message when doing doc.set_toc(toc_list). I add key check in utils.py before next 5 variables assign ( I'm not sure if this is a good method.) |
Fixed in 1.24.5. |
…474) Bumps the patch-dependencies group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [pymupdf](https://github.com/pymupdf/pymupdf) | `1.24.3` | `1.24.5` | | [redis](https://github.com/redis/redis-py) | `5.0.4` | `5.0.5` | | [requests](https://github.com/psf/requests) | `2.32.0` | `2.32.3` | | [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.23.6` | `0.23.7` | | [pytest](https://github.com/pytest-dev/pytest) | `8.2.0` | `8.2.2` | | [ruff](https://github.com/astral-sh/ruff) | `0.4.4` | `0.4.8` | Updates `pymupdf` from 1.24.3 to 1.24.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pymupdf/pymupdf/releases">pymupdf's releases</a>.</em></p> <blockquote> <h2>PyMuPDF-1.24.5 released</h2> <p>PyMuPDF-1.24.5 has been released.</p> <p>Wheels for Windows, Linux and MacOS, and the sdist, are available on pypi.org and can be installed in the usual way, for example:</p> <pre><code>python -m pip install --upgrade pymupdf </code></pre> <p>[Linux-aarch64 wheels will be built and uploaded later.]</p> <p><strong>Changes in version 1.24.5 (2024-05-30)</strong></p> <ul> <li> <p>Fixed issues:</p> <ul> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3479">#3479</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3488">#3488</a></li> </ul> </li> <li> <p>Other:</p> <ul> <li>Some more fixes to use MuPDF floating formatting.</li> <li>Removed/disabled some unnecessary diagnostics.</li> <li>Fixed utils.do_links() crash.</li> <li>Experimental new functions <code>pymupdf.apply_pages()</code> and <code>pymupdf.get_text()</code>.</li> <li>Addresses wrong label generation for label styles "a" and "A".</li> </ul> </li> </ul> <h2>PyMuPDF-1.24.4 released</h2> <p>PyMuPDF-1.24.4 has been released.</p> <p>Wheels for Windows, Linux and MacOS, and the sdist, are available on pypi.org and can be installed in the usual way, for example:</p> <pre><code>python -m pip install --upgrade pymupdf </code></pre> <p>[Linux-aarch64 wheels will be built and uploaded later.]</p> <p><strong>Changes in version 1.24.4 (2024-05-16)</strong></p> <ul> <li> <p><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3418">#3418</a></p> </li> <li> <p>Other:</p> <ul> <li>Fixed sysinstall test failing to remove all of prior installation before new install.</li> <li>Fixed <code>utils.do_links()</code> crash.</li> <li>Correct <code>TextPage</code> creation Code.</li> <li>Unified various diagnostics.</li> <li>Fix bug in <code>page_merge()</code>.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pymupdf/PyMuPDF/blob/main/changes.txt">pymupdf's changelog</a>.</em></p> <blockquote> <h1>Change Log</h1> <p><strong>Changes in version 1.24.5 (2024-05-30)</strong></p> <ul> <li> <p>Fixed issues:</p> <ul> <li><strong>Fixed</strong> <code>3479 <https://github.com/pymupdf/PyMuPDF/issues/3479></code>_: regression: fill_textbox: IndexError: pop from empty list</li> <li><strong>Fixed</strong> <code>3488 <https://github.com/pymupdf/PyMuPDF/issues/3488></code>_: set_toc method error</li> </ul> </li> <li> <p>Other:</p> <ul> <li>Some more fixes to use MuPDF floating formatting.</li> <li>Removed/disabled some unnecessary diagnostics.</li> <li>Fixed utils.do_links() crash.</li> <li>Experimental new functions <code>pymupdf.apply_pages()</code> and <code>pymupdf.get_text()</code>.</li> <li>Addresses wrong label generation for label styles "a" and "A".</li> </ul> </li> </ul> <p><strong>Changes in version 1.24.4 (2024-05-16)</strong></p> <ul> <li> <p><strong>Fixed</strong> <code>3418 <https://github.com/pymupdf/PyMuPDF/issues/3418></code>_: Re-introduced bug, text align add_redact_annot</p> </li> <li> <p><strong>Fixed</strong> <code>3472 <https://github.com/pymupdf/PyMuPDF/issues/3472></code>_: insert_pdf gives SystemError</p> </li> <li> <p>Other:</p> <ul> <li>Fixed sysinstall test failing to remove all of prior installation before new install.</li> <li>Fixed <code>utils.do_links()</code> crash.</li> <li>Correct <code>TextPage</code> creation Code.</li> <li>Unified various diagnostics.</li> <li>Fix bug in <code>page_merge()</code>.</li> </ul> </li> </ul> <p><strong>Changes in version 1.24.3 (2024-05-09)</strong></p> <ul> <li> <p>The Python module is now called <code>pymupdf</code>. <code>fitz</code> is still supported for backwards compatibility.</p> </li> <li> <p>Use MuPDF-1.24.2.</p> </li> <li> <p>Fixed issues:</p> <ul> <li><strong>Fixed</strong> <code>3357 <https://github.com/pymupdf/PyMuPDF/issues/3357></code>_: PyMuPDF==1.24.0 will hanging when using page.get_text("text")</li> <li><strong>Fixed</strong> <code>3376 <https://github.com/pymupdf/PyMuPDF/issues/3376></code>_: Redacting results are not as expected in 1.24.x.</li> <li><strong>Fixed</strong> <code>3379 <https://github.com/pymupdf/PyMuPDF/issues/3379></code>_: Documentation mismatch for get_text_blocks return value order.</li> <li><strong>Fixed</strong> <code>3381 <https://github.com/pymupdf/PyMuPDF/issues/3381></code>_: Contents stream contains floats in scientific notation</li> <li><strong>Fixed</strong> <code>3402 <https://github.com/pymupdf/PyMuPDF/issues/3402></code>_: Cannot add Widgets containing inter-field-calculation JavaScript</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/ec4497b150189d5747c1b47aa4076d24a3c27874"><code>ec4497b</code></a> Update changelog, version numbers and release dates for release 1.24.5.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/8ec240783f66a227446d38d1afe732663d44b555"><code>8ec2407</code></a> Documentation: Updates for more file support.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/f26b6737fb94d885bef16ec5b61101c6d08c79dc"><code>f26b673</code></a> Addresses wrong label generation</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/036f9a90bb478f5b0fa979bf323269b2ad1d6023"><code>036f9a9</code></a> .github/workflows/test_pyodide.yml: default to hard-coded mupdf, not master.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/a799bde6d431825dca3bbeec2b7cf6ceb68bad96"><code>a799bde</code></a> Add support for concurrent processing of pages.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/838d8f142a50f46686d58c9bcf4e54ba34f5707a"><code>838d8f1</code></a> scripts/test.py: fixed naming of -f value to be 'fitz'.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/df1c280105146a9e36fa94eed5930fad782b1036"><code>df1c280</code></a> src/extra.i: removed some unused code.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/d7228b97ed68f6d2322263464fc6779f6724f890"><code>d7228b9</code></a> changes.txt: mark <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3472">#3472</a> fixed in 1.24.4.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/03a802d24dc095022bd6c7294ddf4e87b9a3d6d8"><code>03a802d</code></a> Fixed utils.do_links() crash.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/b4068db737963d43e0327688091ce3f2cd272701"><code>b4068db</code></a> src/utils.py: disable various expected calls to pymupdf.exception_info().</li> <li>Additional commits viewable in <a href="https://github.com/pymupdf/pymupdf/compare/1.24.3...1.24.5">compare view</a></li> </ul> </details> <br /> Updates `redis` from 5.0.4 to 5.0.5 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/redis/redis-py/releases">redis's releases</a>.</em></p> <blockquote> <h2>5.0.5</h2> <h1>Changes</h1> <h2>🐛 Bug Fixes</h2> <ul> <li>Fix parsing of INFO response (<a href="https://redirect.github.com/redis/redis-py/issues/3265">#3265</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/redis/redis-py/commit/6f55c0286ccc444204a23e8738117f43c182bf9b"><code>6f55c02</code></a> Bump version to 5.0.5 (<a href="https://redirect.github.com/redis/redis-py/issues/3267">#3267</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/26d2d13edcf3f29a381df4850c5926cb285d3584"><code>26d2d13</code></a> Fix parsing of INFO response (<a href="https://redirect.github.com/redis/redis-py/issues/3264">#3264</a>)</li> <li>See full diff in <a href="https://github.com/redis/redis-py/compare/v5.0.4...v5.0.5">compare view</a></li> </ul> </details> <br /> Updates `requests` from 2.32.0 to 2.32.3 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/psf/requests/releases">requests's releases</a>.</em></p> <blockquote> <h2>v2.32.3</h2> <h2>2.32.3 (2024-05-29)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of HTTPAdapter. (<a href="https://redirect.github.com/psf/requests/issues/6716">#6716</a>)</li> <li>Fixed issue where Requests started failing to run on Python versions compiled without the <code>ssl</code> module. (<a href="https://redirect.github.com/psf/requests/issues/6724">#6724</a>)</li> </ul> <h2>v2.32.2</h2> <h2>2.32.2 (2024-05-21)</h2> <p><strong>Deprecations</strong></p> <ul> <li> <p>To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed <code>_get_connection</code> to a new public API, <code>get_connection_with_tls_context</code>. Existing custom HTTPAdapters will need to migrate their code to use this new API. <code>get_connection</code> is considered deprecated in all versions of Requests>=2.32.0.</p> <p>A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (<a href="https://redirect.github.com/psf/requests/issues/6710">#6710</a>)</p> </li> </ul> <h2>v2.32.1</h2> <h2>2.32.1 (2024-05-20)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Add missing test certs to the sdist distributed on PyPI.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/psf/requests/blob/main/HISTORY.md">requests's changelog</a>.</em></p> <blockquote> <h2>2.32.3 (2024-05-29)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Fixed bug breaking the ability to specify custom SSLContexts in sub-classes of HTTPAdapter. (<a href="https://redirect.github.com/psf/requests/issues/6716">#6716</a>)</li> <li>Fixed issue where Requests started failing to run on Python versions compiled without the <code>ssl</code> module. (<a href="https://redirect.github.com/psf/requests/issues/6724">#6724</a>)</li> </ul> <h2>2.32.2 (2024-05-21)</h2> <p><strong>Deprecations</strong></p> <ul> <li> <p>To provide a more stable migration for custom HTTPAdapters impacted by the CVE changes in 2.32.0, we've renamed <code>_get_connection</code> to a new public API, <code>get_connection_with_tls_context</code>. Existing custom HTTPAdapters will need to migrate their code to use this new API. <code>get_connection</code> is considered deprecated in all versions of Requests>=2.32.0.</p> <p>A minimal (2-line) example has been provided in the linked PR to ease migration, but we strongly urge users to evaluate if their custom adapter is subject to the same issue described in CVE-2024-35195. (<a href="https://redirect.github.com/psf/requests/issues/6710">#6710</a>)</p> </li> </ul> <h2>2.32.1 (2024-05-20)</h2> <p><strong>Bugfixes</strong></p> <ul> <li>Add missing test certs to the sdist distributed on PyPI.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/psf/requests/commit/0e322af87745eff34caffe4df68456ebc20d9068"><code>0e322af</code></a> v2.32.3</li> <li><a href="https://github.com/psf/requests/commit/e18879932287c2bf4bcee4ddf6ccb8a69b6fc656"><code>e188799</code></a> Don't create default SSLContext if ssl module isn't present (<a href="https://redirect.github.com/psf/requests/issues/6724">#6724</a>)</li> <li><a href="https://github.com/psf/requests/commit/145b5399486b56e00250204f033441f3fdf2f3c9"><code>145b539</code></a> Merge pull request <a href="https://redirect.github.com/psf/requests/issues/6716">#6716</a> from sigmavirus24/bug/6715</li> <li><a href="https://github.com/psf/requests/commit/b1d73ddb509a3a2d3e10744e85f9cdebdbde90f0"><code>b1d73dd</code></a> Don't use default SSLContext with custom poolmanager kwargs</li> <li><a href="https://github.com/psf/requests/commit/6badbac6e0d6b5a53872f26401761ad37a9002b8"><code>6badbac</code></a> Update HISTORY.md</li> <li><a href="https://github.com/psf/requests/commit/a62a2d35d918baa8e793f7aa4fb41527644dfca5"><code>a62a2d3</code></a> Allow for overriding of specific pool key params</li> <li><a href="https://github.com/psf/requests/commit/88dce9d854797c05d0ff296b70e0430535ef8aaf"><code>88dce9d</code></a> v2.32.2</li> <li><a href="https://github.com/psf/requests/commit/c98e4d133ef29c46a9b68cd783087218a8075e05"><code>c98e4d1</code></a> Merge pull request <a href="https://redirect.github.com/psf/requests/issues/6710">#6710</a> from nateprewitt/api_rename</li> <li><a href="https://github.com/psf/requests/commit/92075b330a30b9883f466a43d3f7566ab849f91b"><code>92075b3</code></a> Add deprecation warning</li> <li><a href="https://github.com/psf/requests/commit/aa1461b68aa73e2f6ec0e78c8853b635c76fd099"><code>aa1461b</code></a> Move _get_connection to get_connection_with_tls_context</li> <li>Additional commits viewable in <a href="https://github.com/psf/requests/compare/v2.32.0...v2.32.3">compare view</a></li> </ul> </details> <br /> Updates `pytest-asyncio` from 0.23.6 to 0.23.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest-asyncio/releases">pytest-asyncio's releases</a>.</em></p> <blockquote> <h2>pytest-asyncio 0.23.7</h2> <h1>0.23.7 (2024-05-19)</h1> <ul> <li>Silence deprecation warnings about unclosed event loops that occurred with certain CPython patch releases <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/pull/817">#817</a></li> </ul> <h2>Known issues</h2> <p>As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see <a href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/706">#706</a>). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved.</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/eb63d5ad0ca21041726ada3d5c00211d36418a9b"><code>eb63d5a</code></a> docs: Prepared for release of v0.23.7.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/da04a7a645bdd46d0533c727e85cf2c0e13c7def"><code>da04a7a</code></a> Build(deps): Bump exceptiongroup in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/00c667ad80571fc8e937f4422267b135f55ec6e6"><code>00c667a</code></a> Build(deps): Bump pytest from 8.1.1 to 8.2.0 in /dependencies/default</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/3bd9cd885b5cc78ce4a73a03c878ac93e0a1840f"><code>3bd9cd8</code></a> [docs] Add changelog entry.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/15544f0ee29152086b14e63cb040836f33b0b416"><code>15544f0</code></a> Revert GitHub Actions and Tox changes.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/6316b285c1ee8f6d300916e531ff1d320bec8d6b"><code>6316b28</code></a> Deduplicate simplefilter snippet.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/3ffdfc5607a112a9a2cb933a6af044eaf47e0227"><code>3ffdfc5</code></a> asyncio.run(port_afinalizer())</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/0107fd7ae7e42d399b5be9af6f3ee4427e16ea7d"><code>0107fd7</code></a> Remove extra space.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/3bf700a80cb12354fbe0a9295be9fbd4317c8d8f"><code>3bf700a</code></a> Fix GH Action mapping.</li> <li><a href="https://github.com/pytest-dev/pytest-asyncio/commit/d15dc31f7459810af824b5e9e903f914140ceb2c"><code>d15dc31</code></a> Fix 3109/3108 typo.</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest-asyncio/compare/v0.23.6...v0.23.7">compare view</a></li> </ul> </details> <br /> Updates `pytest` from 8.2.0 to 8.2.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pytest-dev/pytest/releases">pytest's releases</a>.</em></p> <blockquote> <h2>8.2.2</h2> <h1>pytest 8.2.2 (2024-06-04)</h1> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12355">#12355</a>: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12367">#12367</a>: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12381">#12381</a>: Fix possible "Directory not empty" crashes arising from concurent cache dir (<code>.pytest_cache</code>) creation. Regressed in pytest 8.2.0.</li> </ul> <h2>Improved Documentation</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12290">#12290</a>: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12356">#12356</a>: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12363">#12363</a>: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.</li> </ul> <h2>8.2.1</h2> <h1>pytest 8.2.1 (2024-05-19)</h1> <h2>Improvements</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12334">#12334</a>: Support for Python 3.13 (beta1 at the time of writing).</li> </ul> <h2>Bug Fixes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12120">#12120</a>: Fix [PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12191">#12191</a>: Keyboard interrupts and system exits are now properly handled during the test collection.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12300">#12300</a>: Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only.</li> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12308">#12308</a>: Fix a regression in pytest 8.2.0 where the permissions of automatically-created <code>.pytest_cache</code> directories became <code>rwx------</code> instead of the expected <code>rwxr-xr-x</code>.</li> </ul> <h2>Trivial/Internal Changes</h2> <ul> <li><a href="https://redirect.github.com/pytest-dev/pytest/issues/12333">#12333</a>: pytest releases are now attested using the recent <a href="https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/">Artifact Attestation</a> support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pytest-dev/pytest/commit/329d3712146e69c471be3e30883d54bdde2f76cb"><code>329d371</code></a> Prepare release version 8.2.2</li> <li><a href="https://github.com/pytest-dev/pytest/commit/214d098fcce88940f5ce9353786b3cc8f0bd3938"><code>214d098</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12414">#12414</a> from bluetech/backport-12409</li> <li><a href="https://github.com/pytest-dev/pytest/commit/153a436bc40c9e89d90d62255ef5a89e9a762dca"><code>153a436</code></a> [8.2.x] fixtures: fix catastrophic performance problem in <code>reorder_items</code></li> <li><a href="https://github.com/pytest-dev/pytest/commit/b41d5a52bbb808780ab310456d71e5ce509fd402"><code>b41d5a5</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12412">#12412</a> from pytest-dev/backport-12408-to-8.2.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/9bb73d734ff40f52d7bbebd708b5e3ab1ba20798"><code>9bb73d7</code></a> [8.2.x] cacheprovider: fix "Directory not empty" crash from cache directory c...</li> <li><a href="https://github.com/pytest-dev/pytest/commit/4569a01e3d20d64811d48b0b09539596520ea5a6"><code>4569a01</code></a> [8.2.x] doc: Update trainings/events (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12402">#12402</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/1d103e5cdc1cb08f332e61a5b20fb205fa5228e7"><code>1d103e5</code></a> [8.2.x] Clarify pytest_ignore_collect docs (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12386">#12386</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/240a252d34fff26efad5b3a92e62be4c9af94b70"><code>240a252</code></a> [8.2.x] Add html_baseurl to sphinx conf.py (<a href="https://redirect.github.com/pytest-dev/pytest/issues/12372">#12372</a>)</li> <li><a href="https://github.com/pytest-dev/pytest/commit/a5ee3c41268199c2c0af59c33050326b1c4a342e"><code>a5ee3c4</code></a> Merge pull request <a href="https://redirect.github.com/pytest-dev/pytest/issues/12370">#12370</a> from pytest-dev/backport-12368-to-8.2.x</li> <li><a href="https://github.com/pytest-dev/pytest/commit/f7358aec2884720b4de4594ffd0811b46316514c"><code>f7358ae</code></a> [8.2.x] unittest: fix class instances no longer released on test teardown sin...</li> <li>Additional commits viewable in <a href="https://github.com/pytest-dev/pytest/compare/8.2.0...8.2.2">compare view</a></li> </ul> </details> <br /> Updates `ruff` from 0.4.4 to 0.4.8 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/releases">ruff's releases</a>.</em></p> <blockquote> <h2>v0.4.8</h2> <h2>Changes</h2> <h3>Performance</h3> <ul> <li>Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (<a href="https://redirect.github.com/astral-sh/ruff/pull/11457">#11457</a>)</li> </ul> <h3>Preview features</h3> <ul> <li>[<code>flake8-bugbear</code>] Implement <code>return-in-generator</code> (<code>B901</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11644">#11644</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI063</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11699">#11699</a>)</li> <li>[<code>pygrep_hooks</code>] Check blanket ignores via file-level pragmas (<code>PGH004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11540">#11540</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pyupgrade</code>] Update <code>UP035</code> for Python 3.13 and the latest version of <code>typing_extensions</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11693">#11693</a>)</li> <li>[<code>numpy</code>] Update <code>NPY001</code> rule for NumPy 2.0 (<a href="https://redirect.github.com/astral-sh/ruff/pull/11735">#11735</a>)</li> </ul> <h3>Server</h3> <ul> <li>Formatting a document with syntax problems no longer spams a visible error popup (<a href="https://redirect.github.com/astral-sh/ruff/pull/11745">#11745</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add RDJson support for <code>--output-format</code> flag (<a href="https://redirect.github.com/astral-sh/ruff/pull/11682">#11682</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pyupgrade</code>] Write empty string in lieu of panic when fixing <code>UP032</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11696">#11696</a>)</li> <li>[<code>flake8-simplify</code>] Simplify double negatives in <code>SIM103</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11684">#11684</a>)</li> <li>Ensure the expression generator adds a newline before <code>type</code> statements (<a href="https://redirect.github.com/astral-sh/ruff/pull/11720">#11720</a>)</li> <li>Respect per-file ignores for blanket and redirected noqa rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/11728">#11728</a>)</li> </ul> <h2>Contributors</h2> <ul> <li><a href="https://github.com/AlexWaygood"><code>@AlexWaygood</code></a></li> <li><a href="https://github.com/MichaReiser"><code>@MichaReiser</code></a></li> <li><a href="https://github.com/MichaelOultram-pexip"><code>@MichaelOultram-pexip</code></a></li> <li><a href="https://github.com/ajesipow"><code>@ajesipow</code></a></li> <li><a href="https://github.com/carljm"><code>@carljm</code></a></li> <li><a href="https://github.com/charliermarsh"><code>@charliermarsh</code></a></li> <li><a href="https://github.com/dhruvmanila"><code>@dhruvmanila</code></a></li> <li><a href="https://github.com/github-actions"><code>@github-actions</code></a></li> <li><a href="https://github.com/mtsokol"><code>@mtsokol</code></a></li> <li><a href="https://github.com/renovate"><code>@renovate</code></a></li> <li><a href="https://github.com/snowsignal"><code>@snowsignal</code></a></li> <li><a href="https://github.com/tobb10001"><code>@tobb10001</code></a></li> <li><a href="https://github.com/tusharsadhwani"><code>@tusharsadhwani</code></a></li> </ul> <h2>v0.4.7</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md">ruff's changelog</a>.</em></p> <blockquote> <h2>0.4.8</h2> <h3>Performance</h3> <ul> <li>Linter performance has been improved by around 10% on some microbenchmarks by refactoring the lexer and parser to maintain synchronicity between them (<a href="https://redirect.github.com/astral-sh/ruff/pull/11457">#11457</a>)</li> </ul> <h3>Preview features</h3> <ul> <li>[<code>flake8-bugbear</code>] Implement <code>return-in-generator</code> (<code>B901</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11644">#11644</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI063</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11699">#11699</a>)</li> <li>[<code>pygrep_hooks</code>] Check blanket ignores via file-level pragmas (<code>PGH004</code>) (<a href="https://redirect.github.com/astral-sh/ruff/pull/11540">#11540</a>)</li> </ul> <h3>Rule changes</h3> <ul> <li>[<code>pyupgrade</code>] Update <code>UP035</code> for Python 3.13 and the latest version of <code>typing_extensions</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11693">#11693</a>)</li> <li>[<code>numpy</code>] Update <code>NPY001</code> rule for NumPy 2.0 (<a href="https://redirect.github.com/astral-sh/ruff/pull/11735">#11735</a>)</li> </ul> <h3>Server</h3> <ul> <li>Formatting a document with syntax problems no longer spams a visible error popup (<a href="https://redirect.github.com/astral-sh/ruff/pull/11745">#11745</a>)</li> </ul> <h3>CLI</h3> <ul> <li>Add RDJson support for <code>--output-format</code> flag (<a href="https://redirect.github.com/astral-sh/ruff/pull/11682">#11682</a>)</li> </ul> <h3>Bug fixes</h3> <ul> <li>[<code>pyupgrade</code>] Write empty string in lieu of panic when fixing <code>UP032</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11696">#11696</a>)</li> <li>[<code>flake8-simplify</code>] Simplify double negatives in <code>SIM103</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11684">#11684</a>)</li> <li>Ensure the expression generator adds a newline before <code>type</code> statements (<a href="https://redirect.github.com/astral-sh/ruff/pull/11720">#11720</a>)</li> <li>Respect per-file ignores for blanket and redirected noqa rules (<a href="https://redirect.github.com/astral-sh/ruff/pull/11728">#11728</a>)</li> </ul> <h2>0.4.7</h2> <h3>Preview features</h3> <ul> <li>[<code>flake8-pyi</code>] Implement <code>PYI064</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11325">#11325</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI066</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11541">#11541</a>)</li> <li>[<code>flake8-pyi</code>] Implement <code>PYI057</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11486">#11486</a>)</li> <li>[<code>pyflakes</code>] Enable <code>F822</code> in <code>__init__.py</code> files by default (<a href="https://redirect.github.com/astral-sh/ruff/pull/11370">#11370</a>)</li> </ul> <h3>Formatter</h3> <ul> <li>Fix incorrect placement of trailing stub function comments (<a href="https://redirect.github.com/astral-sh/ruff/pull/11632">#11632</a>)</li> </ul> <h3>Server</h3> <ul> <li>Respect file exclusions in <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11590">#11590</a>)</li> <li>Add support for documents not exist on disk (<a href="https://redirect.github.com/astral-sh/ruff/pull/11588">#11588</a>)</li> <li>Add Vim and Kate setup guide for <code>ruff server</code> (<a href="https://redirect.github.com/astral-sh/ruff/pull/11615">#11615</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/ruff/commit/a8cf7096ff1acbccf3af3aa37cd6e2170f1b1bc5"><code>a8cf709</code></a> Bump version to v0.4.8 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11755">#11755</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/895eb3ef485836a75225e2534b638b98eaf30977"><code>895eb3e</code></a> [red-knot] refactor CFG outside of symbol table (<a href="https://redirect.github.com/astral-sh/ruff/issues/11746">#11746</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2e0a9755e07cfe7ee30683b65bbc1d9b5aa8b141"><code>2e0a975</code></a> Disallow access to <code>Parsed</code> output, use the API instead (<a href="https://redirect.github.com/astral-sh/ruff/issues/11741">#11741</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/b021b5babec5d88804cd67e03a946e1da0e1c0be"><code>b021b5b</code></a> Use <code>Tokens</code> from parsed type annotation or parsed source (<a href="https://redirect.github.com/astral-sh/ruff/issues/11740">#11740</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/eed6d784dfab61d0f1b1ebd95a7de7b1c6371149"><code>eed6d78</code></a> Update type annotation parsing API to return <code>Parsed</code> (<a href="https://redirect.github.com/astral-sh/ruff/issues/11739">#11739</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/8338db6c1247a22e0e42ab1b24acc45ae4837149"><code>8338db6</code></a> <code>ruff server</code>: Formatting a document with syntax problems no longer spams a v...</li> <li><a href="https://github.com/astral-sh/ruff/commit/d056d09547c5fe7ff5e787ada19fc37a73d9b444"><code>d056d09</code></a> [red-knot] add if-statement support to FlowGraph (<a href="https://redirect.github.com/astral-sh/ruff/issues/11673">#11673</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/1645be018d208271bbc82b9b965eaef0e727c32a"><code>1645be0</code></a> Update <code>NPY001</code> rule for NumPy 2.0 (<a href="https://redirect.github.com/astral-sh/ruff/issues/11735">#11735</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2c865023acb0593a9c367c43c46893c83ded25ba"><code>2c86502</code></a> CI: add job to run tests under minimum supported rust version (msrv) (<a href="https://redirect.github.com/astral-sh/ruff/issues/11737">#11737</a>)</li> <li><a href="https://github.com/astral-sh/ruff/commit/2567e14b7a550074c37fc5695e85510b5120a37a"><code>2567e14</code></a> Lexer should consider BOM for the start offset (<a href="https://redirect.github.com/astral-sh/ruff/issues/11732">#11732</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/ruff/compare/v0.4.4...v0.4.8">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the patch-dependencies group with 7 updates: | Package | From | To | | --- | --- | --- | | [alembic](https://github.com/sqlalchemy/alembic) | `1.13.1` | `1.13.2` | | [calypsso](https://github.com/aeecleclair/CalypSSO) | `1.0.0` | `1.0.1` | | [icalendar](https://github.com/collective/icalendar) | `5.0.12` | `5.0.13` | | [pydantic](https://github.com/pydantic/pydantic) | `2.7.3` | `2.7.4` | | [pymupdf](https://github.com/pymupdf/pymupdf) | `1.24.5` | `1.24.7` | | [redis](https://github.com/redis/redis-py) | `5.0.5` | `5.0.7` | | [sqlalchemy[asyncio]](https://github.com/sqlalchemy/sqlalchemy) | `2.0.30` | `2.0.31` | Updates `alembic` from 1.13.1 to 1.13.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sqlalchemy/alembic/releases">alembic's releases</a>.</em></p> <blockquote> <h1>1.13.2</h1> <p>Released: June 26, 2024</p> <h2>usecase</h2> <ul> <li> <p><strong>[usecase] [autogenerate]</strong> Improve computed column compare function to support multi-line expressions. Pull request courtesy of Georg Wicke-Arndt.</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/alembic/issues/1391">#1391</a></p> </li> </ul> <h2>bug</h2> <ul> <li> <p><strong>[bug] [commands]</strong> Fixed bug in alembic command stdout where long messages were not properly wrapping at the terminal width. Pull request courtesy Saif Hakim.</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/alembic/issues/1384">#1384</a></p> </li> <li> <p><strong>[bug] [execution]</strong> Fixed internal issue where Alembic would call <code>connection.execute()</code> sending an empty tuple to indicate "no params". In SQLAlchemy 2.1 this case will be deprecated as "empty sequence" is ambiguous as to its intent.</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/alembic/issues/1394">#1394</a></p> </li> <li> <p><strong>[bug] [tests]</strong> Fixes to support pytest 8.1 for the test suite.</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/alembic/issues/1435">#1435</a></p> </li> <li> <p><strong>[bug] [autogenerate] [postgresql]</strong> Fixed the detection of serial column in autogenerate with tables not under default schema on PostgreSQL</p> <p>References: <a href="https://redirect.github.com/sqlalchemy/alembic/issues/1479">#1479</a></p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sqlalchemy/alembic/commits">compare view</a></li> </ul> </details> <br /> Updates `calypsso` from 1.0.0 to 1.0.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/aeecleclair/CalypSSO/releases">calypsso's releases</a>.</em></p> <blockquote> <h2>v1.0.1</h2> <ul> <li><a href="https://github.com/aeecleclair/CalypSSO/commit/b27c7ee57c6e63b85ef2a5a7bb118f5b68873787">fix: sending password on login</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/aeecleclair/CalypSSO/compare/v1.0.0...v1.0.1">https://github.com/aeecleclair/CalypSSO/compare/v1.0.0...v1.0.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/aeecleclair/CalypSSO/commit/47fb01f79503a0228c3763fbc93cdc7c02daaddd"><code>47fb01f</code></a> Release 1.0.1</li> <li><a href="https://github.com/aeecleclair/CalypSSO/commit/b27c7ee57c6e63b85ef2a5a7bb118f5b68873787"><code>b27c7ee</code></a> fix: sending password on login</li> <li>See full diff in <a href="https://github.com/aeecleclair/CalypSSO/compare/v1.0.0...v1.0.1">compare view</a></li> </ul> </details> <br /> Updates `icalendar` from 5.0.12 to 5.0.13 <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/collective/icalendar/blob/main/CHANGES.rst">icalendar's changelog</a>.</em></p> <blockquote> <h2>5.0.13 (2024-06-20)</h2> <p>Minor changes:</p> <ul> <li>Guide to delete the build folder before running tests</li> <li>Add funding information</li> <li>Make documentation build with Python 3.12</li> <li>Update windows to olson conversion for Greenland Standard Time</li> <li>Extend examples in Usage with alarm and recurrence</li> <li>Document how to serve the built documentation to view with the browser</li> <li>Improve test coverage</li> </ul> <p>New features:</p> <ul> <li>Create GitHub releases for each tag.</li> </ul> <p>Bug fixes:</p> <ul> <li>Parse calendars with X-COMMENT properties at the end the file by ignoring these properites</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/collective/icalendar/commit/f97722e5e7f5615aa7c7f5600d5634151387e51b"><code>f97722e</code></a> Merge pull request <a href="https://redirect.github.com/collective/icalendar/issues/632">#632</a> from niccokunzmann/release</li> <li><a href="https://github.com/collective/icalendar/commit/39b049482992cc903a174b4a359427947bcc2a88"><code>39b0494</code></a> version 5.0.13</li> <li><a href="https://github.com/collective/icalendar/commit/e7ec88de2e4836a8a63b374671b87dc7eb47c3fe"><code>e7ec88d</code></a> Merge pull request <a href="https://redirect.github.com/collective/icalendar/issues/622">#622</a> from niccokunzmann/docs-error</li> <li><a href="https://github.com/collective/icalendar/commit/4484608c8c6d477ccb6d30e343df0255a1403dd3"><code>4484608</code></a> Merge pull request <a href="https://redirect.github.com/collective/icalendar/issues/621">#621</a> from niccokunzmann/docs-py-12</li> <li><a href="https://github.com/collective/icalendar/commit/9862fd145bac5f9224c5434aba89c708878492f8"><code>9862fd1</code></a> Merge pull request <a href="https://redirect.github.com/collective/icalendar/issues/628">#628</a> from raffifu/test/unit_prop</li> <li><a href="https://github.com/collective/icalendar/commit/d3e432d179aa2e60f82cd7cb3b4a51326ba037b7"><code>d3e432d</code></a> add test case for unit prop</li> <li><a href="https://github.com/collective/icalendar/commit/3a54fe77a050d065fd0e5a3e74cd0b745b449ccd"><code>3a54fe7</code></a> Merge pull request <a href="https://redirect.github.com/collective/icalendar/issues/625">#625</a> from niccokunzmann/docs-http-server</li> <li><a href="https://github.com/collective/icalendar/commit/f9dad100c537517cd9515548e0b82c4c47edb6b3"><code>f9dad10</code></a> log changes</li> <li><a href="https://github.com/collective/icalendar/commit/95ccf64575b0d9d47e7ca69d742ac1c8206ef039"><code>95ccf64</code></a> Document how to access the documentation in the browser</li> <li><a href="https://github.com/collective/icalendar/commit/4b5cb0034cc8f9ddd4ed1354ee06e74229221201"><code>4b5cb00</code></a> Guide to delete the build folder before testing</li> <li>Additional commits viewable in <a href="https://github.com/collective/icalendar/compare/v5.0.12...v5.0.13">compare view</a></li> </ul> </details> <br /> Updates `pydantic` from 2.7.3 to 2.7.4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/releases">pydantic's releases</a>.</em></p> <blockquote> <h2>v2.7.4 (2024-06-12)</h2> <h2>What's Changed</h2> <h3>Packaging</h3> <ul> <li>Bump <code>pydantic.v1</code> to <code>v1.10.16</code> reference by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9639">#9639</a></li> </ul> <h3>Fixes</h3> <ul> <li>Specify <code>recursive_guard</code> as kwarg in <code>FutureRef._evaluate</code> by <a href="https://github.com/vfazio"><code>@vfazio</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9612">#9612</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.7.3...v2.7.4">https://github.com/pydantic/pydantic/compare/v2.7.3...v2.7.4</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md">pydantic's changelog</a>.</em></p> <blockquote> <h2>v2.7.4 (2024-06-12)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.7.4">Github release</a></p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>pydantic.v1</code> to <code>v1.10.16</code> reference by <a href="https://github.com/sydney-runkle"><code>@sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9639">#9639</a></li> </ul> <h4>Fixes</h4> <ul> <li>Specify <code>recursive_guard</code> as kwarg in <code>FutureRef._evaluate</code> by <a href="https://github.com/vfazio"><code>@vfazio</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9612">#9612</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic/commit/1ab655a54c0defdc5a2a9b13bc90feb6fba78719"><code>1ab655a</code></a> Prep for v2.7.4 release (<a href="https://redirect.github.com/pydantic/pydantic/issues/9642">#9642</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/2e3650e4974024b2879030111f8ee0d233f14165"><code>2e3650e</code></a> V1 bump to v1.10.16 (<a href="https://redirect.github.com/pydantic/pydantic/issues/9639">#9639</a>)</li> <li>See full diff in <a href="https://github.com/pydantic/pydantic/compare/v2.7.3...v2.7.4">compare view</a></li> </ul> </details> <br /> Updates `pymupdf` from 1.24.5 to 1.24.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pymupdf/pymupdf/releases">pymupdf's releases</a>.</em></p> <blockquote> <h2>PyMuPDF-1.24.7 released</h2> <p>PyMuPDF-1.24.7 has been released.</p> <p>Wheels for Windows, Linux and MacOS, and the sdist, are available on pypi.org and can be installed in the usual way, for example:</p> <pre><code>python -m pip install --upgrade pymupdf </code></pre> <p>[Linux-aarch64 wheels will be built and uploaded later.]</p> <p><strong>Changes in version 1.24.7 (2024-06-26)</strong></p> <ul> <li> <p>Fixed issues:</p> <ul> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3615">#3615</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3616">#3616</a></li> </ul> </li> </ul> <h2>PyMuPDF-1.24.6 released</h2> <p>PyMuPDF-1.24.6 has been released.</p> <p>Wheels for Windows, Linux and MacOS, and the sdist, are available on pypi.org and can be installed in the usual way, for example:</p> <pre><code>python -m pip install --upgrade pymupdf </code></pre> <p>[Linux-aarch64 wheels will be built and uploaded later.]</p> <p><strong>Changes in version 1.24.6 (2024-06-25)</strong></p> <ul> <li> <p>Fixed issues:</p> <ul> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3599">#3599</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3594">#3594</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3591">#3591</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3561">#3561</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3559">#3559</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3539">#3539</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3519">#3519</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3510">#3510</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3494">#3494</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3470">#3470</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3400">#3400</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3347">#3347</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3237">#3237</a></li> <li><strong>Fixed</strong> <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3493">#3493</a></li> </ul> </li> <li> <p>Other:</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pymupdf/PyMuPDF/blob/main/changes.txt">pymupdf's changelog</a>.</em></p> <blockquote> <h1>Change Log</h1> <p><strong>Changes in version 1.24.7 (2024-06-26)</strong></p> <ul> <li> <p>Fixed issues:</p> <ul> <li><strong>Fixed</strong> <code>3615 <https://github.com/pymupdf/PyMuPDF/issues/3615></code>_: Document.pagemode or Document.pagelayout crashes for epub files</li> <li><strong>Fixed</strong> <code>3616 <https://github.com/pymupdf/PyMuPDF/issues/3616></code>_: not last version reported</li> </ul> </li> </ul> <p><strong>Changes in version 1.24.6 (2024-06-25)</strong></p> <ul> <li> <p>Fixed issues:</p> <ul> <li><strong>Fixed</strong> <code>3599 <https://github.com/pymupdf/PyMuPDF/issues/3599></code>_: Story.fit_width() has a weird line</li> <li><strong>Fixed</strong> <code>3594 <https://github.com/pymupdf/PyMuPDF/issues/3594></code>_: Garbled extraction for Amazon Sustainability Report</li> <li><strong>Fixed</strong> <code>3591 <https://github.com/pymupdf/PyMuPDF/issues/3591></code>_: 'width' in Page.get_drawings() returns width equal as 0</li> <li><strong>Fixed</strong> <code>3561 <https://github.com/pymupdf/PyMuPDF/issues/3561></code>_: ZeroDivisionError: float division by zero with page.apply_redactions()</li> <li><strong>Fixed</strong> <code>3559 <https://github.com/pymupdf/PyMuPDF/issues/3559></code>_: SegFault 11 when empty H1 H2 H3 H4 etc element is used in insert_htmlbox</li> <li><strong>Fixed</strong> <code>3539 <https://github.com/pymupdf/PyMuPDF/issues/3539></code>_: Add dotted gridline detection to table recognition</li> <li><strong>Fixed</strong> <code>3519 <https://github.com/pymupdf/PyMuPDF/issues/3519></code>_: get_toc(simple=False) AttributeError: 'Outline' object has no attribute 'rect'</li> <li><strong>Fixed</strong> <code>3510 <https://github.com/pymupdf/PyMuPDF/issues/3510></code>_: page.get_label() gets wrong label on the first page of doc</li> <li><strong>Fixed</strong> <code>3494 <https://github.com/pymupdf/PyMuPDF/issues/3494></code>_: 1.24.2/1.24.3: spurious characters introduced when using subset_fonts and insert_pdf</li> <li><strong>Fixed</strong> <code>3470 <https://github.com/pymupdf/PyMuPDF/issues/3470></code>_: subset_fonts error exit without exception/warning</li> <li><strong>Fixed</strong> <code>3400 <https://github.com/pymupdf/PyMuPDF/issues/3400></code>_: set_toc alters link coordinates for some rotated pages on pymupdf 1.24.2</li> <li><strong>Fixed</strong> <code>3347 <https://github.com/pymupdf/PyMuPDF/issues/3347></code>_: Incorrect links to points on pages having different heights</li> <li><strong>Fixed</strong> <code>3237 <https://github.com/pymupdf/PyMuPDF/issues/3237></code>_: Set_metadata() does not work</li> <li><strong>Fixed</strong> <code>3493 <https://github.com/pymupdf/PyMuPDF/discussions/3493></code>_: Isolate PyMuPDF from other libraries; issues when PyMuPDF is loaded with other libraries like GdkPixbuf</li> </ul> </li> <li> <p>Other:</p> <ul> <li> <p>Fixed concurrent use of PyMuPDF caused by use of constant temporary filenames.</p> </li> <li> <p>Add musllinux x86_64 wheels to release.</p> </li> <li> <p>Added clearer version information:</p> <ul> <li><code>pymupdf.pymupdf_version</code>.</li> <li><code>pymupdf.mupdf_version</code>.</li> <li><code>pymupdf.pymupdf_date</code>.</li> </ul> </li> </ul> </li> </ul> <p><strong>Changes in version 1.24.5 (2024-05-30)</strong></p> <ul> <li> <p>Fixed issues:</p> <ul> <li><strong>Fixed</strong> <code>3479 <https://github.com/pymupdf/PyMuPDF/issues/3479></code>_: regression: fill_textbox: IndexError: pop from empty list</li> <li><strong>Fixed</strong> <code>3488 <https://github.com/pymupdf/PyMuPDF/issues/3488></code>_: set_toc method error</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/c1c556478ecd9f410f94ce12536bf1752ade5598"><code>c1c5564</code></a> Update changelog, version numbers and release dates for release 1.24.7.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/c940484f43532ddf2c5471d3035837b3accf6aaf"><code>c940484</code></a> scripts/gh_release.py: avoid pyodide build problem with old .pyodide-xbuilden...</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/35e7e0f2a3699aa4201fd17c97050d0115757f83"><code>35e7e0f</code></a> tests/: added a test that we don't segv when treating .epub doc as a pdf.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/c542b260926419539783d12899203b1b04894d3f"><code>c542b26</code></a> src/<strong>init</strong>.py: improved downcasting to pdf document or page.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/5ebf905de7c3e29cf8507f57755ce510b1263199"><code>5ebf905</code></a> scripts/gh_release.py: fix exclusion of musllinux*aarch64.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/ef99b8aa50e761b0bc9f7d6940a796513e4d846a"><code>ef99b8a</code></a> src/: updated version number and date, should have been done for release of 1...</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/99b414a695d4ac3565627c1d709b0b7c1425ff2d"><code>99b414a</code></a> Update changelog, version numbers and release dates for release 1.24.6.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/972bcf3ddf79249f30a8fb6899cba4d759c8e652"><code>972bcf3</code></a> src/ tests/: Correct links to pages with different size/rotation.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/83b36bce0e345a96c9995e40e6b0a798b62d8a33"><code>83b36bc</code></a> tests/resources/test_1645_expected_1.25.pdf: updated to match mupdf output.</li> <li><a href="https://github.com/pymupdf/PyMuPDF/commit/9df123a5406614c6b55019c53d6d2236b9ba6009"><code>9df123a</code></a> tests/: added test for <a href="https://redirect.github.com/pymupdf/pymupdf/issues/3594">#3594</a>.</li> <li>Additional commits viewable in <a href="https://github.com/pymupdf/pymupdf/compare/1.24.5...1.24.7">compare view</a></li> </ul> </details> <br /> Updates `redis` from 5.0.5 to 5.0.7 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/redis/redis-py/releases">redis's releases</a>.</em></p> <blockquote> <h2>5.0.7</h2> <h1>Changes</h1> <h2>🐛 Bug Fixes</h2> <ul> <li>None UnixDomainSocket timeout (<a href="https://redirect.github.com/redis/redis-py/issues/3293">#3293</a>)</li> </ul> <h2>🧰 Maintenance</h2> <ul> <li>Updated redis version to represent latest available build (<a href="https://redirect.github.com/redis/redis-py/issues/3296">#3296</a>)</li> </ul> <h2>Contributors</h2> <p>We'd like to thank all the contributors who worked on this release!</p> <p><a href="https://github.com/vladvildanov"><code>@vladvildanov</code></a> <a href="https://github.com/dmaier-redislabs"><code>@dmaier-redislabs</code></a></p> <h2>5.0.6</h2> <h1>Changes</h1> <h2>🐛 Bug Fixes</h2> <ul> <li>Handle lists in the response of INFO</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/redis/redis-py/commit/7b3f0d652fdd08dfbe61656f148ddc0f4f2d4fde"><code>7b3f0d6</code></a> [5.0] Fixes CAE-333 (<a href="https://redirect.github.com/redis/redis-py/issues/3293">#3293</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/d2084e3ec9e62d1691e4d3f835a2e272de6a8689"><code>d2084e3</code></a> Updated redis version to represent latest available build (<a href="https://redirect.github.com/redis/redis-py/issues/3296">#3296</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/a0660a6e2e04591891c694a3746244ed7df2dc99"><code>a0660a6</code></a> Updated version of redis-stack docker image (<a href="https://redirect.github.com/redis/redis-py/issues/3295">#3295</a>)</li> <li><a href="https://github.com/redis/redis-py/commit/40a90926b97593d04591f4a3a67706c2a15a2b89"><code>40a9092</code></a> Handle lists in the response of INFO (<a href="https://redirect.github.com/redis/redis-py/issues/3277">#3277</a>)</li> <li>See full diff in <a href="https://github.com/redis/redis-py/compare/v5.0.5...v5.0.7">compare view</a></li> </ul> </details> <br /> Updates `sqlalchemy[asyncio]` from 2.0.30 to 2.0.31 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sqlalchemy/sqlalchemy/releases">sqlalchemy[asyncio]'s releases</a>.</em></p> <blockquote> <h1>2.0.31</h1> <p>Released: June 18, 2024</p> <h2>general</h2> <ul> <li> <p><strong>[general] [bug]</strong> Set up full Python 3.13 support to the extent currently possible, repairing issues within internal language helpers as well as the serializer extension module.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11417">#11417</a></p> </li> </ul> <h2>orm</h2> <ul> <li> <p><strong>[orm] [usecase]</strong> Added missing parameter <code>_orm.with_polymorphic.name</code> that allows specifying the name of returned <code>_orm.AliasedClass</code>.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11361">#11361</a></p> </li> <li> <p><strong>[orm] [bug]</strong> Fixed issue where a <code>MetaData</code> collection would not be serializable, if an <code>Enum</code> or <code>Boolean</code> datatype were present which had been adapted. This specific scenario in turn could occur when using the <code>Enum</code> or <code>Boolean</code> within ORM Annotated Declarative form where type objects frequently get copied.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11365">#11365</a></p> </li> <li> <p><strong>[orm] [bug]</strong> Fixed issue where the <code>_orm.selectinload()</code> and <code>_orm.subqueryload()</code> loader options would fail to take effect when made against an inherited subclass that itself included a subclass-specific <code>_orm.Mapper.with_polymorphic</code> setting.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11446">#11446</a></p> </li> <li> <p><strong>[orm] [bug]</strong> Fixed very old issue involving the <code>_orm.joinedload.innerjoin</code> parameter where making use of this parameter mixed into a query that also included joined eager loads along a self-referential or other cyclical relationship, along with complicating factors like inner joins added for secondary tables and such, would have the chance of splicing a particular inner join to the wrong part of the query. Additional state has been added to the internal method that does this splice to make a better decision as to where splicing should proceed.</p> <p>References: <a href="https://www.sqlalchemy.org/trac/ticket/11449">#11449</a></p> </li> <li> <p><strong>[orm] [bug] [regression]</strong> Fixed bug in ORM Declarative where the <code>__table__</code> directive could not be declared as a class function with <code>_orm.declared_attr()</code> on a superclass, including an <code>__abstract__</code> class as well as coming from the</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/sqlalchemy/sqlalchemy/commits">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Description of the bug
in 1.24.3, when i call
somedoc.set_toc([(1, "sometitle", 1), ])
, it raises a lot of keyerror exceptions,1.24.2 have no problem in same code。How to reproduce the bug
i have no idea
PyMuPDF version
1.24.3
Operating system
Windows
Python version
3.8
The text was updated successfully, but these errors were encountered: