Skip to content

feat: support modern-di 4 - #67

Draft
lesnik512 wants to merge 1 commit into
mainfrom
modern-di-4
Draft

lesnik512 wants to merge 1 commit into
mainfrom
modern-di-4

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Refs modern-python/modern-di#579.

Summary

Widen the requirement to modern-di>=3,<5. The lower bound stays: the integration uses no 4.0-only API.

I re-checked the code, tests, example, README, CONTEXT.md and the ADRs for 3.x-only names and behaviour (ContainerClosedWarning, use_lock, the registries, finalizer_errors, optional context defaults, close resetting overrides). None are used. The command container is built with no context=, so the 4.0 context changes do not reach it.

Verification

  • modern-di 3.6.0 (latest on PyPI): lint-ci clean, test-ci 22 passed, 100% coverage.
  • modern-di 4.0 (wheel built from modern-di main f300c2e): ty check clean, 22 passed, 100% coverage.

Stays draft until modern-di 4.0.0 is on PyPI.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant