forked from pool/python-injector
e43f76dac579cfc46104f7411c053019700ff7a879787a295037e30defa94060
- Fix test and runtime requirements
- Update to 0.19.0:
- Added the license to the source distribution, thanks to
Joshua Adelman
- Added Python 3.9 and 3.10 support, this includes fixing
Python 3.10 compatibility, thanks to Torge Matthies
- Improved the documentation, thanks to Takahiro Kojima
- Improved the source distribution so that it can be used to
build and install wheels, thanks to Janusz Skonieczny
- Added requirements files for easier development, thanks to
Greg Eremeev
- Removed Python 3.5 support
- Fixed a bug where only one of multiple NoInject annotations
was interpreted
- BuildRequires on the dataclasses module if using python 3.6
- Update to 0.18.3:
* Fixed Python 3.5.3 compatibility
* Added remaining type hints to the codebase so that the client code can
have better static typing safety
* Fixed UnsatisfiedRequirement string representation (this time for real)
* Added forward return type reference support to provider methods
- Update to 0.18.1:
* Various minor fixes and support for new python
- Depend on full python interpreter for sqlite module
- version update to 0.17.0
* Added support for using `typing.Dict` and `typing.List` in multibindings. See :meth:`multibind <injector.Binder.multibind>`.
* Added multibinding-specific :func:`provider <injector.provider>` variant: :func:`multiprovider <injector.multiprovider>`
* Deprecated using :func:`provider <injector.provider>` for multibindings
* Fixed failure to provide a default value to a `NewType`-aliased type with auto_bind enabled
* Deprecated :func:`Key <injector.Key>`, :func:`SequenceKey <injector.SequenceKey>` and
:func:`MappingKey <injector.MappingKey>` – use real types or type aliases instead
* Deprecated using single-item lists and dictionaries for multibindings - use real types or type aliases instead
Technically backwards incompatible:
* typing.List and typing.Dict specializations are now explicitly disallowed as :meth:`bind <injector.Binder.bind>`
interfaces and types returned by :func:`provider <injector.provider>`-decorated methods
- update to version 0.16.2
* Added support for overriding injectable parameters with positional
arguments (previously only possible with keyword arguments)
* Fixed crashes caused by typed self in method signatures
* Dropped Python 3.4 support
* Removed previously deprecated constructs: with_injector,
Injector.install_into, Binder.bind_scope
* Dependencies are no longer injected into Module.configure and
raw module functions
* Removed unofficial support for injecting into parent class
constructors
- Switch to github tarball to get both tests and license file
- Initial package (v0.15.0)
OBS-URL: https://build.opensuse.org/request/show/945365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=8
Description
No description provided
Languages
RPM Spec
100%