Skip to content

Commit abbe28c

Browse files
committed
update GdbController API, add IoMangager, other dev improvements
1 parent 3c8c92e commit abbe28c

11 files changed

+439
-514
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# pygdbmi release history
22

3+
## 0.10.0.0
4+
5+
**Breaking Changes**
6+
7+
* Drop support for 3.5
8+
* Update `GdbController` API.
9+
* gdb mi parsing remains unchanged
10+
* Remove `NoGdbProcessError` error
11+
12+
Other Changes
13+
14+
* Add new `IoManager` class to handle more generic use-cases
15+
* [dev] use pytest for testing
16+
317
## 0.9.0.3
418

519
* Drop support for 2.7, 3.4

docs/api/iomanager.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
::: pygdbmi.IoManager

mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ nav:
1111
- Api:
1212
- "gdbmiparser": "api/gdbmiparser.md"
1313
- "gdbcontroller": "api/gdbcontroller.md"
14+
- "iomanager": "api/iomanager.md"
1415
- Changelog: "CHANGELOG.md"
1516

1617
markdown_extensions:

noxfile.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,16 @@
33
import shutil
44

55
nox.options.sessions = ["tests", "lint", "docs"]
6+
nox.options.reuse_existing_virtualenvs = True
67

78

8-
@nox.session(python=["3.5", "3.6", "3.7", "3.8"])
9+
@nox.session(python=["3.6", "3.7", "3.8"])
910
def tests(session):
10-
session.install(".")
11-
session.run("python", "-m", "unittest", "discover")
11+
session.install(".", "pytest")
12+
session.run("pytest", *session.posargs)
1213

1314

14-
@nox.session(python="3.7")
15+
@nox.session()
1516
def lint(session):
1617
session.install(*["black", "flake8", "mypy", "check-manifest"])
1718
files = ["pygdbmi", "tests"] + [str(p) for p in Path(".").glob("*.py")]
@@ -24,7 +25,7 @@ def lint(session):
2425

2526
doc_dependencies = [
2627
".",
27-
"git+https://github.com/cs01/mkdocstrings.git",
28+
"mkdocstrings",
2829
"mkdocs",
2930
"mkdocs-material",
3031
"pygments",

0 commit comments

Comments
 (0)