Skip to content

Commit b1bc286

Browse files
committed
Misc
1 parent 7728546 commit b1bc286

File tree

5 files changed

+38
-13
lines changed

5 files changed

+38
-13
lines changed

CHANGES_1.in.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
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+
222
1.0.4 (2026-01-26)
323
------------------
424

pathspec/_meta.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,7 @@
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"

prebuild.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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

7377
def generate_readme_dist() -> None:

pyproject.in.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,11 @@ re2 = [
4343
]
4444

4545
[dependency-groups]
46-
tests = [
47-
"pytest >=9",
48-
"typing-extensions >=4.15",
49-
]
5046
dev = [
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]

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# GENERATED FILE: Edit 'pyproject.in.toml' instead.
12
[build-system]
23
build-backend = "flit_core.buildapi"
34
requires = ["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-
]
5047
dev = [
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]

0 commit comments

Comments
 (0)