commit python-injector for openSUSE:Factory

2020-04-09 Thread root
Hello community,

here is the log from the commit of package python-injector for openSUSE:Factory 
checked in at 2020-04-09 23:15:23

Comparing /work/SRC/openSUSE:Factory/python-injector (Old)
 and  /work/SRC/openSUSE:Factory/.python-injector.new.3248 (New)


Package is "python-injector"

Thu Apr  9 23:15:23 2020 rev:5 rq:792593 version:0.18.3

Changes:

--- /work/SRC/openSUSE:Factory/python-injector/python-injector.changes  
2019-12-11 12:15:19.276508220 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-injector.new.3248/python-injector.changes
2020-04-09 23:15:25.066243216 +0200
@@ -1,0 +2,10 @@
+Thu Apr  9 05:21:45 UTC 2020 - Steve Kowalik 
+
+- 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
+
+---

Old:

  0.18.1.tar.gz

New:

  0.18.3.tar.gz



Other differences:
--
++ python-injector.spec ++
--- /var/tmp/diff_new_pack.5vXHlH/_old  2020-04-09 23:15:25.674243567 +0200
+++ /var/tmp/diff_new_pack.5vXHlH/_new  2020-04-09 23:15:25.678243570 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-injector
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-injector
-Version:0.18.1
+Version:0.18.3
 Release:0
 Summary:Python dependency injection framework, inspired by Guice
 License:BSD-3-Clause

++ 0.18.1.tar.gz -> 0.18.3.tar.gz ++
 3260 lines of diff (skipped)




commit python-injector for openSUSE:Factory

2019-12-11 Thread root
Hello community,

here is the log from the commit of package python-injector for openSUSE:Factory 
checked in at 2019-12-11 12:15:00

Comparing /work/SRC/openSUSE:Factory/python-injector (Old)
 and  /work/SRC/openSUSE:Factory/.python-injector.new.4691 (New)


Package is "python-injector"

Wed Dec 11 12:15:00 2019 rev:4 rq:755754 version:0.18.1

Changes:

--- /work/SRC/openSUSE:Factory/python-injector/python-injector.changes  
2019-07-26 12:39:44.813929745 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-injector.new.4691/python-injector.changes
2019-12-11 12:15:19.276508220 +0100
@@ -1,0 +2,7 @@
+Wed Dec 11 08:48:54 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.18.1:
+  * Various minor fixes and support for new python
+- Depend on full python interpreter for sqlite module
+
+---

Old:

  0.17.0.tar.gz

New:

  0.18.1.tar.gz



Other differences:
--
++ python-injector.spec ++
--- /var/tmp/diff_new_pack.wX86H5/_old  2019-12-11 12:15:19.792508074 +0100
+++ /var/tmp/diff_new_pack.wX86H5/_new  2019-12-11 12:15:19.792508074 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-injector
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,18 +19,20 @@
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-injector
-Version:0.17.0
+Version:0.18.1
 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:  %{python_module typing_extensions >= 3.7.4}
+BuildRequires:  %{pythons}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:   python
+Requires:   python-typing_extensions >= 3.7.4
 BuildArch:  noarch
 %python_subpackages
 
@@ -51,6 +53,7 @@
 
 %prep
 %setup -q -n injector-%{version}
+rm pytest.ini
 
 %build
 %python_build

++ 0.17.0.tar.gz -> 0.18.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/injector-0.17.0/.travis.yml 
new/injector-0.18.1/.travis.yml
--- old/injector-0.17.0/.travis.yml 2019-06-15 16:23:44.0 +0200
+++ new/injector-0.18.1/.travis.yml 2019-12-10 02:25:28.0 +0100
@@ -4,15 +4,16 @@
 python:
   - "3.5"
   - "3.6"
+  - "3.7"
+  - "3.8"
   - "nightly"
-  - "pypy3.5-5.8.0"
+  - "pypy3.5"
+  - "pypy3"
 matrix:
   allow_failures:
 - python: "nightly"
-  include:
-- { python: "3.7", dist: xenial, sudo: true }
 install:
-  - pip install --upgrade coveralls pytest "pytest-cov>=2.5.1" dataclasses
+  - pip install --upgrade coveralls pytest "pytest-cov>=2.5.1" dataclasses 
typing_extensions
   # mypy can't be installed on pypy
   - if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* ]] ; then pip install mypy ; fi
   # Black is Python 3.6+-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/injector-0.17.0/CHANGES new/injector-0.18.1/CHANGES
--- old/injector-0.17.0/CHANGES 2019-06-15 16:23:44.0 +0200
+++ new/injector-0.18.1/CHANGES 2019-12-10 02:25:28.0 +0100
@@ -1,6 +1,27 @@
 Injector Change Log
 ===
 
+0.18.1
+--
+
+- Fixed UnsatisfiedRequirement instantiation (trying to get its string 
representation would fail)
+- Fixed injecting a subclass of a generic type on Python versions older than 
3.7.0
+- Fixed regression that caused BoundKey injection failure
+
+0.18.0
+--
+
+- Added new public :func:`get_bindings ` function to 
see what parameters will be injected
+  into a function
+- Added new generic types using a draft implementation of `PEP 593 
`_:
+  :data:`Inject ` and :data:`NoInject `. 
Those serve as additional ways to
+  declare (non)injectable parameters while :func:`inject ` 
won't go away any time soon
+  :func:`noninjectable ` may be removed once 
`NoInject` is cofirmed to work.
+
+Backwards incompatible:
+
+- Removed previously deprecated `Key`, `BindingKey`, `SequenceKey` and 
`MappingKey` pseudo-types
+
 0.17.0
 --
 
@@ -43,7 +64,7 @@
 - Removed previously deprecated constructs: with_injector, 
Injector.install_into, Binder.bind_scope
 - Dependencies are no

commit python-injector for openSUSE:Factory

2019-07-26 Thread root
Hello community,

here is the log from the commit of package python-injector for openSUSE:Factory 
checked in at 2019-07-26 12:39:43

Comparing /work/SRC/openSUSE:Factory/python-injector (Old)
 and  /work/SRC/openSUSE:Factory/.python-injector.new.4126 (New)


Package is "python-injector"

Fri Jul 26 12:39:43 2019 rev:3 rq:718269 version:0.17.0

Changes:

--- /work/SRC/openSUSE:Factory/python-injector/python-injector.changes  
2019-06-12 13:17:32.572612599 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-injector.new.4126/python-injector.changes
2019-07-26 12:39:44.813929745 +0200
@@ -1,0 +2,15 @@
+Wed Jul 24 13:38:20 UTC 2019 - pgaj...@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
+
+---

Old:

  0.16.2.tar.gz

New:

  0.17.0.tar.gz



Other differences:
--
++ python-injector.spec ++
--- /var/tmp/diff_new_pack.CTJabc/_old  2019-07-26 12:39:45.281929472 +0200
+++ /var/tmp/diff_new_pack.CTJabc/_new  2019-07-26 12:39:45.285929470 +0200
@@ -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 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%pytest
 
 %files %{python_files}
 %license COPYING

++ 0.16.2.tar.gz -> 0.17.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/injector-0.16.2/.gitignore 
new/injector-0.17.0/.gitignore
--- old/injector-0.16.2/.gitignore  2019-05-22 10:18:55.0 +0200
+++ new/injector-0.17.0/.gitignore  2019-06-15 16:23:44.0 +0200
@@ -6,3 +6,4 @@
 *,cover
 .mypy_cache/
 .pytest_cache/
+coverage.xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/injector-0.16.2/.travis.yml 
new/injector-0.17.0/.travis.yml
--- old/injector-0.16.2/.travis.yml 2019-05-22 10:18:55.0 +0200
+++ new/injector-0.17.0/.travis.yml 2019-06-15 16:23:44.0 +0200
@@ -6,16 +6,13 @@
   - "3.6"
   - "nightly"
   - "pypy3.5-5.8.0"
-env:
-  - TYPING_VERSION="<3.5.3"
-  - TYPING_VERSION=">=3.5.3"
 matrix:
   allow_failures:
 - python: "nightly"
   include:
 - { python: "3.7", dist: xenial, sudo: true }
 install:
-  - pip install --upgrade coveralls pytest "typing$TYPING_VERSION" 
"pytest-cov>=2.5.1" dataclasses
+  - pip install --upgrade coveralls pytest "pytest-cov>=2.5.1" dataclasses
   # mypy can't be installed on pypy
   - if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* ]] ; then pip install mypy ; fi
   # Black is Python 3.6+-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/injector-0.16.2/CHANGES new/injector-0.17.0/CHANGES
--- old/injector-0.16.2/CHANGES 2019-05-22 10:18:55.0 +0200
+++ new/injector-0.17.0/CHANGES 2019-06-15 16:23:44.0 +0200
@@ -1,6 +1,22 @@
 Injector Change Log
 ===
 
+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
+
 0.

commit python-injector for openSUSE:Factory

2019-06-12 Thread root
Hello community,

here is the log from the commit of package python-injector for openSUSE:Factory 
checked in at 2019-06-12 13:17:32

Comparing /work/SRC/openSUSE:Factory/python-injector (Old)
 and  /work/SRC/openSUSE:Factory/.python-injector.new.4811 (New)


Package is "python-injector"

Wed Jun 12 13:17:32 2019 rev:2 rq:709120 version:0.16.2

Changes:

--- /work/SRC/openSUSE:Factory/python-injector/python-injector.changes  
2019-02-28 21:41:54.169563550 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-injector.new.4811/python-injector.changes
2019-06-12 13:17:32.572612599 +0200
@@ -1,0 +2,15 @@
+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
+
+---

Old:

  0.15.0.tar.gz

New:

  0.16.2.tar.gz



Other differences:
--
++ python-injector.spec ++
--- /var/tmp/diff_new_pack.fZxL88/_old  2019-06-12 13:17:33.308611826 +0200
+++ /var/tmp/diff_new_pack.fZxL88/_new  2019-06-12 13:17:33.312611823 +0200
@@ -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 @@
 %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

++ 0.15.0.tar.gz -> 0.16.2.tar.gz ++
 2114 lines of diff (skipped)