Skip to content

Releases: smarie/python-decopatch

1.4.10 - Type hints step 1

Choose a tag to compare

@github-actions github-actions released this 01 Mar 08:57
  • @function_decorator now has proper type hints. This is a first step towards fixing #22. PR #23 by last-partizan.

See documentation page for details.

1.4.9 - New layout and CI + Compatibility fixes.

Choose a tag to compare

@github-actions github-actions released this 09 Feb 10:31
  • Enabling the "stack introspection" beta feature with enable_stack_introspection=True now raises an explicit NotImplementedError on python 3.8+. Fixed #26.

  • Migrated to the new project layout with nox, github-actions and separation of src and tests. Fixed test suite with pytest-cases>=3. Fixed #24 and #20.

See documentation page for details.

1.4.8 - better packaging

Choose a tag to compare

@smarie smarie released this 25 Apr 13:35
  • packaging improvements: set the "universal wheel" flag to 1, and cleaned up the setup.py. In particular removed dependency to six for setup and added py.typed file, as well as set the zip_safe flag to False. Removed tests folder from package. Fixes #19

See documentation page for details.

1.4.7 - pyproject.toml

Choose a tag to compare

@smarie smarie released this 17 Nov 15:59

raddessi added a pyproject.toml - thanks! Fixed pytest-cases#65.

See documentation page for details.

1.4.6 - Bug fix

Choose a tag to compare

@smarie smarie released this 04 Sep 16:32

Fixed decorated object injection issue when var-positional arguments are located before it in the signature. Fixed #14.

Added __version__ attribute to comply with PEP396, following this guide. Fixes #15.

PyPI supports markdown via long_description_content_type: pypandoc is not required anymore. Thanks minrk!

See documentation page for details.

1.4.5 - Performance improvement

Choose a tag to compare

@smarie smarie released this 18 Apr 15:03
  • Huge performance improvement for the enable_stack_introspection=True mode. It also now supports classes correctly.

See documentation page for details.

1.4.4 - Reverted varpositional bugfixes now that they are handled in makefun

Choose a tag to compare

@smarie smarie released this 16 Apr 16:36

See documentation page for details.

1.4.3 - Bugfix in nested mode under python 2

Choose a tag to compare

@smarie smarie released this 16 Apr 16:13

In python 2, when nested mode was used in a context where the signature contains a var-positional argument, a TypeError was raised ; this is now fixed. Fixes #13.

See documentation page for details.

1.4.2 - Bugfix in flat mode

Choose a tag to compare

@smarie smarie released this 16 Apr 12:16

When flat mode was used in a context where the signature contains a var-positional argument, the arguments were not correctly injected. Fixes #12.

See documentation page for details.

1.4.1 - Minor default symbols improvement

Choose a tag to compare

@smarie smarie released this 14 Mar 12:29

Removed the clunky Enum for symbols. Back to a normal class, with a custom __repr__.

See documentation page for details.