]> git.ipfire.org Git - thirdparty/jinja.git/log
thirdparty/jinja.git
3 years agoTypo in docs (trailing backtick) 1557/head
Ben Zinberg [Fri, 24 Dec 2021 23:22:57 +0000 (18:22 -0500)] 
Typo in docs (trailing backtick)

At least, I _think_ this is a typo? :slightly_smiling_face:

3 years agoMerge pull request #1548 from mabdelaal86/patch-1
David Lord [Sun, 28 Nov 2021 19:14:18 +0000 (11:14 -0800)] 
Merge pull request #1548 from mabdelaal86/patch-1

Fix little typo in docstring

3 years agoFix little typo in docstring 1548/head
Mohamed Abdelaal [Sun, 28 Nov 2021 18:34:23 +0000 (19:34 +0100)] 
Fix little typo in docstring

Fix a little typo in `do_sort` docstring.

3 years agoMerge pull request #1543 from pallets/release-3.0.3 3.0.3
David Lord [Tue, 9 Nov 2021 20:25:09 +0000 (12:25 -0800)] 
Merge pull request #1543 from pallets/release-3.0.3

release version 3.0.3

3 years agorelease version 3.0.3 1543/head
David Lord [Tue, 9 Nov 2021 20:22:19 +0000 (12:22 -0800)] 
release version 3.0.3

3 years agoMerge pull request #1542 from pallets/package-loader-file
David Lord [Tue, 9 Nov 2021 20:21:05 +0000 (12:21 -0800)] 
Merge pull request #1542 from pallets/package-loader-file

PackageLoader works with single module file

3 years agoPackageLoader works with single module file 1542/head
David Lord [Tue, 9 Nov 2021 20:14:48 +0000 (12:14 -0800)] 
PackageLoader works with single module file

3 years agoMerge pull request #1541 from pallets/docs-pow-order
David Lord [Tue, 9 Nov 2021 18:54:26 +0000 (10:54 -0800)] 
Merge pull request #1541 from pallets/docs-pow-order

document chained pow order

3 years agodocument chained pow order 1541/head
David Lord [Tue, 9 Nov 2021 18:50:35 +0000 (10:50 -0800)] 
document chained pow order

3 years agoMerge pull request #1540 from pallets/docs-macro-defaults
David Lord [Tue, 9 Nov 2021 18:35:56 +0000 (10:35 -0800)] 
Merge pull request #1540 from pallets/docs-macro-defaults

rewrite docs about extending template objects

3 years agorewrite docs about extending template objects 1540/head
David Lord [Tue, 9 Nov 2021 18:32:06 +0000 (10:32 -0800)] 
rewrite docs about extending template objects

3 years agoMerge pull request #1539 from pallets/docs-macro-defaults
David Lord [Tue, 9 Nov 2021 18:15:16 +0000 (10:15 -0800)] 
Merge pull request #1539 from pallets/docs-macro-defaults

remove reference to macro.defaults

3 years agoremove reference to macro.defaults 1539/head
David Lord [Tue, 9 Nov 2021 18:13:10 +0000 (10:13 -0800)] 
remove reference to macro.defaults

3 years agoMerge pull request #1538 from pallets/docs-template
David Lord [Tue, 9 Nov 2021 18:10:05 +0000 (10:10 -0800)] 
Merge pull request #1538 from pallets/docs-template

rewrite Template class doc

3 years agorewrite Template class doc 1538/head
David Lord [Tue, 9 Nov 2021 18:05:35 +0000 (10:05 -0800)] 
rewrite Template class doc

3 years agoMerge pull request #1509 from kianmeng/fix-typos
David Lord [Tue, 9 Nov 2021 17:17:51 +0000 (09:17 -0800)] 
Merge pull request #1509 from kianmeng/fix-typos

Fix typos

3 years agoMerge pull request #1522 from klette/fix-node-hash
David Lord [Tue, 9 Nov 2021 17:16:49 +0000 (09:16 -0800)] 
Merge pull request #1522 from klette/fix-node-hash

Use `object.__hash__` for `Node.__hash__`

