Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Protocol support #54

Merged
merged 10 commits into from
Apr 15, 2024
Merged

Fix: Protocol support #54

merged 10 commits into from
Apr 15, 2024

Conversation

jarey
Copy link
Contributor

@jarey jarey commented Feb 16, 2024

Current behaviour

Kink current implementation fails to process classes that implement a Protocol. When a Protocol is implemented kink raises an incorrect exception about args/kwargs not matching expected ones.

Expected behaviour

Kink supports Protocols as part of the class hierarchy/interface implementation, processing dependency injection in the right way even if such elements are included as part of the class hierarchy.

Content of this PR

  • Fixed bug with Protocol support.
  • Include support for tests on CI/CD for python 3.10, 3.11 and 3.12
  • Adjusted linting/type-check so it complains with configured checks
  • Updated versions of dependencies
  • Removed outdated pytests arguments not supported on the updated version of pytest.

support protocols
expand scope of test by also testing protocols
upgrade action version and expand python check support
drop 3.11 and 3.12 support
update dependencies and address typing
add missing httpx package
arranged typing and removed outdated pytest arg
reinclude support for python 3.11 and 3.12 tests
@jose-turintech
Copy link

@dkraczkowski ping in case notifications for this were lost. Thanks for your time.

.github/workflows/main.yaml Outdated Show resolved Hide resolved
drop support for python 3.7

Co-authored-by: Capi Etheriel <[email protected]>
@dkraczkowski
Copy link
Contributor

@jarey I just wanted to take a moment to extend my heartfelt thanks for your contribution. Your support and effort truly made my day much better.

@dkraczkowski dkraczkowski merged commit 68dc8ba into kodemore:master Apr 15, 2024
6 checks passed
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.

4 participants