15
0
Commit Graph

13 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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