Skip to content

Commit 2c0cae9

Browse files
committed
chore: require pytest 9.1.1 to match the host runtime
The client floor now matches the pixi interpreter, and host_name is documented as the HostApp key.
1 parent b76067a commit 2c0cae9

3 files changed

Lines changed: 29 additions & 24 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ uv add revitdevtool_pytest
1919
| Requirement | Version |
2020
|---|---|
2121
| Python | >= 3.10 |
22-
| pytest | >= 9.0 |
22+
| pytest | >= 9.1.1, < 10 |
2323
| pywin32 | >= 311 |
2424
| OS | Windows (Named Pipes) |
2525
| Host | [RevitDevTool](https://github.com/trgiangv/RevitDevTool) add-in loaded |
2626

2727
## Supported hosts
2828

29+
`host_name` is the lowercase name of the RevitDevTool `HostApp` enum (`Revit` → `revit`, `Civil3D` → `civil3d`). Each name is declared once in `src/revitdevtool_pytest/constants.py`. `HOST_REGISTRY` and the AutoCAD `InstalledProducts` map (`ACAD`, `C3D`, `PLNT3D`, …) both use those constants as keys. Do not add a second spelling for the same host.
30+
2931
### Supported today
3032

3133
| `host_name` | Application | Pipe prefix |

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ classifiers = [
2424
"Programming Language :: Python :: 3.13",
2525
"Topic :: Software Development :: Testing",
2626
]
27-
dependencies = ["pytest>=9.0", "pywin32>=311"]
27+
dependencies = ["pytest>=9.1.1,<10", "pywin32>=312"]
2828

2929
[project.entry-points."pytest11"]
3030
revitdevtool = "revitdevtool_pytest.plugin"

‎uv.lock‎

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

0 commit comments

Comments
 (0)