diff options
author | adam <adam@pkgsrc.org> | 2022-11-29 21:14:10 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-11-29 21:14:10 +0000 |
commit | 5d3514322eda6c23a5377a9e8c46f72bf18dbd48 (patch) | |
tree | 4029cf485c98f2a91aaabd116a95e5d42aed15d3 /x11/i3lock | |
parent | 4d717cb1faca1d03a3b55674aee44de95fb03e90 (diff) | |
download | pkgsrc-5d3514322eda6c23a5377a9e8c46f72bf18dbd48.tar.gz |
py-flexmock: updated to 0.11.3
Release 0.11.3
Added
- Add PEP 561 `py.typed` marker file.
Changed
- Remove documentation and test files from wheels build.
- Re-organize unit tests.
Documentation
- Add a warning about the usage of `.new_instances()` method in the documentation.
Release 0.11.2
Fixed
- Fix subunit testrunner integration is broken.
- Fix: TeamCity (PyCharm) testrunner integration is broken.
Infrastructure
- Run tests with testtools, subunit, TeamCity, and doctest testrunners using tox.
Documentation
- Test flexmock API examples using doctest.
- Re-add Sphinx support for generating man pages.
- Fix 404 page not loading CSS and Javascript resources in documentation.
- Small fixes to documentation.
Release 0.11.1
Fixed
- Fix Zope testrunner integration is broken.
Infrastructure
- Run tests with Zope testrunner using tox.
Release 0.11.0
Added
- Add Python 3.8, 3.9, 3.10, and 3.11 support.
- Add type annotations.
Changed
- **BREAKING CHANGE**: Flexmock needs to be imported explicitly using `from flexmock import flexmock`.
The hack that allowed flexmock to be imported directly using `import flexmock` did not work well with static analysis tools.
- Many error messages have been improved.
- Undocumented methods `Expectation.reset`, `Expectation.verify`, and `Expectation.match_args` that were unintentionally left public are now private methods.
- Undocumented attributes in `Mock` and `Expectation` are now private. These attributes were never meant to be accessed directly.
Removed
- Drop Python 2.7, 3.4, 3.5 support.
- Drop Pytest 4.x support.
- Remove unittest2 and nose integrations. unittest2 and nose are not maintained anymore.
- **BREAKING CHANGE**: Removed support for calling `once`, `twice`, `never`, and `mock` methods
without parentheses. This allows code completion and static analysis to work with these methods.
Fixed
- Fix `should_call` is broken if called on a fake object.
- Fix `and_raise` allows invalid arguments for an exception.
Infrastructure
- Run linters and tests using Github Actions.
- Add coverage reporting using Codecov.
Documentation
- Add contribution documentation.
- Use Mkdocs instead of Sphinx to build the documentation.
Diffstat (limited to 'x11/i3lock')
0 files changed, 0 insertions, 0 deletions