Skip to content

Commit be75e47

Browse files
committed
docs: drop remaining references to the separate MCP environment
- test docstrings no longer contrast against a plain dev env - deptry comment no longer claims extras are absent from dev - README lists osw[mcp] among the extras
1 parent 8f81fec commit be75e47

5 files changed

Lines changed: 8 additions & 9 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pip install osw
2222
```
2323

2424
Optional extras (`osw[wikitext]`, `osw[DB]`, `osw[S3]`, `osw[dataimport]`,
25-
`osw[UI]`, `osw[all]`) are described in the
25+
`osw[UI]`, `osw[mcp]`, `osw[all]`) are described in the
2626
[Get Started guide](https://opensemanticlab.github.io/osw-python/get-started/).
2727

2828
## Quickstart

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ opensemantic-core = "opensemantic"
362362
opensemantic-base = "opensemantic"
363363
pybars3-wheel = "pybars"
364364
"backports.strenum" = "backports"
365-
# extras packages not installed in the dev env, mapped explicitly so
366-
# deptry does not have to guess ("Assuming ..." warnings)
365+
# extras packages whose import name deptry would otherwise have to guess
366+
# ("Assuming ..." warnings)
367367
psycopg2 = "psycopg2"
368368
openpyxl = "openpyxl"
369369
pysimplegui = "PySimpleGUI"

‎tests/test_cli.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""Unit tests for the osw CLI (src/osw/cli).
22
3-
Runs in the plain dev env (no mcp extra needed): the CLI never imports the
4-
mcp SDK. No network is touched -- ``osw.service.context.OswExpress`` is
3+
The CLI never imports the mcp SDK, and no network is touched --
4+
``osw.service.context.OswExpress`` is
55
patched wherever a test actually reaches a command's body.
66
"""
77

‎tests/test_service_instances.py‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
"""Unit tests for multi-instance selection in osw.service (config + Context).
22
3-
These are fully offline: no network, no live wiki. They also need no MCP SDK:
4-
osw.service is deliberately SDK-free, so unlike tests/test_mcp_*.py these run
5-
in the default dev environment.
3+
These are fully offline: no network, no live wiki, and no MCP SDK, since
4+
osw.service is deliberately SDK-free.
65
"""
76

87
import pytest

‎tests/test_service_ops_files.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""Unit tests for osw.service.ops.files (Operation.fn called directly).
22
3-
Runs in the plain dev env (no mcp extra, no network): ``WikiFileController``
3+
Fully offline: ``WikiFileController``
44
is replaced with a fake factory that records its constructor arguments, so
55
every test can inspect the title/namespace a real controller would have
66
derived without touching a wiki.

0 commit comments

Comments
 (0)