File tree Expand file tree Collapse file tree 5 files changed +38
-13
lines changed
Expand file tree Collapse file tree 5 files changed +38
-13
lines changed Original file line number Diff line number Diff line change 11
2+ 1.0.5 (TBD)
3+ -----------
4+
5+ TODO: Review #104.
6+ TODO: Review #105.
7+ TODO: Tests for #106.
8+
9+ Bug fixes:
10+
11+ - `Pull #106 `_: Fix escape() not escaping backslash characters.
12+
13+ Improvements:
14+
15+ - `Pull #110 `_: Nicer debug print outs (and str for regex pattern).
16+
17+
18+ .. _`Pull #106` : https://github.com/cpburnz/python-pathspec/pull/106
19+ .. _`Pull #110` : https://github.com/cpburnz/python-pathspec/pull/110
20+
21+
2221.0.4 (2026-01-26)
323------------------
424
Original file line number Diff line number Diff line change 6363 "Adam Dangoor <https://github.com/adamtheturtle>" ,
6464 "Marcel Telka <https://github.com/mtelka>" ,
6565 "Dmytro Kostochko <https://github.com/Alerion>" ,
66+ "Kadir Can Ozden <https://github.com/bysiber>" ,
67+ "Henry Schreiner <https://github.com/henryiii>" ,
6668]
6769__license__ = "MPL 2.0"
Original file line number Diff line number Diff line change @@ -54,8 +54,11 @@ def generate_pyproject_toml() -> None:
5454 # files for an editable install for some odd reason.
5555 # - See <https://github.com/pypa/flit/issues/386>.
5656
57+ output : list [str ] = []
58+ output .append ("# GENERATED FILE: Edit 'pyproject.in.toml' instead.\n " )
59+
5760 print (f"Read: { PYPROJECT_IN_TOML } " )
58- output = PYPROJECT_IN_TOML .read_text ()
61+ text = PYPROJECT_IN_TOML .read_text ()
5962
6063 print (f"Read: { VERSION_PY } " )
6164 version_input = VERSION_PY .read_text ()
@@ -64,10 +67,11 @@ def generate_pyproject_toml() -> None:
6467 ).group (1 )
6568
6669 # Replace version.
67- output = output .replace ("__VERSION__" , version )
70+ text = text .replace ("__VERSION__" , version )
71+ output .append (text )
6872
6973 print (f"Write: { PYPROJECT_TOML } " )
70- PYPROJECT_TOML .write_text (output )
74+ PYPROJECT_TOML .write_text ("" . join ( output ) )
7175
7276
7377def generate_readme_dist () -> None :
Original file line number Diff line number Diff line change @@ -43,12 +43,11 @@ re2 = [
4343]
4444
4545[dependency-groups ]
46- tests = [
47- " pytest >=9" ,
48- " typing-extensions >=4.15" ,
49- ]
5046dev = [
51- " pytest" ,
47+ " pytest >=8" ,
48+ " pytest-benchmark >=5" ,
49+ " tomli; python_version<'3.11'" ,
50+ " typing-extensions >=4.4" ,
5251]
5352
5453[project .urls ]
Original file line number Diff line number Diff line change 1+ # GENERATED FILE: Edit 'pyproject.in.toml' instead.
12[build-system ]
23build-backend = " flit_core.buildapi"
34requires = [" flit_core >=3.2,<5" ]
@@ -43,12 +44,11 @@ re2 = [
4344]
4445
4546[dependency-groups ]
46- benchmarks = [
47- " pytest >=9; python_version>='3.10'" ,
48- " typing-extensions >=4.15" ,
49- ]
5047dev = [
51- " pytest" ,
48+ " pytest >=8" ,
49+ " pytest-benchmark >=5" ,
50+ " tomli; python_version<'3.11'" ,
51+ " typing-extensions >=4.4" ,
5252]
5353
5454[project .urls ]
You can’t perform that action at this time.
0 commit comments