diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bbb3b46..a0d113cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Instructions: Add a subsection under `[Unreleased]` for additions, fixes, change ### Fixed - Improvements to printouts: hide image descriptions and order tasks correctly. +- Bug that incorrectly clipped prefigure images for portable builds ## [2.36.0] - 2026-01-14 diff --git a/poetry.lock b/poetry.lock index 0a7e0a1e..9af1a01e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.2 and should not be changed by hand. [[package]] name = "annotated-types" @@ -17,6 +17,32 @@ type = "legacy" url = "https://pypi.org/simple" reference = "pypi-public" +[[package]] +name = "anyio" +version = "4.12.1" +description = "High-level concurrency and networking framework on top of asyncio or Trio" +optional = true +python-versions = ">=3.9" +groups = ["main"] +markers = "extra == \"homepage\" or extra == \"all\"" +files = [ + {file = "anyio-4.12.1-py3-none-any.whl", hash = "sha256:d405828884fc140aa80a3c667b8beed277f1dfedec42ba031bd6ac3db606ab6c"}, + {file = "anyio-4.12.1.tar.gz", hash = "sha256:41cfcc3a4c85d3f05c932da7c26d0201ac36f72abd4435ba90d0464a3ffed703"}, +] + +[package.dependencies] +exceptiongroup = {version = ">=1.0.2", markers = "python_version < \"3.11\""} +idna = ">=2.8" +typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""} + +[package.extras] +trio = ["trio (>=0.31.0) ; python_version < \"3.10\"", "trio (>=0.32.0) ; python_version >= \"3.10\""] + +[package.source] +type = "legacy" +url = "https://pypi.org/simple" +reference = "pypi-public" + [[package]] name = "autocommand" version = "2.2.2" @@ -616,12 +642,12 @@ version = "1.2.2" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" -groups = ["dev"] -markers = "python_version == \"3.10\"" +groups = ["main", "dev"] files = [ {file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"}, {file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"}, ] +markers = {main = "(extra == \"homepage\" or extra == \"all\") and python_version == \"3.10\"", dev = "python_version == \"3.10\""} [package.extras] test = ["pytest (>=6)"] @@ -1969,15 +1995,15 @@ reference = "pypi-public" [[package]] name = "prefig" -version = "0.5.0" +version = "0.5.7" description = "An authoring system for mathematical diagrams" optional = true python-versions = ">=3.10,<4.0" groups = ["main"] markers = "extra == \"prefigure\" or extra == \"all\"" files = [ - {file = "prefig-0.5.0-py3-none-any.whl", hash = "sha256:2c5126a0b81dd863451a4cfe20a19613bf9e590f4d2194c9ac2a8ec23ff95e15"}, - {file = "prefig-0.5.0.tar.gz", hash = "sha256:332b2c217058db7dd7540e55b3fd995ab64368d4627303144d7bf5c915b2a546"}, + {file = "prefig-0.5.7-py3-none-any.whl", hash = "sha256:7bcacd8b31566887c359488cfb24ce6cd2bb5e69b1883901e6fbea3fc38a032e"}, + {file = "prefig-0.5.7.tar.gz", hash = "sha256:d5b8241b35adde9ef09a47ca0002c12e0c24a98706348c8b06401600c8199447"}, ] [package.dependencies] @@ -3153,15 +3179,21 @@ reference = "pypi-public" [[package]] name = "urllib3" version = "2.2.3" -description = "" +description = "HTTP library with thread-safe connection pooling, file post, and more." optional = false -python-versions = "*" +python-versions = ">=3.8" groups = ["main"] files = [ {file = "urllib3-2.2.3-py3-none-any.whl", hash = "sha256:ca899ca043dcb1bafa3e262d73aa25c465bfb49e0bd9dd5d59f1d0acba2f8fac"}, {file = "urllib3-2.2.3.tar.gz", hash = "sha256:e7d814a81dad81e6caf2ec9fdedb284ecc9c73076b62654547cc64ccdcae26e9"}, ] +[package.extras] +brotli = ["brotli (>=1.0.9) ; platform_python_implementation == \"CPython\"", "brotlicffi (>=0.8.0) ; platform_python_implementation != \"CPython\""] +h2 = ["h2 (>=4,<5)"] +socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] +zstd = ["zstandard (>=0.18.0)"] + [package.source] type = "legacy" url = "https://pypi.org/simple" @@ -3223,9 +3255,9 @@ reference = "pypi-public" [[package]] name = "watchfiles" version = "0.24.0" -description = "" +description = "Simple, modern and high performance file watching and code reload in python." optional = true -python-versions = "*" +python-versions = ">=3.8" groups = ["main"] markers = "extra == \"homepage\" or extra == \"all\"" files = [ @@ -3314,6 +3346,9 @@ files = [ {file = "watchfiles-0.24.0.tar.gz", hash = "sha256:afb72325b74fa7a428c009c1b8be4b4d7c2afedafb2982827ef2156646df2fe1"}, ] +[package.dependencies] +anyio = ">=3.0.0" + [package.source] type = "legacy" url = "https://pypi.org/simple" @@ -3471,4 +3506,4 @@ prefigure = ["prefig"] [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "a828809c4b3507c3d01f6d46bacdea29bd3169eb6f7dce9d5a15124663dd7630" +content-hash = "4ae015f5c93cf0199f8f9feb70619db0fd367b8cbe58e968033a3fb4018efe59" diff --git a/pretext/__init__.py b/pretext/__init__.py index fd9e307e..78f2f34a 100644 --- a/pretext/__init__.py +++ b/pretext/__init__.py @@ -19,7 +19,7 @@ VERSION = get_version("pretext", Path(__file__).parent.parent) -CORE_COMMIT = "03e9352d844671f32ff5dcc4d1074814e145844d" +CORE_COMMIT = "4e4ff13706654ca5eb4ff9936bc2acddbd4aa648" def activate() -> None: diff --git a/pyproject.toml b/pyproject.toml index 1c2ca4af..0661ead6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ plastex = "^3" jinja2 = "^3" coloraide = "^4" pelican = { extras = ["markdown"], version = "^4.10", optional = true } -prefig = { extras = ["text"], version = "^0.5.0", optional = true } +prefig = { extras = ["text"], version = "^0.5.7", optional = true } citeproc-py = "^0"