From 08ac74e1de2b4b45e45c72c970cb645c42ebe2b47f41e424ef6ae239dfb04f99 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 7 Dec 2023 22:09:30 +0000 Subject: [PATCH] =?UTF-8?q?-=20update=20to=200.21.0:=20=20=20*=20Improved?= =?UTF-8?q?=20the=20documentation,=20thanks=20to=20jonathanmach=20and=20Ja?= =?UTF-8?q?kub=20=20=20=20=20Wilk=20=20=20*=20Fixed=20a=20thread-safety=20?= =?UTF-8?q?regression=20=20=20*=20Improved=20the=20type=20annotations,=20t?= =?UTF-8?q?hanks=20to=20David=20P=C3=A4rsson=20=20=20*=20Fixed=20singleton?= =?UTF-8?q?=20scope=20behavior=20with=20parent/child=20injectors,=20=20=20?= =?UTF-8?q?=20thanks=20to=20David=20P=C3=A4rsson=20=20=20*=20Stopped=20usi?= =?UTF-8?q?ng=20a=20deprecated=20test=20function,=20thanks=20to=20ljnsn=20?= =?UTF-8?q?=20=20-=20Added=20support=20for=20PEP=20604=20union=20types=20(?= =?UTF-8?q?Python=203.10+),=20thanks=20to=20David=20P=C3=A4rsson=20=20=20-?= =?UTF-8?q?=20Dropped=20Python=203.6=20support=20-=20BuildRequires=20on=20?= =?UTF-8?q?the=20dataclasses=20module=20if=20using=20python=203.6=20=20=20?= =?UTF-8?q?*=20Added=20support=20for=20overriding=20injectable=20parameter?= =?UTF-8?q?s=20with=20positional=20=20=20*=20Dropped=20Python=203.4=20supp?= =?UTF-8?q?ort=20=20=20*=20Removed=20previously=20deprecated=20constructs:?= =?UTF-8?q?=20with=5Finjector,=20=20=20*=20Dependencies=20are=20no=20longe?= =?UTF-8?q?r=20injected=20into=20Module.configure=20and=20=20=20*=20Remove?= =?UTF-8?q?d=20unofficial=20support=20for=20injecting=20into=20parent=20cl?= =?UTF-8?q?ass?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=19 --- 0.20.1.tar.gz | 3 --- 0.21.0.tar.gz | 3 +++ python-injector.changes | 28 ++++++++++++++++++++-------- python-injector.spec | 4 ++-- 4 files changed, 25 insertions(+), 13 deletions(-) delete mode 100644 0.20.1.tar.gz create mode 100644 0.21.0.tar.gz diff --git a/0.20.1.tar.gz b/0.20.1.tar.gz deleted file mode 100644 index 39fbd79..0000000 --- a/0.20.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4111f322485980a1191b5a886088ad2ae0c41837fe0ad05d961fe4ecdb673519 -size 45116 diff --git a/0.21.0.tar.gz b/0.21.0.tar.gz new file mode 100644 index 0000000..d361c7b --- /dev/null +++ b/0.21.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2f057c6811368d0fa400a8f05c7789273a9bdacccd02f06ff8913b651872540 +size 46600 diff --git a/python-injector.changes b/python-injector.changes index fdef2d0..d9542c1 100644 --- a/python-injector.changes +++ b/python-injector.changes @@ -1,8 +1,20 @@ +------------------------------------------------------------------- +Thu Dec 7 22:09:22 UTC 2023 - Dirk Müller + +- 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 - 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 - 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 @@ -38,7 +50,7 @@ Fri Dec 31 13:01:20 UTC 2021 - Matej Cepl ------------------------------------------------------------------- Thu Jan 28 04:00:57 UTC 2021 - Steve Kowalik -- 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 @@ -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 - 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 ------------------------------------------------------------------- diff --git a/python-injector.spec b/python-injector.spec index 07bbad4..e982559 100644 --- a/python-injector.spec +++ b/python-injector.spec @@ -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