15
0

24 Commits

Author SHA256 Message Date
ae466f5545 Accepting request 1244148 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1244148
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=11
2025-02-07 22:07:36 +00:00
b8291e5b8f Accepting request 1244134 from home:glaubitz:branches:devel:languages:python
- Switch package to modern Python Stack on SLE-15
  * Use Python 3.11 on SLE-15 by default
  * Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install
  * Update name for dist directory in %files section

OBS-URL: https://build.opensuse.org/request/show/1244134
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=21
2025-02-07 12:59:41 +00:00
f85480475e Accepting request 1131714 from devel:languages:python
- 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/request/show/1131714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=10
2023-12-08 21:31:57 +00:00
08ac74e1de - 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
2023-12-07 22:09:30 +00:00
f06b64bf7c Accepting request 1006876 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1006876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=9
2022-09-29 16:13:53 +00:00
ea9a78b0e9 Accepting request 1006808 from home:yarunachalam:branches:devel:languages:python
- Update to 0.20.1
  - 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
  - Fixed handling of Union combined with Annotated, thanks to Tobias Nilsson
  - Fixed AssitedBuilder/child Injector interaction, thanks to Erik Cederberg
  - 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

OBS-URL: https://build.opensuse.org/request/show/1006808
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=17
2022-09-29 09:16:47 +00:00
e43f76dac5 Accepting request 945365 from devel:languages:python
- Fix test and runtime requirements
- Update to 0.19.0:
  - Added the license to the source distribution, thanks to
    Joshua Adelman
  - Added Python 3.9 and 3.10 support, this includes fixing
    Python 3.10 compatibility, thanks to Torge Matthies
  - Improved the documentation, thanks to Takahiro Kojima
  - Improved the source distribution so that it can be used to
    build and install wheels, thanks to Janusz Skonieczny
  - Added requirements files for easier development, thanks to
    Greg Eremeev
  - Removed Python 3.5 support
  - Fixed a bug where only one of multiple NoInject annotations
    was interpreted
- BuildRequires on the dataclasses module if using python 3.6 
- 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
- Update to 0.18.1:
  * Various minor fixes and support for new python
- Depend on full python interpreter for sqlite module
- version update to 0.17.0
  * Added support for using `typing.Dict` and `typing.List` in multibindings. See :meth:`multibind <injector.Binder.multibind>`.
  * Added multibinding-specific :func:`provider <injector.provider>` variant: :func:`multiprovider <injector.multiprovider>`
  * Deprecated using :func:`provider <injector.provider>` for multibindings
  * Fixed failure to provide a default value to a `NewType`-aliased type with auto_bind enabled
  * Deprecated :func:`Key <injector.Key>`, :func:`SequenceKey <injector.SequenceKey>` and
    :func:`MappingKey <injector.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 <injector.Binder.bind>`
    interfaces and types returned by :func:`provider <injector.provider>`-decorated methods
- 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
- Switch to github tarball to get both tests and license file
- Initial package (v0.15.0)

OBS-URL: https://build.opensuse.org/request/show/945365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=8
2022-01-10 22:53:45 +00:00
4d917605c8 Accepting request 945346 from home:bnavigator:branches:devel:languages:python
- Fix test and runtime requirements

OBS-URL: https://build.opensuse.org/request/show/945346
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=16
2022-01-10 14:47:11 +00:00
30289b99c5 Accepting request 943322 from devel:languages:python
- Update to 0.19.0:
  - Added the license to the source distribution, thanks to
    Joshua Adelman
  - Added Python 3.9 and 3.10 support, this includes fixing
    Python 3.10 compatibility, thanks to Torge Matthies
  - Improved the documentation, thanks to Takahiro Kojima
  - Improved the source distribution so that it can be used to
    build and install wheels, thanks to Janusz Skonieczny
  - Added requirements files for easier development, thanks to
    Greg Eremeev
  - Removed Python 3.5 support
  - Fixed a bug where only one of multiple NoInject annotations
    was interpreted

OBS-URL: https://build.opensuse.org/request/show/943322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=7
2022-01-03 09:49:24 +00:00
ed27f0f27f - Update to 0.19.0:
- Added the license to the source distribution, thanks to
    Joshua Adelman
  - Added Python 3.9 and 3.10 support, this includes fixing
    Python 3.10 compatibility, thanks to Torge Matthies
  - Improved the documentation, thanks to Takahiro Kojima
  - Improved the source distribution so that it can be used to
    build and install wheels, thanks to Janusz Skonieczny
  - Added requirements files for easier development, thanks to
    Greg Eremeev
  - Removed Python 3.5 support
  - Fixed a bug where only one of multiple NoInject annotations
    was interpreted

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=15
2021-12-31 13:05:40 +00:00
8d38ac4b70 Accepting request 867347 from devel:languages:python
- BuildRequires on the dataclasses module if using python 3.6

OBS-URL: https://build.opensuse.org/request/show/867347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=6
2021-03-08 14:16:27 +00:00
efcff0681f - BuildRequires on the dataclasses module if using python 3.6
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=13
2021-01-28 04:01:41 +00:00
494e859b24 Accepting request 792593 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/792593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=5
2020-04-09 21:15:23 +00:00
8aba040a06 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=11
2020-04-09 05:22:43 +00:00
4f6d277d6a Accepting request 755754 from devel:languages:python
- Update to 0.18.1:
  * Various minor fixes and support for new python
- Depend on full python interpreter for sqlite module

OBS-URL: https://build.opensuse.org/request/show/755754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=4
2019-12-11 11:15:00 +00:00
Tomáš Chvátal
fa2e5d263b - Update to 0.18.1:
* Various minor fixes and support for new python
- Depend on full python interpreter for sqlite module

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=9
2019-12-11 08:52:03 +00:00
7461c695a2 Accepting request 718269 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/718269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=3
2019-07-26 10:39:43 +00:00
Tomáš Chvátal
ccfbec5825 Accepting request 718267 from home:pgajdos
- version update to 0.17.0
  * Added support for using `typing.Dict` and `typing.List` in multibindings. See :meth:`multibind <injector.Binder.multibind>`.
  * Added multibinding-specific :func:`provider <injector.provider>` variant: :func:`multiprovider <injector.multiprovider>`
  * Deprecated using :func:`provider <injector.provider>` for multibindings
  * Fixed failure to provide a default value to a `NewType`-aliased type with auto_bind enabled
  * Deprecated :func:`Key <injector.Key>`, :func:`SequenceKey <injector.SequenceKey>` and
    :func:`MappingKey <injector.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 <injector.Binder.bind>`
    interfaces and types returned by :func:`provider <injector.provider>`-decorated methods

OBS-URL: https://build.opensuse.org/request/show/718267
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=7
2019-07-24 13:44:08 +00:00
a53ff00948 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
2019-06-12 11:17:32 +00:00
Tomáš Chvátal
038916f42f 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
2019-06-11 11:22:44 +00:00
Stephan Kulow
67cb18a021 Accepting request 676990 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/676990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-injector?expand=0&rev=1
2019-02-28 20:41:15 +00:00
Tomáš Chvátal
d5083bcd11 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=3 2019-02-18 09:44:37 +00:00
Tomáš Chvátal
ce2b69ea31 - Switch to github tarball to get both tests and license file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=2
2019-02-18 09:40:13 +00:00
Tomáš Chvátal
7a1a1aa1aa Accepting request 676655 from home:alois:branches:devel:languages:python
- Initial package (v0.15.0)

OBS-URL: https://build.opensuse.org/request/show/676655
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-injector?expand=0&rev=1
2019-02-18 08:54:56 +00:00