jsii allows code in any language to naturally interact with JavaScript classes. It is the technology that enables the AWS Cloud Development Kit to deliver polyglot libraries from a single codebase!
Currently python projects generated by pacmak define a typeguard dependency range of typeguard~=2.13.3, which prevents users from brining newer major version of typeguard into their projects.
This PR adds support for typeguard==3.x and typguard==4.x, which are the latest versions currently available. We intentionally do not allow an open range because every major version brings breaking changes with it that might need to be addressed.
Notes
We couldn't just drop support for typeguard==2.x because that would be a breaking change.
We could potentially release a new major version of pacmak to make the code more maintainable. My take is that this PR doesn't complicate the code to the extent of justifying a new major version, but lets discuss.
Currently python projects generated by pacmak define a
typeguard
dependency range oftypeguard~=2.13.3
, which prevents users from brining newer major version oftypeguard
into their projects.This PR adds support for
typeguard==3.x
andtypguard==4.x
, which are the latest versions currently available. We intentionally do not allow an open range because every major version brings breaking changes with it that might need to be addressed.Notes
typeguard==2.x
because that would be a breaking change.Fixes https://github.com/aws/jsii/issues/4469
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.