diff --git a/0.16.2.tar.gz b/0.16.2.tar.gz deleted file mode 100644 index ce16e5e..0000000 --- a/0.16.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c19bdea760af64ae5ad7a9b3d5d8bbae1142b250df038f92881ac7f0cfad9da -size 180603 diff --git a/0.17.0.tar.gz b/0.17.0.tar.gz new file mode 100644 index 0000000..9c48482 --- /dev/null +++ b/0.17.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97fd9e9dd81ce87ea02b5446b3900aa92973a0e375331d08a289da339243c564 +size 182459 diff --git a/python-injector.changes b/python-injector.changes index 476483f..220bff9 100644 --- a/python-injector.changes +++ b/python-injector.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Jul 24 13:38:20 UTC 2019 - pgajdos@suse.com + +- version update to 0.17.0 + * Added support for using `typing.Dict` and `typing.List` in multibindings. See :meth:`multibind `. + * Added multibinding-specific :func:`provider ` variant: :func:`multiprovider ` + * Deprecated using :func:`provider ` for multibindings + * Fixed failure to provide a default value to a `NewType`-aliased type with auto_bind enabled + * Deprecated :func:`Key `, :func:`SequenceKey ` and + :func:`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 ` + interfaces and types returned by :func:`provider `-decorated methods + ------------------------------------------------------------------- Tue Jun 11 08:26:05 UTC 2019 - Marketa Calabkova diff --git a/python-injector.spec b/python-injector.spec index 25097db..d587418 100644 --- a/python-injector.spec +++ b/python-injector.spec @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-injector -Version: 0.16.2 +Version: 0.17.0 Release: 0 Summary: Python dependency injection framework, inspired by Guice License: BSD-3-Clause @@ -60,7 +60,7 @@ API. Providing a Pythonic API trumps faithfulness. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %license COPYING