Skip to content
Myr

Merge branch 'stable'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parents eb0df04, d3d0910 · Browse files · 9 files+65 added−63 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

9 files+65 added−63 removed

  • other:+65 added−63 removed

9 files+65 added−63 removed

modified:.github/workflows/publish.yaml+5 added-5 removed
modified:.github/workflows/tests.yaml+8 added-16 removed
modified:docs/extensions.rst+4 added
37 unmodified lines
38``ngettext``, and optionally ``pgettext`` and ``npgettext``, either39globally or when rendering. A ``_()`` function is added as an alias to40the ``gettext`` function.4142A convenient way to provide these functions is to call one of the below43methods depending on the translation system in use. If you do not require44actual translation, use ``Environment.install_null_translations`` to45install no-op functions.4647Environment Methods48~~~~~~~~~~~~~~~~~~~49
378 unmodified lines
modified:requirements/build.txt+3 added-3 removed
1#2# This file is autogenerated by pip-compile with Python 3.122# This file is autogenerated by pip-compile with Python 3.133# by the following command:4#5# pip-compile build.in6#7build==1.2.17build==1.2.2.post18 # via -r build.in9packaging==24.110 # via build11pyproject-hooks==1.1.011pyproject-hooks==1.2.012 # via build
modified:requirements/dev.txt+25 added-22 removed
1#2# This file is autogenerated by pip-compile with Python 3.122# This file is autogenerated by pip-compile with Python 3.133# by the following command:4#5# pip-compile dev.in6#
4 unmodified lines
11 # outcome12 # trio13babel==2.16.014 # via sphinx15build==1.2.115build==1.2.2.post116 # via pip-tools17cachetools==5.5.018 # via tox19certifi==2024.7.419certifi==2024.8.3020 # via requests21cfgv==3.4.022 # via pre-commit23chardet==5.2.024 # via tox25charset-normalizer==3.3.225charset-normalizer==3.4.026 # via requests27click==8.1.728 # via29 # pip-compile-multi30 # pip-tools31colorama==0.4.632 # via tox33distlib==0.3.833distlib==0.3.934 # via virtualenv35docutils==0.21.236 # via sphinx37filelock==3.15.437filelock==3.16.138 # via39 # tox40 # virtualenv41identify==2.6.041identify==2.6.142 # via pre-commit43idna==3.843idna==3.1044 # via45 # requests46 # trio47imagesize==1.4.1
1 unmodified line
49iniconfig==2.0.050 # via pytest51jinja2==3.1.452 # via sphinx53markupsafe==2.1.553markupsafe==3.0.254 # via jinja255mypy==1.11.155mypy==1.13.056 # via -r typing.in57mypy-extensions==1.0.058 # via mypy59nodeenv==1.9.1
7 unmodified lines
67 # pyproject-api68 # pytest69 # sphinx70 # tox71pallets-sphinx-themes==2.1.371pallets-sphinx-themes==2.3.072 # via -r docs.in73pip-compile-multi==2.6.474 # via -r dev.in75pip-tools==7.4.176 # via pip-compile-multi77platformdirs==4.2.277platformdirs==4.3.678 # via79 # tox80 # virtualenv81pluggy==1.5.082 # via83 # pytest84 # tox85pre-commit==3.8.085pre-commit==4.0.186 # via -r dev.in87pygments==2.18.088 # via sphinx89pyproject-api==1.7.189pyproject-api==1.8.090 # via tox91pyproject-hooks==1.1.091pyproject-hooks==1.2.092 # via93 # build94 # pip-tools95pytest==8.3.295pytest==8.3.396 # via -r tests.in97pyyaml==6.0.298 # via pre-commit99requests==2.32.3
3 unmodified lines
103snowballstemmer==2.2.0104 # via sphinx105sortedcontainers==2.4.0106 # via trio107sphinx==8.0.2107sphinx==8.1.3108 # via109 # -r docs.in110 # pallets-sphinx-themes111 # sphinx-issues112 # sphinx-notfound-page113 # sphinxcontrib-log-cabinet113sphinx-issues==4.1.0114sphinx-issues==5.0.0115 # via -r docs.in116sphinx-notfound-page==1.0.4117 # via pallets-sphinx-themes118sphinxcontrib-applehelp==2.0.0119 # via sphinx120sphinxcontrib-devhelp==2.0.0121 # via sphinx
8 unmodified lines
130sphinxcontrib-serializinghtml==2.0.0131 # via sphinx132toposort==1.10133 # via pip-compile-multi131tox==4.18.0134tox==4.23.2135 # via -r dev.in133trio==0.26.2136trio==0.27.0137 # via -r tests.in138typing-extensions==4.12.2139 # via mypy137urllib3==2.2.2140urllib3==2.2.3141 # via requests139virtualenv==20.26.3142virtualenv==20.27.0143 # via144 # pre-commit145 # tox146wheel==0.44.0
5 unmodified lines
modified:requirements/docs.txt+12 added-9 removed
1#2# This file is autogenerated by pip-compile with Python 3.122# This file is autogenerated by pip-compile with Python 3.133# by the following command:4#5# pip-compile docs.in6#7alabaster==1.0.08 # via sphinx9babel==2.16.010 # via sphinx11certifi==2024.7.411certifi==2024.8.3012 # via requests13charset-normalizer==3.3.213charset-normalizer==3.4.014 # via requests15docutils==0.21.216 # via sphinx17idna==3.817idna==3.1018 # via requests19imagesize==1.4.120 # via sphinx21jinja2==3.1.422 # via sphinx23markupsafe==2.1.523markupsafe==3.0.224 # via jinja225packaging==24.126 # via27 # pallets-sphinx-themes28 # sphinx29pallets-sphinx-themes==2.1.329pallets-sphinx-themes==2.3.030 # via -r docs.in31pygments==2.18.032 # via sphinx33requests==2.32.334 # via sphinx35snowballstemmer==2.2.036 # via sphinx37sphinx==8.0.237sphinx==8.1.338 # via39 # -r docs.in40 # pallets-sphinx-themes41 # sphinx-issues42 # sphinx-notfound-page43 # sphinxcontrib-log-cabinet43sphinx-issues==4.1.044sphinx-issues==5.0.045 # via -r docs.in46sphinx-notfound-page==1.0.447 # via pallets-sphinx-themes48sphinxcontrib-applehelp==2.0.049 # via sphinx50sphinxcontrib-devhelp==2.0.051 # via sphinx
6 unmodified lines
58sphinxcontrib-qthelp==2.0.059 # via sphinx60sphinxcontrib-serializinghtml==2.0.061 # via sphinx59urllib3==2.2.262urllib3==2.2.363 # via requests
modified:requirements/tests.txt+4 added-4 removed
1#2# This file is autogenerated by pip-compile with Python 3.122# This file is autogenerated by pip-compile with Python 3.133# by the following command:4#5# pip-compile tests.in6#7attrs==24.2.08 # via9 # outcome10 # trio11idna==3.811idna==3.1012 # via trio13iniconfig==2.0.014 # via pytest15outcome==1.3.0.post0
1 unmodified line
17packaging==24.118 # via pytest19pluggy==1.5.020 # via pytest21pytest==8.3.221pytest==8.3.322 # via -r tests.in23sniffio==1.3.124 # via trio25sortedcontainers==2.4.026 # via trio27trio==0.26.227trio==0.27.028 # via -r tests.in
modified:requirements/typing.txt+2 added-2 removed
1#2# This file is autogenerated by pip-compile with Python 3.122# This file is autogenerated by pip-compile with Python 3.133# by the following command:4#5# pip-compile typing.in6#7mypy==1.11.17mypy==1.13.08 # via -r typing.in9mypy-extensions==1.0.010 # via mypy11typing-extensions==4.12.2
1 unmodified line
modified:.pre-commit-config.yaml+2 added-2 removed
1repos:2 - repo: https://github.com/astral-sh/ruff-pre-commit3 rev: v0.6.23 rev: v0.7.14 hooks:5 - id: ruff6 - id: ruff-format7 - repo: https://github.com/pre-commit/pre-commit-hooks8 rev: v4.6.08 rev: v5.0.09 hooks:10 - id: check-merge-conflict11 - id: debug-statements12 - id: fix-byte-order-marker
2 unmodified lines