15
0

Accepting request 709120 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/709120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=2
This commit is contained in:
2019-06-12 11:17:32 +00:00
committed by Git OBS Bridge
4 changed files with 21 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12c0f96d852df0ea0cbc7221b176b90716a316de0aa2ab5c14e6036004a4c674
size 180756

3
0.16.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c19bdea760af64ae5ad7a9b3d5d8bbae1142b250df038f92881ac7f0cfad9da
size 180603

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Jun 11 08:26:05 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- 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 <tchvatal@suse.com>

View File

@@ -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