15
0

- update to 0.21.0:

* Improved the documentation, thanks to jonathanmach and Jakub
    Wilk
  * Fixed a thread-safety regression
  * Improved the type annotations, thanks to David Pärsson
  * Fixed singleton scope behavior with parent/child injectors,
   thanks to David Pärsson
  * Stopped using a deprecated test function, thanks to ljnsn
  - Added support for PEP 604 union types (Python 3.10+), thanks to David Pärsson
  - Dropped Python 3.6 support
- BuildRequires on the dataclasses module if using python 3.6
  * Added support for overriding injectable parameters with positional
  * Dropped Python 3.4 support
  * Removed previously deprecated constructs: with_injector,
  * Dependencies are no longer injected into Module.configure and
  * Removed unofficial support for injecting into parent class

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=19
This commit is contained in:
2023-12-07 22:09:30 +00:00
committed by Git OBS Bridge
parent ea9a78b0e9
commit 08ac74e1de
4 changed files with 25 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4111f322485980a1191b5a886088ad2ae0c41837fe0ad05d961fe4ecdb673519
size 45116

3
0.21.0.tar.gz Normal file
View File

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

View File

@@ -1,8 +1,20 @@
-------------------------------------------------------------------
Thu Dec 7 22:09:22 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.21.0:
* Improved the documentation, thanks to jonathanmach and Jakub
Wilk
* Fixed a thread-safety regression
* Improved the type annotations, thanks to David Pärsson
* Fixed singleton scope behavior with parent/child injectors,
thanks to David Pärsson
* Stopped using a deprecated test function, thanks to ljnsn
-------------------------------------------------------------------
Thu Sep 29 02:41:09 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 0.20.1
- Added support for PEP 604 union types (Python 3.10+), thanks to David Pärsson
- Added support for PEP 604 union types (Python 3.10+), thanks to David Pärsson
- Fixed building with pypandoc 1.8+, thanks to Søren Fuglede Jørgensen
- Update to 0.20.0
@@ -11,7 +23,7 @@ Thu Sep 29 02:41:09 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Made get_bindings() and injections work even if a injectee's return type
annotation is a forward reference that can't be resolved
Backwards incompatible:
- Dropped Python 3.6 support
- Dropped Python 3.6 support
-------------------------------------------------------------------
Mon Jan 10 13:55:04 UTC 2022 - Ben Greiner <code@bnavigator.de>
@@ -38,7 +50,7 @@ Fri Dec 31 13:01:20 UTC 2021 - Matej Cepl <mcepl@suse.com>
-------------------------------------------------------------------
Thu Jan 28 04:00:57 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- BuildRequires on the dataclasses module if using python 3.6
- BuildRequires on the dataclasses module if using python 3.6
-------------------------------------------------------------------
Thu Apr 9 05:21:45 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
@@ -76,15 +88,15 @@ Wed Jul 24 13:38:20 UTC 2019 - pgajdos@suse.com
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
* 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,
* 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
* Dependencies are no longer injected into Module.configure and
raw module functions
* Removed unofficial support for injecting into parent class
* Removed unofficial support for injecting into parent class
constructors
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-injector
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 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.20.1
Version: 0.21.0
Release: 0
Summary: Python dependency injection framework, inspired by Guice
License: BSD-3-Clause