Repository navigation
Commit 1e439f6
committed
Re-land 1.4 modernization; complete pyproject migration
Restores the "modernize for 2026" and "update github files for current
python constraints" commits which were reverted from main in 53f2b84 so
that the 1.3.12 and 1.3.13 releases could continue from the 1.3 line.
This is a revert of that revert, with the 1.3.12 and 1.3.13 changes
retained: the backslash path traversal fix for #435 and its test remain
in place, and the 3.15 trove classifier added on main is carried over
into pyproject.toml. The version is restored to 1.4.0 and a 1.4 section
is added to the changelog; the 1.3.13 placeholder is removed, as the
next release from this line is 1.4.0. Development of 1.4 continues on
main and the rel_1_4 branch is retired.
Additionally completes several details of the pyproject migration that
were left unfinished:
* setup.cfg had been removed entirely, however the test suite reads its
[mako_testing] section for the template and module base paths, leaving
the suite unable to collect at all. setup.cfg is restored containing
only that section, following the same arrangement used by SQLAlchemy
and Alembic for [sqla_testing].
* The project license is declared as an SPDX expression rather than a
trove classifier, and license-files moves from [tool.setuptools] to
[project], removing two setuptools deprecation warnings at build time.
Requires setuptools 77.0.0 or greater to build. Fixes #420.
* flake8 and black exclusions for mako-generated template modules move
into pyproject.toml, rather than being passed on the flake8 command
line where they replaced the configured exclusion list entirely.
* MANIFEST.in no longer refers to file types that went away with the
examples/bench removal.
py315: yes
Change-Id: Ife930f15b8867d741270606aad7d9784c193ad9d1 parent b140327 commit 1e439f6
71 files changed
Lines changed: 477 additions & 1354 deletions
File tree
- .github/workflows
- doc/build
- unreleased
- examples
- bench
- cheetah
- django
- templates
- templatetags
- genshi
- jinja2_inheritance
- jinja2
- kid
- mako_inheritance
- mako
- myghty
- wsgi
- mako
- ext
- testing
- test
- ext
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments