Skip to content

Commit ee6c734

Browse files
committed
Merge branch 'stable'
2 parents eb0df04 + d3d0910 commit ee6c734

File tree

9 files changed

+65
-63
lines changed

9 files changed

+65
-63
lines changed

.github/workflows/publish.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
outputs:
1010
hash: ${{ steps.hash.outputs.hash }}
1111
steps:
12-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
13-
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
1414
with:
1515
python-version: '3.x'
1616
cache: pip
@@ -23,7 +23,7 @@ jobs:
2323
- name: generate hash
2424
id: hash
2525
run: cd dist && echo "hash=$(sha256sum * | base64 -w0)" >> $GITHUB_OUTPUT
26-
- uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
26+
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
2727
with:
2828
path: ./dist
2929
provenance:
@@ -64,10 +64,10 @@ jobs:
6464
id-token: write
6565
steps:
6666
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
67-
- uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
67+
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
6868
with:
6969
repository-url: https://test.pypi.org/legacy/
7070
packages-dir: artifact/
71-
- uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
71+
- uses: pypa/gh-action-pypi-publish@f7600683efdcb7656dec5b29656edb7bc586e597 # v1.10.3
7272
with:
7373
packages-dir: artifact/

.github/workflows/tests.yaml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
name: Tests
22
on:
33
push:
4-
branches:
5-
- main
6-
- '*.x'
7-
paths-ignore:
8-
- 'docs/**'
9-
- '*.md'
10-
- '*.rst'
4+
branches: [main, stable]
5+
paths-ignore: ['docs/**', '*.md', '*.rst']
116
pull_request:
12-
paths-ignore:
13-
- 'docs/**'
14-
- '*.md'
15-
- '*.rst'
7+
paths-ignore: [ 'docs/**', '*.md', '*.rst' ]
168
jobs:
179
tests:
1810
name: ${{ matrix.name || matrix.python }}
@@ -31,8 +23,8 @@ jobs:
3123
- {python: '3.8'}
3224
- {name: PyPy, python: 'pypy-3.10', tox: pypy310}
3325
steps:
34-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
35-
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
3628
with:
3729
python-version: ${{ matrix.python }}
3830
allow-prereleases: true
@@ -43,14 +35,14 @@ jobs:
4335
typing:
4436
runs-on: ubuntu-latest
4537
steps:
46-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
47-
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
38+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
4840
with:
4941
python-version: '3.x'
5042
cache: pip
5143
cache-dependency-path: requirements*/*.txt
5244
- name: cache mypy
53-
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
45+
uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
5446
with:
5547
path: ./.mypy_cache
5648
key: mypy|${{ hashFiles('pyproject.toml') }}

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.6.2
3+
rev: v0.7.1
44
hooks:
55
- id: ruff
66
- id: ruff-format
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.6.0
8+
rev: v5.0.0
99
hooks:
1010
- id: check-merge-conflict
1111
- id: debug-statements

docs/extensions.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ After enabling, an application has to provide functions for ``gettext``,
3939
globally or when rendering. A ``_()`` function is added as an alias to
4040
the ``gettext`` function.
4141

42+
A convenient way to provide these functions is to call one of the below
43+
methods depending on the translation system in use. If you do not require
44+
actual translation, use ``Environment.install_null_translations`` to
45+
install no-op functions.
4246

4347
Environment Methods
4448
~~~~~~~~~~~~~~~~~~~

requirements/build.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
55
# pip-compile build.in
66
#
7-
build==1.2.1
7+
build==1.2.2.post1
88
# via -r build.in
99
packaging==24.1
1010
# via build
11-
pyproject-hooks==1.1.0
11+
pyproject-hooks==1.2.0
1212
# via build

requirements/dev.txt

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
55
# pip-compile dev.in
@@ -12,35 +12,35 @@ attrs==24.2.0
1212
# trio
1313
babel==2.16.0
1414
# via sphinx
15-
build==1.2.1
15+
build==1.2.2.post1
1616
# via pip-tools
1717
cachetools==5.5.0
1818
# via tox
19-
certifi==2024.7.4
19+
certifi==2024.8.30
2020
# via requests
2121
cfgv==3.4.0
2222
# via pre-commit
2323
chardet==5.2.0
2424
# via tox
25-
charset-normalizer==3.3.2
25+
charset-normalizer==3.4.0
2626
# via requests
2727
click==8.1.7
2828
# via
2929
# pip-compile-multi
3030
# pip-tools
3131
colorama==0.4.6
3232
# via tox
33-
distlib==0.3.8
33+
distlib==0.3.9
3434
# via virtualenv
3535
docutils==0.21.2
3636
# via sphinx
37-
filelock==3.15.4
37+
filelock==3.16.1
3838
# via
3939
# tox
4040
# virtualenv
41-
identify==2.6.0
41+
identify==2.6.1
4242
# via pre-commit
43-
idna==3.8
43+
idna==3.10
4444
# via
4545
# requests
4646
# trio
@@ -50,9 +50,9 @@ iniconfig==2.0.0
5050
# via pytest
5151
jinja2==3.1.4
5252
# via sphinx
53-
markupsafe==2.1.5
53+
markupsafe==3.0.2
5454
# via jinja2
55-
mypy==1.11.1
55+
mypy==1.13.0
5656
# via -r typing.in
5757
mypy-extensions==1.0.0
5858
# via mypy
@@ -68,31 +68,31 @@ packaging==24.1
6868
# pytest
6969
# sphinx
7070
# tox
71-
pallets-sphinx-themes==2.1.3
71+
pallets-sphinx-themes==2.3.0
7272
# via -r docs.in
7373
pip-compile-multi==2.6.4
7474
# via -r dev.in
7575
pip-tools==7.4.1
7676
# via pip-compile-multi
77-
platformdirs==4.2.2
77+
platformdirs==4.3.6
7878
# via
7979
# tox
8080
# virtualenv
8181
pluggy==1.5.0
8282
# via
8383
# pytest
8484
# tox
85-
pre-commit==3.8.0
85+
pre-commit==4.0.1
8686
# via -r dev.in
8787
pygments==2.18.0
8888
# via sphinx
89-
pyproject-api==1.7.1
89+
pyproject-api==1.8.0
9090
# via tox
91-
pyproject-hooks==1.1.0
91+
pyproject-hooks==1.2.0
9292
# via
9393
# build
9494
# pip-tools
95-
pytest==8.3.2
95+
pytest==8.3.3
9696
# via -r tests.in
9797
pyyaml==6.0.2
9898
# via pre-commit
@@ -104,14 +104,17 @@ snowballstemmer==2.2.0
104104
# via sphinx
105105
sortedcontainers==2.4.0
106106
# via trio
107-
sphinx==8.0.2
107+
sphinx==8.1.3
108108
# via
109109
# -r docs.in
110110
# pallets-sphinx-themes
111111
# sphinx-issues
112+
# sphinx-notfound-page
112113
# sphinxcontrib-log-cabinet
113-
sphinx-issues==4.1.0
114+
sphinx-issues==5.0.0
114115
# via -r docs.in
116+
sphinx-notfound-page==1.0.4
117+
# via pallets-sphinx-themes
115118
sphinxcontrib-applehelp==2.0.0
116119
# via sphinx
117120
sphinxcontrib-devhelp==2.0.0
@@ -128,15 +131,15 @@ sphinxcontrib-serializinghtml==2.0.0
128131
# via sphinx
129132
toposort==1.10
130133
# via pip-compile-multi
131-
tox==4.18.0
134+
tox==4.23.2
132135
# via -r dev.in
133-
trio==0.26.2
136+
trio==0.27.0
134137
# via -r tests.in
135138
typing-extensions==4.12.2
136139
# via mypy
137-
urllib3==2.2.2
140+
urllib3==2.2.3
138141
# via requests
139-
virtualenv==20.26.3
142+
virtualenv==20.27.0
140143
# via
141144
# pre-commit
142145
# tox

requirements/docs.txt

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
55
# pip-compile docs.in
@@ -8,40 +8,43 @@ alabaster==1.0.0
88
# via sphinx
99
babel==2.16.0
1010
# via sphinx
11-
certifi==2024.7.4
11+
certifi==2024.8.30
1212
# via requests
13-
charset-normalizer==3.3.2
13+
charset-normalizer==3.4.0
1414
# via requests
1515
docutils==0.21.2
1616
# via sphinx
17-
idna==3.8
17+
idna==3.10
1818
# via requests
1919
imagesize==1.4.1
2020
# via sphinx
2121
jinja2==3.1.4
2222
# via sphinx
23-
markupsafe==2.1.5
23+
markupsafe==3.0.2
2424
# via jinja2
2525
packaging==24.1
2626
# via
2727
# pallets-sphinx-themes
2828
# sphinx
29-
pallets-sphinx-themes==2.1.3
29+
pallets-sphinx-themes==2.3.0
3030
# via -r docs.in
3131
pygments==2.18.0
3232
# via sphinx
3333
requests==2.32.3
3434
# via sphinx
3535
snowballstemmer==2.2.0
3636
# via sphinx
37-
sphinx==8.0.2
37+
sphinx==8.1.3
3838
# via
3939
# -r docs.in
4040
# pallets-sphinx-themes
4141
# sphinx-issues
42+
# sphinx-notfound-page
4243
# sphinxcontrib-log-cabinet
43-
sphinx-issues==4.1.0
44+
sphinx-issues==5.0.0
4445
# via -r docs.in
46+
sphinx-notfound-page==1.0.4
47+
# via pallets-sphinx-themes
4548
sphinxcontrib-applehelp==2.0.0
4649
# via sphinx
4750
sphinxcontrib-devhelp==2.0.0
@@ -56,5 +59,5 @@ sphinxcontrib-qthelp==2.0.0
5659
# via sphinx
5760
sphinxcontrib-serializinghtml==2.0.0
5861
# via sphinx
59-
urllib3==2.2.2
62+
urllib3==2.2.3
6063
# via requests

requirements/tests.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
55
# pip-compile tests.in
@@ -8,7 +8,7 @@ attrs==24.2.0
88
# via
99
# outcome
1010
# trio
11-
idna==3.8
11+
idna==3.10
1212
# via trio
1313
iniconfig==2.0.0
1414
# via pytest
@@ -18,11 +18,11 @@ packaging==24.1
1818
# via pytest
1919
pluggy==1.5.0
2020
# via pytest
21-
pytest==8.3.2
21+
pytest==8.3.3
2222
# via -r tests.in
2323
sniffio==1.3.1
2424
# via trio
2525
sortedcontainers==2.4.0
2626
# via trio
27-
trio==0.26.2
27+
trio==0.27.0
2828
# via -r tests.in

requirements/typing.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.13
33
# by the following command:
44
#
55
# pip-compile typing.in
66
#
7-
mypy==1.11.1
7+
mypy==1.13.0
88
# via -r typing.in
99
mypy-extensions==1.0.0
1010
# via mypy

0 commit comments

Comments
 (0)