anydi 0.48.1__tar.gz → 0.48.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. {anydi-0.48.1 → anydi-0.48.2}/PKG-INFO +2 -2
  2. {anydi-0.48.1 → anydi-0.48.2}/anydi/_container.py +1 -2
  3. {anydi-0.48.1 → anydi-0.48.2}/pyproject.toml +3 -3
  4. {anydi-0.48.1 → anydi-0.48.2}/README.md +0 -0
  5. {anydi-0.48.1 → anydi-0.48.2}/anydi/__init__.py +0 -0
  6. {anydi-0.48.1 → anydi-0.48.2}/anydi/_async.py +0 -0
  7. {anydi-0.48.1 → anydi-0.48.2}/anydi/_context.py +0 -0
  8. {anydi-0.48.1 → anydi-0.48.2}/anydi/_decorators.py +0 -0
  9. {anydi-0.48.1 → anydi-0.48.2}/anydi/_module.py +0 -0
  10. {anydi-0.48.1 → anydi-0.48.2}/anydi/_provider.py +0 -0
  11. {anydi-0.48.1 → anydi-0.48.2}/anydi/_scan.py +0 -0
  12. {anydi-0.48.1 → anydi-0.48.2}/anydi/_scope.py +0 -0
  13. {anydi-0.48.1 → anydi-0.48.2}/anydi/_typing.py +0 -0
  14. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/__init__.py +0 -0
  15. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/django/__init__.py +0 -0
  16. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/django/_container.py +0 -0
  17. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/django/_settings.py +0 -0
  18. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/django/_utils.py +0 -0
  19. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/django/apps.py +0 -0
  20. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/django/middleware.py +0 -0
  21. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/django/ninja/__init__.py +0 -0
  22. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/django/ninja/_operation.py +0 -0
  23. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/django/ninja/_signature.py +0 -0
  24. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/fastapi.py +0 -0
  25. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/faststream.py +0 -0
  26. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/pydantic_settings.py +0 -0
  27. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/pytest_plugin.py +0 -0
  28. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/starlette/__init__.py +0 -0
  29. {anydi-0.48.1 → anydi-0.48.2}/anydi/ext/starlette/middleware.py +0 -0
  30. {anydi-0.48.1 → anydi-0.48.2}/anydi/py.typed +0 -0
  31. {anydi-0.48.1 → anydi-0.48.2}/anydi/testing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: anydi
3
- Version: 0.48.1
3
+ Version: 0.48.2
4
4
  Summary: Dependency Injection library
5
5
  Keywords: dependency injection,dependencies,di,async,asyncio,application
6
6
  Author: Anton Ruhlov
@@ -29,7 +29,7 @@ Classifier: Programming Language :: Python :: 3 :: Only
29
29
  Requires-Dist: typing-extensions>=4.15.0,<5
30
30
  Requires-Dist: anyio>=3.7.1
31
31
  Requires-Dist: wrapt>=1.17.0,<2
32
- Requires-Python: ~=3.9
32
+ Requires-Python: >=3.9.0, <3.14
33
33
  Project-URL: Repository, https://github.com/antonrh/anydi
34
34
  Description-Content-Type: text/markdown
35
35
 
@@ -831,8 +831,7 @@ class Container:
831
831
  # Set inject marker interface
832
832
  parameter.default.interface = interface
833
833
 
834
- # TODO: temporary disable until strict is enforced (remove False)
835
- if False and not self.has_provider_for(interface):
834
+ if not self.has_provider_for(interface):
836
835
  raise LookupError(
837
836
  f"`{type_repr(call)}` has an unknown dependency parameter "
838
837
  f"`{parameter.name}` with an annotation of "
@@ -1,9 +1,9 @@
1
1
  [project]
2
2
  name = "anydi"
3
- version = "0.48.1"
3
+ version = "0.48.2"
4
4
  description = "Dependency Injection library"
5
5
  authors = [{ name = "Anton Ruhlov", email = "antonruhlov@gmail.com" }]
6
- requires-python = "~=3.9"
6
+ requires-python = ">=3.9.0, <3.14"
7
7
  readme = "README.md"
8
8
  license = "MIT"
9
9
  keywords = [
@@ -141,7 +141,7 @@ omit = [
141
141
  ]
142
142
 
143
143
  [tool.bumpversion]
144
- current_version = "0.48.1"
144
+ current_version = "0.48.2"
145
145
  parse = """(?x)
146
146
  (?P<major>0|[1-9]\\d*)\\.
147
147
  (?P<minor>0|[1-9]\\d*)\\.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes