Commit Graph

2819 Commits

Author SHA1 Message Date
Kevin
bea927e9b6 Supprt simple inline set statements 2024-05-22 13:19:25 -04:00
Kevin
fa3618f817 Add support for set block statement 2024-05-22 13:09:12 -04:00
Kevin
74a488e35e Basic support for filter block statement 2024-05-22 12:50:21 -04:00
Kevin
a7374b4dad Baisc support for blocks 2024-05-22 12:27:59 -04:00
Kevin
86202c7d4a Document the from statement 2024-05-22 12:16:13 -04:00
Kevin
f634f20e11 Describe import statement 2024-05-22 12:10:26 -04:00
Kevin
e8fd8ee882 Support variable names and lists 2024-05-22 12:03:19 -04:00
Kevin
c8225418fa Support basic include inline statement 2024-05-22 11:33:20 -04:00
Kevin
72ab9b5015 Initial OHM grammar for extends tag
OHM is a PEG-based grammar parser generator which seems to be more
compatible with the Jinja language. We are not making use of their
automatic space handling since in Jinja whitespace is significant.
2024-05-22 11:25:40 -04:00
David Lord
8710cabd4f
Convert rST code block to Markdown in README (#1981) 2024-05-19 09:48:28 -04:00
Timothée Mazzucotelli
90750800d4
Convert rST code block to Markdown in README 2024-05-19 15:32:56 +02:00
David Lord
b002d9c6c3
Merge branch '3.1.x' 2024-05-13 08:47:27 -07:00
David Lord
e82013c399
test with python 3.13 (#1977) 2024-05-13 08:45:44 -07:00
David Lord
004476c22b
test on python 3.13
update dev dependencies
refactor update tox envs
3.7 requires an old version of trio

xfail zip loader template test
2024-05-13 08:40:44 -07:00
Thomas Grainger
1655128cfc
test on trio, fix all missing aclose related warnings (#1960) 2024-05-11 15:01:12 -07:00
David Lord
079e8312c3
use asyncio.run in Template.render (#1952) 2024-05-11 13:45:07 -07:00
Thomas Grainger
5bc613ec45
use asyncio.run 2024-05-11 13:41:46 -07:00
David Lord
2fcabb529f
start version 3.1.5 2024-05-11 13:41:03 -07:00
David Lord
a516a99bab
[pre-commit.ci] pre-commit autoupdate (#1975) 2024-05-06 15:29:13 -07:00
pre-commit-ci[bot]
a89ed5fe0f
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.3)
2024-05-06 22:05:37 +00:00
David Lord
11550f9df9
Merge branch '3.1.x' 2024-05-05 16:45:28 -07:00
David Lord
6e7b0face6
release version 3.1.4 (#1974) 2024-05-05 16:42:40 -07:00
David Lord
dd4a8b5466
release version 3.1.4 2024-05-05 16:37:30 -07:00
David Lord
0668239dc6
Merge pull request from GHSA-h75v-3vvj-5mfj
disallow invalid characters in keys to xmlattr filter
2024-05-05 16:35:24 -07:00
David Lord
bbd5bcee7b
Merge branch '3.1.x' 2024-05-02 09:18:48 -07:00
David Lord
d655030770
disallow invalid characters in keys to xmlattr filter 2024-05-02 09:14:00 -07:00
David Lord
a7863ba9d3
add ghsa links 2024-05-02 08:42:59 -07:00
David Lord
b5c98e78c2
start version 3.1.4 2024-05-02 08:41:50 -07:00
David Lord
c6dd4bac24
Bump the python-requirements group in /requirements with 5 updates (#1973) 2024-05-01 06:43:12 -07:00
David Lord
6fcf463011
fix mypy findings 2024-05-01 06:41:20 -07:00
David Lord
27ea85b001
Bump the github-actions group with 2 updates (#1972) 2024-05-01 05:54:56 -07:00
dependabot[bot]
2e8bbca767
Bump the python-requirements group in /requirements with 5 updates
Bumps the python-requirements group in /requirements with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [pytest](https://github.com/pytest-dev/pytest) | `8.1.1` | `8.2.0` |
| [pallets-sphinx-themes](https://github.com/pallets/pallets-sphinx-themes) | `2.1.2` | `2.1.3` |
| [mypy](https://github.com/python/mypy) | `1.9.0` | `1.10.0` |
| [pyright](https://github.com/RobertCraigie/pyright-python) | `1.1.359` | `1.1.360` |
| [tox](https://github.com/tox-dev/tox) | `4.14.2` | `4.15.0` |


Updates `pytest` from 8.1.1 to 8.2.0
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.1.1...8.2.0)

Updates `pallets-sphinx-themes` from 2.1.2 to 2.1.3
- [Release notes](https://github.com/pallets/pallets-sphinx-themes/releases)
- [Changelog](https://github.com/pallets/pallets-sphinx-themes/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/pallets-sphinx-themes/compare/2.1.2...2.1.3)

Updates `mypy` from 1.9.0 to 1.10.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/1.9.0...v1.10.0)

Updates `pyright` from 1.1.359 to 1.1.360
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.359...v1.1.360)

Updates `tox` from 4.14.2 to 4.15.0
- [Release notes](https://github.com/tox-dev/tox/releases)
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
- [Commits](https://github.com/tox-dev/tox/compare/4.14.2...4.15.0)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-requirements
- dependency-name: pallets-sphinx-themes
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-requirements
- dependency-name: pyright
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-requirements
- dependency-name: tox
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-requirements
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 07:30:56 +00:00
dependabot[bot]
4a7a153a48
Bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/checkout` from 4.1.3 to 4.1.4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1d96c772d1...0ad4b8fada)

Updates `actions/download-artifact` from 4.1.6 to 4.1.7
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](9c19ed7fe5...65a9edc588)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 07:10:08 +00:00
David Lord
2a17038fca
Revert "upload/download-artifact v4"
This reverts commit c8aca74587.
2024-04-23 16:22:41 -07:00
David Lord
c8aca74587
upload/download-artifact v4 2024-04-23 15:48:42 -07:00
David Lord
9b33637538
Bump the github-actions group across 1 directory with 4 updates (#1970) 2024-04-23 12:35:10 -07:00
dependabot[bot]
2e3e3774a9
Bump the github-actions group across 1 directory with 4 updates
Bumps the github-actions group with 4 updates in the / directory: [actions/checkout](https://github.com/actions/checkout), [actions/upload-artifact](https://github.com/actions/upload-artifact), [slsa-framework/slsa-github-generator](https://github.com/slsa-framework/slsa-github-generator) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/checkout` from 4.1.2 to 4.1.3
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9bb56186c3...1d96c772d1)

Updates `actions/upload-artifact` from 3.1.3 to 4.3.3
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](a8a3f3ad30...65462800fd)

Updates `slsa-framework/slsa-github-generator` from 1.10.0 to 2.0.0
- [Release notes](https://github.com/slsa-framework/slsa-github-generator/releases)
- [Changelog](https://github.com/slsa-framework/slsa-github-generator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/slsa-framework/slsa-github-generator/compare/v1.10.0...v2.0.0)

Updates `actions/download-artifact` from 3.0.2 to 4.1.6
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](9bc31d5ccc...9c19ed7fe5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: slsa-framework/slsa-github-generator
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-23 19:33:07 +00:00
David Lord
6d6a6c2546
unignore upload/download-artifact 2024-04-23 12:32:15 -07:00
David Lord
a2438d20b0
update dev dependencies 2024-04-23 12:23:07 -07:00
David Lord
fcd3d3bbf3
drop support for Python 3.7 2024-04-23 12:22:59 -07:00
David Lord
de6131232a
Merge branch '3.1.x' 2024-04-23 12:07:24 -07:00
David Lord
da3a9f0b80
update project files (#1968) 2024-04-23 10:20:59 -07:00
David Lord
0ee5eb41d1
satisfy formatter, linter, and strict mypy 2024-04-23 09:29:26 -07:00
David Lord
20477c6357
update project files (#5457)
* update pre-commit hooks
* add devcontainer
* show url in publish environment
* update actions versions
* separate typing job
* use dependabot grouped updates
  ignore upload/download-artifact until slsa updates
* use sphinx.ext.extlinks instead of sphinx-issues
* update editorconfig
* update gitignore
* update .readthedocs.yaml
* license is txt, readme is md
* use pyproject.toml and flit_core instead of setuptools
 add typed classifier
 add pyright config
 simplify urls
* tox builds docs in place
* add tox env to update all dev dependencies
* update issue and pr templates
* simplify matrix
2024-04-23 09:28:57 -07:00
David Lord
e491223739
update pyyaml dev dependency 2024-04-22 11:08:14 -07:00
David Lord
3fd91e4d11
Merge branch '3.1.x' 2024-01-10 15:22:02 -08:00
David Lord
36f98854c7
fix pr link 2024-01-10 15:17:32 -08:00
David Lord
a0e864ec0f
release version 3.1.3 (#1926) 2024-01-10 15:12:50 -08:00
David Lord
d9de4bb215
release version 3.1.3 2024-01-10 15:08:43 -08:00
David Lord
50124e1656
skip test pypi 2024-01-10 15:08:33 -08:00