Skip to content

Releases: cs01/pygdbmi

pygdbmi v0.11.0.0

29 Jan 16:06
Compare
Choose a tag to compare

Breaking changes

  • Removed pygdbmi.IoManager.make_non_blocking from the public API; it's unrelated and was not meant to be public

Other changes

  • Fixed a bug where notifications without a payload were not recognized as such
  • Invalid octal sequences produced by GDB are left unchanged instead of causing a UnicodeDecodeError (#64)
  • Fix a crash on Windows by waiting for the GDB process to exit in GdbController.exit
  • Added type annotations to the whole public API
  • Updated the examples in README.md to use the current API and show the results printed by this version of pygdbmi (#69)

Internal changes

  • Update and freeze dependencies for documentation generation
  • Refactored the code to parse MI records to decrease the number of regex matches to perform
  • Added __all__ to all modules, which means that star imports (like from pygdbmi.gdbmiparser import *) will not pollute the namespace with modules used by pygdbmi itself
  • Added nox -s format to re-format the source code using the correct options
  • Reformatted all imports with isort, and use it as part of nox -s lint and nox -s format
  • Converted tests to use pytest's test structure rather than the unittest-based one
  • Added mypy configuration to detect more problems and to force all code to be annotated
  • Added a test for example.py
  • Replaced uses of distutils.spawn.find_executable, which is deprecated, with shutil.which
  • Ran pyupgrade (with option --py37-plus) on the codebase to convert to Python 3.7 idioms
  • Excluded some common backup and cache files from MANIFEST.in to prevent unwanted files to be included which causes check-manifest to fail
  • Fix .flake8 to not cause errors with some versions of the flake8 tool

Add IoManager

25 Aug 03:53
Compare
Choose a tag to compare

0.10.0.0

Breaking Changes

  • Drop support for Python 3.5
  • Update GdbController() API. New API is GdbController(command: Optional[List[str]], time_to_check_for_additional_output_sec: Optional[int]).
  • GdbController.verify_valid_gdb_subprocess() was removed
  • Remove NoGdbProcessError error

Other Changes

  • Add new IoManager class to handle more generic use-cases, like working with pty's
  • [dev] use pytest for testing
  • gdb mi parsing remains unchanged

v0.10.0.0b0

16 Aug 04:26
Compare
Choose a tag to compare
v0.10.0.0b0 Pre-release
Pre-release
update GdbController API, add IoMangager, other dev improvements

0.9.0.3

26 Jan 20:58
d7b6033
Compare
Choose a tag to compare
use mkdocs for documentation (#40)

0.9.0.2

26 Jan 20:32
Compare
Choose a tag to compare
pubish sdist and wheel to pypi; increment version