3 years agoUse object.__hash__ for Node.__hash__ 1522/head
Kristian Klette [Wed, 27 Oct 2021 18:35:20 +0000 (20:35 +0200)] 
Use object.__hash__ for Node.__hash__

This fixes a regression in commit 60293416db69782fd048a7820667afa4ae7c423b that
changed the `__hash__` implementation of Node from the default pointer
hash, to a hash based on the node fields.

Since these fields contains list objects, they are not hashable, making
every call to `Node.__hash__` fail.

This breaks some third-party usage such as in `django-compressor`
(See: https://github.com/django-compressor/django-compressor/issues/1060)

This changed reverts the hash method back to using `object.__hash__` as
the hash implementation.

3 years agoMerge pull request #1516 from mohd-akram/async-perf
David Lord [Tue, 9 Nov 2021 16:54:15 +0000 (08:54 -0800)] 
Merge pull request #1516 from mohd-akram/async-perf

Reduce async overhead due to auto_await

3 years agoReduce async overhead due to auto_await 1516/head
Mohamed Akram [Mon, 18 Oct 2021 19:58:54 +0000 (23:58 +0400)] 
Reduce async overhead due to auto_await

3 years agoMerge pull request #1537 from mkrizek/literal_eval-py-310
David Lord [Tue, 9 Nov 2021 16:46:33 +0000 (08:46 -0800)] 
Merge pull request #1537 from mkrizek/literal_eval-py-310

native: keep same behavior on Python 3.10

3 years agonative: keep same behavior on Python 3.10 1537/head
Martin Krizek [Tue, 9 Nov 2021 16:15:31 +0000 (17:15 +0100)] 
native: keep same behavior on Python 3.10

3 years agoMerge pull request #1536 from pallets/traceback-codetype
David Lord [Tue, 9 Nov 2021 16:27:21 +0000 (08:27 -0800)] 
Merge pull request #1536 from pallets/traceback-codetype

simplify CodeType rewriting

3 years agosimplify CodeType rewriting 1536/head
David Lord [Tue, 9 Nov 2021 15:10:53 +0000 (07:10 -0800)] 
simplify CodeType rewriting

3 years agoMerge pull request #1527 from hroncok/py3.11-tracebacks
David Lord [Fri, 5 Nov 2021 14:22:28 +0000 (07:22 -0700)] 
Merge pull request #1527 from hroncok/py3.11-tracebacks

Tests: Adapt expected traceback regexes for Python 3.11.0a1

3 years agoTests: Adapt expected traceback regexes for Python 3.11.0a1 1527/head
Miro Hrončok [Thu, 4 Nov 2021 17:03:06 +0000 (18:03 +0100)] 
Tests: Adapt expected traceback regexes for Python 3.11.0a1

Fixes https://github.com/pallets/jinja/issues/1526

Before:

      File ".../broken.html", line 2, in <module>
        {{ fail() }}
      File ".../test_debug.py", line 32, in <lambda>
        tmpl.render(fail=lambda: 1 / 0)
    ZeroDivisionError: division by zero

After:

      File ".../broken.html", line 2, in <module>
        {{ fail() }}
        ^^^^^^^^^^^^
      File ".../test_debug.py", line 32, in <lambda>
        tmpl.render(fail=lambda: 1 / 0)
                                 ~~^~~
    ZeroDivisionError: division by zero

3 years agoMerge pull request #1531 from pallets/test-3.11
David Lord [Fri, 5 Nov 2021 14:18:41 +0000 (07:18 -0700)] 
Merge pull request #1531 from pallets/test-3.11

test Python 3.11

3 years agotest Python 3.11 1531/head
David Lord [Fri, 5 Nov 2021 14:15:25 +0000 (07:15 -0700)] 
test Python 3.11

3 years agoupdate py==1.11.0 to work on Python 3.11
David Lord [Fri, 5 Nov 2021 14:13:12 +0000 (07:13 -0700)] 
update py==1.11.0 to work on Python 3.11

3 years agoMerge pull request #1530 from pallets/test-3.10
David Lord [Fri, 5 Nov 2021 13:45:06 +0000 (06:45 -0700)] 
Merge pull request #1530 from pallets/test-3.10

test Python 3.10

3 years agotest Python 3.10 1530/head
David Lord [Fri, 5 Nov 2021 13:32:06 +0000 (06:32 -0700)] 
test Python 3.10

3 years agoMerge pull request #1524 from pallets/update-requirements
David Lord [Mon, 1 Nov 2021 19:47:56 +0000 (12:47 -0700)] 
Merge pull request #1524 from pallets/update-requirements

update requirements

3 years agoupdate requirements 1524/head
David Lord [Mon, 1 Nov 2021 19:44:28 +0000 (12:44 -0700)] 
update requirements

3 years agoFix typos 1509/head
Kian-Meng, Ang [Tue, 12 Oct 2021 14:36:44 +0000 (22:36 +0800)] 
Fix typos

3 years agoMerge pull request #1506 from pallets/release-3.0.2 3.0.2
David Lord [Tue, 5 Oct 2021 00:53:10 +0000 (17:53 -0700)] 
Merge pull request #1506 from pallets/release-3.0.2

release version 3.0.2

3 years agorelease version 3.0.2 1506/head
David Lord [Tue, 5 Oct 2021 00:48:23 +0000 (17:48 -0700)] 
release version 3.0.2

3 years agoMerge pull request #1505 from pallets/package-loader-path
David Lord [Tue, 5 Oct 2021 00:45:34 +0000 (17:45 -0700)] 
Merge pull request #1505 from pallets/package-loader-path

omit curdir from PackageLoader root path

3 years agoomit curdir from PackageLoader root path 1505/head
David Lord [Tue, 5 Oct 2021 00:39:39 +0000 (17:39 -0700)] 
omit curdir from PackageLoader root path

fixes compatibility with zip imports

Co-authored-by: kuepe-sl <peter_kueffner@web.de>
3 years agoMerge pull request #1495 from daniel-stoneuk/patch-async-globals
David Lord [Mon, 4 Oct 2021 20:51:05 +0000 (13:51 -0700)] 
Merge pull request #1495 from daniel-stoneuk/patch-async-globals

3 years agoimported macros can access template globals in async mode 1495/head
Daniel Stone [Sat, 18 Sep 2021 15:24:10 +0000 (16:24 +0100)] 
imported macros can access template globals in async mode

3 years agoMerge pull request #1504 from pallets/update-requirements
David Lord [Mon, 4 Oct 2021 20:25:34 +0000 (13:25 -0700)] 
Merge pull request #1504 from pallets/update-requirements

update requirements

3 years agoapply pyupgrade 1504/head
David Lord [Mon, 4 Oct 2021 20:22:49 +0000 (13:22 -0700)] 
apply pyupgrade

3 years agoupdate pre-commit hooks
David Lord [Mon, 4 Oct 2021 20:22:34 +0000 (13:22 -0700)] 
update pre-commit hooks

3 years agoupdate requirements
David Lord [Mon, 4 Oct 2021 20:22:22 +0000 (13:22 -0700)] 
update requirements

3 years agoMerge pull request #1503 from pallets/except-chain
David Lord [Mon, 4 Oct 2021 20:19:54 +0000 (13:19 -0700)] 
Merge pull request #1503 from pallets/except-chain

use exception chaining

3 years agouse exception chaining 1503/head
David Lord [Mon, 4 Oct 2021 20:16:13 +0000 (13:16 -0700)] 
use exception chaining

fixes flake8-bugbear B904

3 years agoMerge pull request #1501 from pallets/ignore-internal-warning
David Lord [Mon, 4 Oct 2021 19:47:32 +0000 (12:47 -0700)] 
Merge pull request #1501 from pallets/ignore-internal-warning

ignore internal asyncio warning

3 years agoignore internal asyncio warning 1501/head
David Lord [Mon, 4 Oct 2021 19:19:05 +0000 (12:19 -0700)] 
ignore internal asyncio warning

https://bugs.python.org/issue45097

3 years agoreplace http with https in docs
nabbisen [Sat, 28 Aug 2021 05:56:11 +0000 (14:56 +0900)] 
replace http with https in docs

3 years agoMerge pull request #1482 from esadek/pip_link
David Lord [Tue, 10 Aug 2021 13:18:48 +0000 (06:18 -0700)] 
Merge pull request #1482 from esadek/pip_link

update pip link

3 years agoupdate pip link 1482/head
Emil Sadek [Mon, 9 Aug 2021 07:08:47 +0000 (00:08 -0700)] 
update pip link

3 years agoMerge pull request #1455 from ewjoachim/undefined-contains-1204
David Lord [Mon, 9 Aug 2021 18:10:01 +0000 (11:10 -0700)] 
Merge pull request #1455 from ewjoachim/undefined-contains-1204

Only StrictUndefined.__contains__ raises error

3 years agoFixes #1448: Revert Undefined.__contains__ to 2.x behaviour 1455/head
Joachim Jablon [Wed, 26 May 2021 09:54:58 +0000 (11:54 +0200)] 
Fixes #1448: Revert Undefined.__contains__ to 2.x behaviour

3 years agoMerge pull request #1454 from atetubou/deterministic_test
David Lord [Mon, 9 Aug 2021 18:00:30 +0000 (11:00 -0700)] 
Merge pull request #1454 from atetubou/deterministic_test

make compile_templates deterministic

3 years agomake compile_templates deterministic 1454/head
Takuto Ikuta [Wed, 26 May 2021 08:09:33 +0000 (17:09 +0900)] 
make compile_templates deterministic

Python3 doesn't keep insertion order for set(), so this sorts some
places for deterministic output for compiled template.

3 years agoMerge pull request #1449 from amy-lei/loop-scoping
David Lord [Mon, 9 Aug 2021 17:19:58 +0000 (10:19 -0700)] 
Merge pull request #1449 from amy-lei/loop-scoping

fix loop scoping bug

4 years agoMerge pull request #1451 from greyli/improve-contributing-guide
David Lord [Tue, 25 May 2021 13:44:22 +0000 (06:44 -0700)] 
Merge pull request #1451 from greyli/improve-contributing-guide

Improve the contributing guide

4 years agoImprove the contributing guide 1451/head
Grey Li [Mon, 24 May 2021 08:59:22 +0000 (16:59 +0800)] 
Improve the contributing guide

4 years agoclear assignments in loops at end of iteration 1449/head
Amy [Fri, 21 May 2021 17:56:58 +0000 (13:56 -0400)] 
clear assignments in loops at end of iteration

4 years agoMerge pull request #1447 from pallets/update-theme
David Lord [Fri, 21 May 2021 03:52:48 +0000 (20:52 -0700)] 
Merge pull request #1447 from pallets/update-theme

Update theme

4 years agoupdate pallets and sphinx requirements 1447/head
David Lord [Fri, 21 May 2021 03:49:38 +0000 (20:49 -0700)] 
update pallets and sphinx requirements

4 years agoupdate pallets-sphinx-themes
David Lord [Fri, 21 May 2021 03:48:16 +0000 (20:48 -0700)] 
update pallets-sphinx-themes

4 years agostart version 3.0.2.dev0
David Lord [Tue, 18 May 2021 20:39:52 +0000 (13:39 -0700)] 
start version 3.0.2.dev0

4 years agoMerge pull request #1445 from pallets/release-3.0.1 3.0.1
David Lord [Tue, 18 May 2021 20:37:58 +0000 (13:37 -0700)] 
Merge pull request #1445 from pallets/release-3.0.1

release version 3.0.1

4 years agorelease version 3.0.1 1445/head
David Lord [Tue, 18 May 2021 20:35:09 +0000 (13:35 -0700)] 
release version 3.0.1

4 years agoMerge pull request #1444 from pallets/event-loop
David Lord [Tue, 18 May 2021 20:31:11 +0000 (13:31 -0700)] 
Merge pull request #1444 from pallets/event-loop

use asyncio.run

4 years agouse asyncio.run 1444/head
David Lord [Tue, 18 May 2021 20:22:46 +0000 (13:22 -0700)] 
use asyncio.run

4 years agoMerge pull request #1442 from dannysepler/use-pathlib-in-places
David Lord [Tue, 18 May 2021 17:32:26 +0000 (10:32 -0700)] 
Merge pull request #1442 from dannysepler/use-pathlib-in-places

Use pathlib in some test places

4 years agoUse pathlib in some test places 1442/head
Danny Sepler [Mon, 17 May 2021 03:45:06 +0000 (23:45 -0400)] 
Use pathlib in some test places

4 years agoMerge pull request #1440 from pallets/deprecated-markup
David Lord [Mon, 17 May 2021 13:48:44 +0000 (06:48 -0700)] 
Merge pull request #1440 from pallets/deprecated-markup

fix deprecated `Markup` subclass

4 years agofix deprecated `Markup` subclass 1439/head 1440/head
David Lord [Mon, 17 May 2021 13:41:42 +0000 (06:41 -0700)] 
fix deprecated `Markup` subclass

4 years agoMerge pull request #1436 from pallets/deprecated-extensions
David Lord [Fri, 14 May 2021 00:54:32 +0000 (17:54 -0700)] 
Merge pull request #1436 from pallets/deprecated-extensions

fix context for deprecated extensions

4 years agoshow context for deprecated extensions 1436/head
David Lord [Fri, 14 May 2021 00:48:19 +0000 (17:48 -0700)] 
show context for deprecated extensions

4 years agoMerge pull request #1435 from pallets/update-typing
David Lord [Fri, 14 May 2021 00:35:29 +0000 (17:35 -0700)] 
Merge pull request #1435 from pallets/update-typing

Update typing

4 years agofix typing that wasn't available in Python 3.6.0 1434/head 1435/head
David Lord [Fri, 14 May 2021 00:24:19 +0000 (17:24 -0700)] 
fix typing that wasn't available in Python 3.6.0

4 years agomark top-level names as exported
David Lord [Fri, 14 May 2021 00:19:23 +0000 (17:19 -0700)] 
mark top-level names as exported

4 years agoMerge pull request #1420 from pallets/default-branch
David Lord [Tue, 11 May 2021 23:25:39 +0000 (16:25 -0700)] 
Merge pull request #1420 from pallets/default-branch

rename default branch in files

4 years agorename default branch in files 1420/head
David Lord [Tue, 11 May 2021 23:22:14 +0000 (16:22 -0700)] 
rename default branch in files

4 years agoMerge pull request #1419 from ThiefMaster/fix-sphinx-build
David Lord [Tue, 11 May 2021 23:15:13 +0000 (16:15 -0700)] 
Merge pull request #1419 from ThiefMaster/fix-sphinx-build

Install sphinx 4.1-dev from git

4 years agoRemove type annotation breaking sphinx builds 1419/head
Adrian Moennich [Tue, 11 May 2021 23:04:07 +0000 (01:04 +0200)] 
Remove type annotation breaking sphinx builds

4 years agoInstall sphinx 4.1-dev from git
Adrian Moennich [Tue, 11 May 2021 22:18:42 +0000 (00:18 +0200)] 
Install sphinx 4.1-dev from git

Otherwise docs builds are broken due to sphinx-doc/sphinx#9216

4 years agoMerge pull request #1418 from pallets/update-markupsafe
David Lord [Tue, 11 May 2021 21:23:04 +0000 (14:23 -0700)] 
Merge pull request #1418 from pallets/update-markupsafe

update markupsafe minimum version

4 years agoupdate markupsafe minimum version 1418/head
David Lord [Tue, 11 May 2021 21:19:25 +0000 (14:19 -0700)] 
update markupsafe minimum version

4 years agostart version 3.0.1.dev0
David Lord [Tue, 11 May 2021 21:10:02 +0000 (14:10 -0700)] 
start version 3.0.1.dev0

4 years agoMerge pull request #1417 from pallets/release-3.0.0 3.0.0
David Lord [Tue, 11 May 2021 21:04:48 +0000 (14:04 -0700)] 
Merge pull request #1417 from pallets/release-3.0.0

Release 3.0.0

4 years agorelease version 3.0.0 1417/head
David Lord [Tue, 11 May 2021 21:02:01 +0000 (14:02 -0700)] 
release version 3.0.0

4 years agoupdate requirements
David Lord [Tue, 11 May 2021 21:01:39 +0000 (14:01 -0700)] 
update requirements

4 years agoMerge pull request #1416 from pallets/pre-commit-ci-schedule
David Lord [Tue, 11 May 2021 14:09:27 +0000 (07:09 -0700)] 
Merge pull request #1416 from pallets/pre-commit-ci-schedule

update pre-commit monthly

4 years agoupdate pre-commit monthly 1416/head
David Lord [Tue, 11 May 2021 14:05:21 +0000 (07:05 -0700)] 
update pre-commit monthly

4 years agoMerge pull request #1415 from pallets/pre-commit-ci-update-config
David Lord [Mon, 10 May 2021 20:41:59 +0000 (13:41 -0700)] 
Merge pull request #1415 from pallets/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

4 years ago[pre-commit.ci] pre-commit autoupdate 1415/head
pre-commit-ci[bot] [Mon, 10 May 2021 20:26:14 +0000 (20:26 +0000)] 
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.14.0 → v2.15.0](https://github.com/asottile/pyupgrade/compare/v2.14.0...v2.15.0)
- [github.com/psf/black: 21.4b2 → 21.5b1](https://github.com/psf/black/compare/21.4b2...21.5b1)
- [github.com/PyCQA/flake8: 3.9.1 → 3.9.2](https://github.com/PyCQA/flake8/compare/3.9.1...3.9.2)

4 years agoMerge pull request #1414 from pallets/typing-marker
David Lord [Mon, 10 May 2021 13:58:42 +0000 (06:58 -0700)] 
Merge pull request #1414 from pallets/typing-marker

fix py.typed in manifest

4 years agofix py.typed in manifest 1414/head
David Lord [Mon, 10 May 2021 13:53:52 +0000 (06:53 -0700)] 
fix py.typed in manifest

4 years agoMerge pull request #1412 from pallets/typing
David Lord [Sat, 8 May 2021 20:38:35 +0000 (13:38 -0700)] 
Merge pull request #1412 from pallets/typing

add type annotations

4 years agoadd type annotations 1412/head
David Lord [Sat, 8 May 2021 20:03:15 +0000 (13:03 -0700)] 
add type annotations

4 years agoMerge pull request #1411 from pallets/pre-commit-ci-update-config
David Lord [Mon, 3 May 2021 18:13:49 +0000 (11:13 -0700)] 
Merge pull request #1411 from pallets/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate

4 years ago[pre-commit.ci] pre-commit autoupdate 1411/head
pre-commit-ci[bot] [Mon, 3 May 2021 17:22:40 +0000 (17:22 +0000)] 
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.13.0 → v2.14.0](https://github.com/asottile/pyupgrade/compare/v2.13.0...v2.14.0)
- [github.com/psf/black: 21.4b0 → 21.4b2](https://github.com/psf/black/compare/21.4b0...21.4b2)

4 years agoMerge pull request #1410 from pallets/dependabot/pip/babel-2.9.1
dependabot[bot] [Wed, 28 Apr 2021 20:57:26 +0000 (20:57 +0000)] 
Merge pull request #1410 from pallets/dependabot/pip/babel-2.9.1

4 years agoMerge pull request #1409 from pallets/dependabot/pip/pre-commit-2.12.1
dependabot[bot] [Wed, 28 Apr 2021 20:56:09 +0000 (20:56 +0000)] 
Merge pull request #1409 from pallets/dependabot/pip/pre-commit-2.12.1

4 years agoBump babel from 2.9.0 to 2.9.1 1410/head
dependabot[bot] [Wed, 28 Apr 2021 20:55:15 +0000 (20:55 +0000)] 
Bump babel from 2.9.0 to 2.9.1

Bumps [babel](https://github.com/python-babel/babel) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/python-babel/babel/releases)
- [Changelog](https://github.com/python-babel/babel/blob/master/CHANGES)
- [Commits](https://github.com/python-babel/babel/compare/v2.9.0...v2.9.1)

Signed-off-by: dependabot[bot] <support@github.com>