9a2141e
0.5.0479b7ee
Update README6c247a2
Modernize testseec75d3
Switch to async def wherever possible786c3e9
Prepare for 3.81451075
Update README.rst5db1e38
Add several async os functionsa60f19b
Add async remove function9cf2ac8
Merge pull request #53 from graingert/patch-1b88912c
all should be a List[str]b8e2a45
0.12.006580c6
Update changelogb45de23
Fixed failing test case, 'test_asyncio_marker_without_loop'.238cced
Put event_loop first among the fixtures of asyncio tests, fixes #154.e5e3dc7
Added unittests for issue #154.a7e5795
0.12.0 open for business!1026c39
0.11.0ab2b140
Test on Python 3.8, drop 3.3 and 3.46397a22
plugin: Use pytest 5.4.0 new Function API21a0f94
Replace yield_fixture() by fixture()Sourced from pytest's releases.
\n\n\n5.4.1
\npytest 5.4.1 (2020-03-13)
\nBug Fixes
\n\n
\n- \n
\n#6909: Revert the change introduced by #6330, which required all arguments to
\n@pytest.mark.parametrize
to be explicitly defined in the function signature.The intention of the original change was to remove what was expected to be an unintended/surprising behavior, but it turns out many people relied on it, so the restriction has been reverted.
\n- \n
\n#6910: Fix crash when plugins return an unknown stats while using the
\n--reportlog
option.
Sourced from pytest's changelog.
\n3d0f3ba
Preparing release version 5.4.1b9e2cd0
Merge pull request #6914 from nicoddemus/revert-6330a84fcbf
Revert "[parametrize] enforce explicit argnames declaration (#6330)"59c1bfa
Merge pull request #6913 from nicoddemus/backport-69103267f64
Merge pull request #6910 from nicoddemus/resultlog-logreportc9fd1bd
Preparing release version 5.4.093aa988
Merge pull request #6901 from RonnyPfannschmidt/regendoc-fix-simple7996724
Merge pull request #6902 from RoyalTS/filterwarnings-docfix90ee8a7
docfix378a75d
run and fix tox -e regen to prepare 5.4Sourced from jinja2's releases.
\n\n\n2.11.1
\nThis fixes an issue in async environment when indexing the result of an attribute lookup, like
\n\n{{ data.items[1:] }}
.
Sourced from jinja2's changelog.
\n\n\nVersion 2.11.1
\nReleased 2020-01-30
\n\n
\n- Fix a bug that prevented looking up a key after an attribute (
\n{{ data.items[1:] }}
) in an async template. 1141Version 2.11.0
\nReleased 2020-01-27
\n\n
\n ... (truncated)\n- Drop support for Python 2.6, 3.3, and 3.4. This will be the last version to support Python 2.7 and 3.5.
\n- Added a new
\nChainableUndefined
class to support getitem and getattr on an undefined object. 977- Allow
\n{%+
syntax (with NOP behavior) whenlstrip_blocks
is disabled. 748- Added a
\ndefault
parameter for themap
filter. 557- Exclude environment globals from meta.find_undeclared_variables. 931
\n- Float literals can be written with scientific notation, like 2.56e-3. 912, 922
\n- Int and float literals can be written with the '_' separator for legibility, like 12_345. 923
\n- Fix a bug causing deadlocks in
\nLRUCache.setdefault
. 1000- The
\ntrim
filter takes an optional string of characters to trim. 828- A new
\njinja2.ext.debug
extension adds a{% debug %}
tag to quickly dump the current context and available filters and tests. 174, 798, 983- Lexing templates with large amounts of whitespace is much faster. 857, 858
\n- Parentheses around comparisons are preserved, so
\n{{ 2 * (3 < 5) }}
outputs "2" instead of "False". 755, 938- Add new
\nboolean
,false
,true
,integer
andfloat
tests. 824- The environment's
\nfinalize
function is only applied to the output of expressions (constant or not), not static template data. 63- When providing multiple paths to
\nFileSystemLoader
, a template can have the same name as a directory. 821- Always return Undefined when omitting the
\nelse
clause in a{{ 'foo' if bar }}
expression, regardless of the environment'sundefined
class. Omitting theelse
clause is a valid shortcut and should not raise an error when using StrictUndefined. 710, 1079- Fix behavior of
\nloop
control variables such aslength
andrevindex0
when looping over a generator. 459, 751, 794, 993- Async support is only loaded the first time an environment enables it, in order to avoid a slow initial import. 765
\n- In async environments, the
\n|map
filter will await the filter call if needed. 913- In for loops that access
\nloop
attributes, the iterator is not advanced ahead of the current iteration unlesslength
,revindex
,nextitem
, orlast
are accessed. This makes it less likely to breakgroupby
results. 555, 1101- In async environments, the
\nloop
attributeslength
andrevindex
work for async iterators. 1101- In async environments, values from attribute/property access will be awaited if needed. 1101
\n- ~loader.PackageLoader doesn't depend on setuptools or pkg_resources. 970
\n- \n
PackageLoader
has limited support for 420 namespace packages. 1097- Support os.PathLike objects in ~loader.FileSystemLoader and ~loader.ModuleLoader. 870
\n- ~nativetypes.NativeTemplate correctly handles quotes between expressions.
\n"'{{ a }}', '{{ b }}'"
renders as the tuple('1', '2')
rather than the string'1, 2'
. 1020- Creating a ~nativetypes.NativeTemplate directly creates a ~nativetypes.NativeEnvironment instead of a default Environment. 1091
\n- After calling
\nLRUCache.copy()
, the copy's queue methods point to the correct queue. 843- Compiling templates always writes UTF-8 instead of defaulting to the system encoding. 889
\n- \n
|wordwrap
filter treats existing newlines as separate paragraphs to be wrapped individually, rather than creating short intermediate lines. 175- Add
\nbreak_on_hyphens
parameter to|wordwrap
filter. 550- Cython compiled functions decorated as context functions will be passed the context. 1108
\n- When chained comparisons of constants are evaluated at compile time, the result follows Python's behavior of returning
\nFalse
if any comparison returnsFalse
, rather than only the last one. 1102- Tracebacks for exceptions in templates show the correct line numbers and source for Python >= 3.7. 1104
\n- Tracebacks for template syntax errors in Python 3 no longer show internal compiler frames. 763
\n- Add a
\nDerivedContextReference
node that can be used by extensions to get the current context and local variables such asloop
. 860- Constant folding during compilation is applied to some node types that were previously overlooked. 733
\n- \n
TemplateSyntaxError.source
is not empty when raised from an included template. 457
b85283e
release version 2.11.13d5bfc6
Merge pull request #1143 from pallets/bugfix/attribute-accessd61c1ea
add changelog15d7e61
Added regression test for slicing of attributes05dee9b
Fix attribute access in async code. Fixes #1141bbdafe3
release version 2.11.09ff27f6
add python 3.8 classifier, clean up changelogd312609
isolate bytecode cache tests9849979
import Markup from markupsafe, fix flake8 import warningsc6d864c
increment bytecode cache version