Skip to content

Commit 28765ef

Browse files
tystar86claude
andcommitted
Require render-engine with init
render-engine 2026.11.1a3 includes render_engine.init. It pins its own dependencies, so uv lock updates them too. The collection entry tests now each use their own tmp_path, because render-engine no longer overwrites an existing entry file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 7c39e3d commit 28765ef

3 files changed

Lines changed: 26 additions & 56 deletions

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.11"
77
dependencies = [
88
"click>=8.2.1",
9-
"render-engine>=2025.11.1a1",
9+
"render-engine>=2026.11.1a3",
1010
"rich>=14.0.0",
1111
"toml>=0.10.2",
1212
"watchfiles>=1.3.0",

‎tests/test_cli.py‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,10 @@ def test_import_lib_gets_site():
5555
pass
5656

5757

58-
def test_collection_call(tmp_path_factory):
58+
def test_collection_call(tmp_path):
5959
"""Tests that you can get content from the parser using `new_entry`"""
6060
test_collection = Collection()
61-
content_path1 = tmp_path_factory.getbasetemp()
62-
filepath = content_path1 / "test.md"
61+
filepath = tmp_path / "test.md"
6362
content = create_collection_entry(
6463
collection=test_collection, content=None, foo="bar", filepath=filepath, editor=None
6564
)
@@ -71,11 +70,10 @@ def test_collection_call(tmp_path_factory):
7170
assert post["foo"] == "bar"
7271

7372

74-
def test_collection_call_with_content(tmp_path_factory):
73+
def test_collection_call_with_content(tmp_path):
7574
"""Tests that you can get content from the parser using `new_entry`"""
7675
test_collection = Collection()
77-
content_path1 = tmp_path_factory.getbasetemp()
78-
filepath = content_path1 / "test.md"
76+
filepath = tmp_path / "test.md"
7977
create_collection_entry(
8078
content="This is a test", collection=test_collection, foo="bar", filepath=filepath, editor=None
8179
)
@@ -160,11 +158,10 @@ def test_config_loading_invalid_file(tmp_path, monkeypatch, capsys):
160158
CliConfig().load_config(str(config_file))
161159

162160

163-
def test_collection_entry_with_custom_attributes(tmp_path_factory):
161+
def test_collection_entry_with_custom_attributes(tmp_path):
164162
"""Tests that custom attributes are passed through to collection entry"""
165163
test_collection = Collection()
166-
content_path1 = tmp_path_factory.getbasetemp()
167-
filepath = content_path1 / "test.md"
164+
filepath = tmp_path / "test.md"
168165

169166
create_collection_entry(
170167
content="Test content",

‎uv.lock‎

Lines changed: 19 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)