From 038916f42fa17ee8cfcf520930ed4a5f5d26c2888346a1793207093c5d847ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 11 Jun 2019 11:22:44 +0000 Subject: [PATCH] Accepting request 709112 from home:mcalabkova:branches:devel:languages:python - 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 OBS-URL: https://build.opensuse.org/request/show/709112 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=5 --- 0.15.0.tar.gz | 3 --- 0.16.2.tar.gz | 3 +++ python-injector.changes | 15 +++++++++++++++ python-injector.spec | 5 +++-- 4 files changed, 21 insertions(+), 5 deletions(-) delete mode 100644 0.15.0.tar.gz create mode 100644 0.16.2.tar.gz diff --git a/0.15.0.tar.gz b/0.15.0.tar.gz deleted file mode 100644 index 1ac3cb7..0000000 --- a/0.15.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12c0f96d852df0ea0cbc7221b176b90716a316de0aa2ab5c14e6036004a4c674 -size 180756 diff --git a/0.16.2.tar.gz b/0.16.2.tar.gz new file mode 100644 index 0000000..ce16e5e --- /dev/null +++ b/0.16.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c19bdea760af64ae5ad7a9b3d5d8bbae1142b250df038f92881ac7f0cfad9da +size 180603 diff --git a/python-injector.changes b/python-injector.changes index bee75fb..476483f 100644 --- a/python-injector.changes +++ b/python-injector.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Jun 11 08:26:05 UTC 2019 - Marketa Calabkova + +- 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 + ------------------------------------------------------------------- Mon Feb 18 09:17:43 UTC 2019 - Tomáš Chvátal diff --git a/python-injector.spec b/python-injector.spec index 961321a..25097db 100644 --- a/python-injector.spec +++ b/python-injector.spec @@ -19,13 +19,14 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-injector -Version: 0.15.0 +Version: 0.16.2 Release: 0 Summary: Python dependency injection framework, inspired by Guice License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/alecthomas/injector Source: https://github.com/alecthomas/injector/archive/%{version}.tar.gz +BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -59,7 +60,7 @@ API. Providing a Pythonic API trumps faithfulness. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v +%python_exec setup.py test %files %{python_files} %license COPYING