From 9569ee163b02d44fc0a41288528837457a93ed4e Mon Sep 17 00:00:00 2001 From: Chris Garvis Date: Wed, 14 Feb 2024 13:58:47 -0500 Subject: [PATCH 01/30] chore: updated link to rfc (#4412) After the RFC PR was merged, the branch doesn't exist. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- gh-pages/content/compiler-and-rosetta-maintenance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-pages/content/compiler-and-rosetta-maintenance.md b/gh-pages/content/compiler-and-rosetta-maintenance.md index cf9f41d85b..e6d1edb9c8 100644 --- a/gh-pages/content/compiler-and-rosetta-maintenance.md +++ b/gh-pages/content/compiler-and-rosetta-maintenance.md @@ -8,7 +8,7 @@ built on). This change was designed in [RFC-374], and removes the need for devel to releases still compatible with TypeScript 3.9 without necessarily requiring their dependents to do the same at the same time. Upgrading your `jsii` and `jsii-rosetta` dependencies to `v5.0.x` is transparent to your users. -[RFC-374]: https://github.com/aws/aws-cdk-rfcs/blob/rmuller/jsii-version-unlock/text/0374-jsii-ts-version.md +[RFC-374]: https://github.com/aws/aws-cdk-rfcs/blob/main/text/0374-jsii-ts-version.md Starting with the `5.0.x` release of `jsii` and `jsii-rosetta`, we are using a new versioning strategy for these two tools. Going forward we will closely follow new TypeScript compiler releases with new `jsii` and `jsii-rosetta` releases, From 072ca0a6d155ac973b17fbbabf1e5ca6ff16a950 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Feb 2024 19:41:28 +0000 Subject: [PATCH 02/30] chore(deps): Bump golang.org/x/tools from 0.17.0 to 0.18.0 in /packages/@jsii/go-runtime/jsii-runtime-go (#4424) Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.17.0 to 0.18.0.
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/tools&package-manager=go_modules&previous-version=0.17.0&new-version=0.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/go-runtime/jsii-runtime-go/go.mod | 6 +++--- packages/@jsii/go-runtime/jsii-runtime-go/go.sum | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod index 5e6e460396..665443ddb9 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod @@ -8,7 +8,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/stretchr/testify v1.8.4 golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 - golang.org/x/tools v0.17.0 + golang.org/x/tools v0.18.0 ) require ( @@ -16,8 +16,8 @@ require ( github.com/mattn/go-colorable v0.1.13 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/yuin/goldmark v1.4.13 // indirect - golang.org/x/mod v0.14.0 // indirect - golang.org/x/sys v0.14.0 // indirect + golang.org/x/mod v0.15.0 // indirect + golang.org/x/sys v0.17.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/packages/@jsii/go-runtime/jsii-runtime-go/go.sum b/packages/@jsii/go-runtime/jsii-runtime-go/go.sum index b9a2b87e61..a89eedf6df 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.sum +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.sum @@ -20,8 +20,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= -golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= +golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -30,12 +30,12 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= -golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= +golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= -golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= +golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ= +golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From 7b3a9c50993fdfc0766204e11407b71fe41259d1 Mon Sep 17 00:00:00 2001 From: Tom Keller <1083460+kellertk@users.noreply.github.com> Date: Mon, 19 Feb 2024 02:21:07 -0800 Subject: [PATCH 03/30] chore: minor github workflow changes (#4407) Based on customer feedback, AWS SDKs are making minor changes to our GitHub workflows: * The close issue message is too mean and too full of emoji. * The stale issue timings are too tight, especially on holidays and weekends. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- .github/workflows/close-stale-issues.yml | 4 ++-- .github/workflows/closed-issue-message.yml | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/close-stale-issues.yml b/.github/workflows/close-stale-issues.yml index 76f0a1425d..8e4e426a09 100644 --- a/.github/workflows/close-stale-issues.yml +++ b/.github/workflows/close-stale-issues.yml @@ -32,8 +32,8 @@ jobs: closed-for-staleness-label: closed-for-staleness # Issue timing - days-before-stale: 2 - days-before-close: 5 + days-before-stale: 10 + days-before-close: 4 days-before-ancient: 36500 # If you don't want to mark a issue as being ancient based on a diff --git a/.github/workflows/closed-issue-message.yml b/.github/workflows/closed-issue-message.yml index 669f84e899..a7f34da3f5 100644 --- a/.github/workflows/closed-issue-message.yml +++ b/.github/workflows/closed-issue-message.yml @@ -13,7 +13,5 @@ jobs: # These inputs are both required repo-token: "${{ secrets.GITHUB_TOKEN }}" message: | - ### ⚠️COMMENT VISIBILITY WARNING⚠️ - Comments on closed issues are hard for our team to see. - If you need more assistance, please either tag a team member or open a new issue that references this one. - If you wish to keep having a conversation with other community members under this issue feel free to do so. + This issue is now closed. Comments on closed issues are hard for our team to see. + If you need more assistance, please open a new issue that references this one. From b75206f90df49ffb59935fbd70a531acdf6f6375 Mon Sep 17 00:00:00 2001 From: Madeline Kusters <80541297+madeline-k@users.noreply.github.com> Date: Mon, 19 Feb 2024 03:02:50 -0800 Subject: [PATCH 04/30] chore: mergify config cleanup (#4428) Remove madeline-k and MrArnoldPalmer --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- .mergify/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mergify/config.yml b/.mergify/config.yml index e06510673b..5398c6f322 100644 --- a/.mergify/config.yml +++ b/.mergify/config.yml @@ -11,7 +11,7 @@ pull_request_rules: label: add: [contribution/core] conditions: - - author~=^(RomainMuller|rix0rrr|MrArnoldPalmer|iliapolo|madeline-k|comcalvi|kaizencc|corymhall|otaviomacedo|TheRealAmazonKendra|vinayak-kukreja|mrgrain|colifran|mikewrighton|paulhcsun)$ + - author~=^(RomainMuller|rix0rrr|iliapolo|comcalvi|kaizencc|corymhall|otaviomacedo|TheRealAmazonKendra|vinayak-kukreja|mrgrain|colifran|mikewrighton|paulhcsun)$ - -label~="contribution/core" - name: Tell them we're good now actions: From 4058ae347bef81c3f435fdc2cb2563899548e2b6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 12:08:43 +0000 Subject: [PATCH 05/30] chore(deps-dev): Update mkdocs-material requirement from ~=9.5.9 to ~=9.5.10 in /gh-pages (#4429) Updates the requirements on [mkdocs-material](https://github.com/squidfunk/mkdocs-material) to permit the latest version.
Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.5.10

  • Updated Bahasa Malaysia translations
  • Fixed #6783: Hide continue reading link for blog posts without separators
  • Fixed #6779: Incorrect positioning of integrated table of contents
Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.5.10 (2024-02-19)

  • Updated Bahasa Malaysia translations
  • Fixed #6783: Hide continue reading link for blog posts without separators
  • Fixed #6779: Incorrect positioning of integrated table of contents

mkdocs-material-9.5.9 (2024-02-10)

  • Fixed navigation pruning with tabs and sections enabled

mkdocs-material-9.5.8+insiders-4.52.2 (2024-02-07)

  • Fixed #6735: Instant previews misplaced when below tabs

mkdocs-material-9.5.8 (2024-02-07)

  • Added Tamil translations
  • Updated Esperanto translations
  • Fixed relative images not being resolved for instant navigation

mkdocs-material-9.5.7 (2024-02-03)

  • Fixed #6731: Small images in figures are not centered
  • Fixed #6719: Instant navigation breaks table of contents (9.5.5 regression)

mkdocs-material-9.5.6+insiders-4.52.1 (2024-01-30)

  • Fixed #6705: Navigation path not being hidden when specified
  • Fixed #6703: New tags plugin crashes on Windows (2nd attempt)

mkdocs-material-9.5.6+insiders-4.52.0 (2024-01-28)

  • Added support for instant previews
  • Fixed footnote tooltips positioning edge cases
  • Fixed #6703: New tags plugin crashes on Windows

mkdocs-material-9.5.6 (2024-01-28)

  • Fixed #6700: Missing styles for Mermaid.js labels with Markdown

mkdocs-material-9.5.5+insiders-4.51.0 (2024-01-24)

  • Added support for footnote tooltips

mkdocs-material-9.5.5 (2024-01-24)

  • Updated Tagalog translations
  • Updated Pillow to 10.2 to mitigate security vulnerabilities
  • Improved resilience of instant navigation
  • Fixed #6687: Updated Mermaid.js to version 10.7.0 (latest)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- gh-pages/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-pages/requirements-dev.txt b/gh-pages/requirements-dev.txt index 5ede8ca863..9fce61d43e 100644 --- a/gh-pages/requirements-dev.txt +++ b/gh-pages/requirements-dev.txt @@ -1,4 +1,4 @@ mkdocs~=1.5.3 mkdocs-awesome-pages-plugin~=2.9.2 -mkdocs-material~=9.5.9 +mkdocs-material~=9.5.10 mkdocs-git-revision-date-plugin~=0.3.2 From d33f79cce2c28e4090d4c1d4c5d2ae8ca38a856d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 13:09:49 +0000 Subject: [PATCH 06/30] chore(deps): Bump xunit.runner.visualstudio from 2.5.6 to 2.5.7 in /packages/@jsii/dotnet-runtime/src (#4431) Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.6 to 2.5.7.
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=xunit.runner.visualstudio&package-manager=nuget&previous-version=2.5.6&new-version=2.5.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/Directory.Build.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/Directory.Build.targets b/packages/@jsii/Directory.Build.targets index a982239b1a..f1458a94e3 100644 --- a/packages/@jsii/Directory.Build.targets +++ b/packages/@jsii/Directory.Build.targets @@ -13,7 +13,7 @@ - + From 6aa14084607b0ba846c167f00db77fef2dad19f4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 13:51:49 +0000 Subject: [PATCH 07/30] chore(deps): Bump xunit from 2.6.6 to 2.7.0 in /packages/@jsii/dotnet-runtime/src (#4430) Bumps [xunit](https://github.com/xunit/xunit) from 2.6.6 to 2.7.0.
Commits
  • d806fa1 v2.7.0
  • 13bb60b #2872: Expand special handling for sets in Assert.Contains/DoesNotContain (v2)
  • 203b4d9 Update to use the common build system (#2883)
  • a4f585b Remove UTF-8 byte order marks
  • 8b2c7b2 Add v3 build submodule
  • 2413c57 Throw when user tries to run a non-async test with a timeout
  • 9ebc10c #2573: Opting out of AsyncTestSyncContext (v2)
  • b060404 xunit/xunit#2880: Update XML documentation for string-based Assert.Equal (v2)
  • 6bbf922 Add conditions to EquivalenceAssertsTests for XUNIT_IMMUTABLE_COLLECTIONS
  • cab6a3e #2871: Inner exception stack trace is missing from Assert.Collection failure ...
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=xunit&package-manager=nuget&previous-version=2.6.6&new-version=2.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/Directory.Build.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/Directory.Build.targets b/packages/@jsii/Directory.Build.targets index f1458a94e3..b6a99dacbf 100644 --- a/packages/@jsii/Directory.Build.targets +++ b/packages/@jsii/Directory.Build.targets @@ -12,7 +12,7 @@ - + From 77042dc822733a1829fb4dc27ec4a9ae94e04432 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Feb 2024 15:11:52 +0000 Subject: [PATCH 08/30] chore(deps): Update black requirement from ~=23.12 to ~=24.1 in /packages/@jsii/python-runtime (#4410) Updates the requirements on [black](https://github.com/psf/black) to permit the latest version.
Release notes

Sourced from black's releases.

24.1.1

Bugfix release to fix a bug that made Black unusable on certain file systems with strict limits on path length.

Preview style

  • Consistently add trailing comma on typed parameters (#4164)

Configuration

  • Shorten the length of the name of the cache file to fix crashes on file systems that do not support long paths (#4176)
Changelog

Sourced from black's changelog.

24.1.1

Bugfix release to fix a bug that made Black unusable on certain file systems with strict limits on path length.

Preview style

  • Consistently add trailing comma on typed parameters (#4164)

Configuration

  • Shorten the length of the name of the cache file to fix crashes on file systems that do not support long paths (#4176)

24.1.0

Highlights

This release introduces the new 2024 stable style (#4106), stabilizing the following changes:

  • Add parentheses around if-else expressions (#2278)
  • Dummy class and function implementations consisting only of ... are formatted more compactly (#3796)
  • If an assignment statement is too long, we now prefer splitting on the right-hand side (#3368)
  • Hex codes in Unicode escape sequences are now standardized to lowercase (#2916)
  • Allow empty first lines at the beginning of most blocks (#3967, #4061)
  • Add parentheses around long type annotations (#3899)
  • Enforce newline after module docstrings (#3932, #4028)
  • Fix incorrect magic trailing comma handling in return types (#3916)
  • Remove blank lines before class docstrings (#3692)
  • Wrap multiple context managers in parentheses if combined in a single with statement (#3489)
  • Fix bug in line length calculations for power operations (#3942)
  • Add trailing commas to collection literals even if there's a comment after the last entry (#3393)
  • When using --skip-magic-trailing-comma or -C, trailing commas are stripped from subscript expressions with more than 1 element (#3209)
  • Add extra blank lines in stubs in a few cases (#3564, #3862)
  • Accept raw strings as docstrings (#3947)
  • Split long lines in case blocks (#4024)
  • Stop removing spaces from walrus operators within subscripts (#3823)
  • Fix incorrect formatting of certain async statements (#3609)
  • Allow combining # fmt: skip with other comments (#3959)

There are already a few improvements in the --preview style, which are slated for the 2025 stable style. Try them out and share your feedback. In the past, the preview style has included some features that we were not able to stabilize. This year, we're

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- .../@jsii/python-runtime/requirements.txt | 2 +- .../src/jsii/_kernel/providers/base.py | 51 +++++++------------ .../python-runtime/src/jsii/_kernel/types.py | 15 ++---- .../python-runtime/tests/test_compliance.py | 3 +- .../python-runtime/tests/test_invoke_bin.py | 6 +-- 5 files changed, 27 insertions(+), 50 deletions(-) diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index d7f1644ab2..27fb9e3bd9 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -1,4 +1,4 @@ -black~=23.12 +black~=24.1 mypy==1.8.0 pip~=24.0 pytest~=8.0 diff --git a/packages/@jsii/python-runtime/src/jsii/_kernel/providers/base.py b/packages/@jsii/python-runtime/src/jsii/_kernel/providers/base.py index 4e9180b231..8de247e3e4 100644 --- a/packages/@jsii/python-runtime/src/jsii/_kernel/providers/base.py +++ b/packages/@jsii/python-runtime/src/jsii/_kernel/providers/base.py @@ -45,73 +45,56 @@ class BaseProvider(metaclass=abc.ABCMeta): # much more Pythonic. @abc.abstractmethod - def load(self, request: LoadRequest) -> LoadResponse: - ... + def load(self, request: LoadRequest) -> LoadResponse: ... @abc.abstractmethod def getScriptCommand( self, request: GetScriptCommandRequest - ) -> GetScriptCommandResponse: - ... + ) -> GetScriptCommandResponse: ... @abc.abstractmethod - def invokeBinScript(self, request: InvokeScriptRequest) -> InvokeScriptResponse: - ... + def invokeBinScript(self, request: InvokeScriptRequest) -> InvokeScriptResponse: ... @abc.abstractmethod - def create(self, request: CreateRequest) -> CreateResponse: - ... + def create(self, request: CreateRequest) -> CreateResponse: ... @abc.abstractmethod - def get(self, request: GetRequest) -> GetResponse: - ... + def get(self, request: GetRequest) -> GetResponse: ... @abc.abstractmethod - def set(self, request: SetRequest) -> SetResponse: - ... + def set(self, request: SetRequest) -> SetResponse: ... @abc.abstractmethod - def sget(self, request: StaticGetRequest) -> GetResponse: - ... + def sget(self, request: StaticGetRequest) -> GetResponse: ... @abc.abstractmethod - def sset(self, request: StaticSetRequest) -> SetResponse: - ... + def sset(self, request: StaticSetRequest) -> SetResponse: ... @abc.abstractmethod - def invoke(self, request: InvokeRequest) -> Union[InvokeResponse, Callback]: - ... + def invoke(self, request: InvokeRequest) -> Union[InvokeResponse, Callback]: ... @abc.abstractmethod - def sinvoke(self, request: StaticInvokeRequest) -> InvokeResponse: - ... + def sinvoke(self, request: StaticInvokeRequest) -> InvokeResponse: ... @abc.abstractmethod - def complete(self, request: CompleteRequest) -> CompleteResponse: - ... + def complete(self, request: CompleteRequest) -> CompleteResponse: ... @abc.abstractmethod def sync_complete( self, request: CompleteRequest, response_type: Type[KernelResponse] - ) -> Union[InvokeResponse, GetResponse]: - ... + ) -> Union[InvokeResponse, GetResponse]: ... @abc.abstractmethod - def delete(self, request: DeleteRequest) -> DeleteResponse: - ... + def delete(self, request: DeleteRequest) -> DeleteResponse: ... @abc.abstractmethod - def begin(self, request: BeginRequest) -> BeginResponse: - ... + def begin(self, request: BeginRequest) -> BeginResponse: ... @abc.abstractmethod - def end(self, request: EndRequest) -> EndResponse: - ... + def end(self, request: EndRequest) -> EndResponse: ... @abc.abstractmethod - def callbacks(self, request: CallbacksRequest) -> CallbacksResponse: - ... + def callbacks(self, request: CallbacksRequest) -> CallbacksResponse: ... @abc.abstractmethod - def stats(self, request: Optional[StatsRequest] = None) -> StatsResponse: - ... + def stats(self, request: Optional[StatsRequest] = None) -> StatsResponse: ... diff --git a/packages/@jsii/python-runtime/src/jsii/_kernel/types.py b/packages/@jsii/python-runtime/src/jsii/_kernel/types.py index 7779a3e6ee..2810a3bf21 100644 --- a/packages/@jsii/python-runtime/src/jsii/_kernel/types.py +++ b/packages/@jsii/python-runtime/src/jsii/_kernel/types.py @@ -74,8 +74,7 @@ class CreateRequest: @attr.s(auto_attribs=True, frozen=True, slots=True) -class CreateResponse(ObjRef): - ... +class CreateResponse(ObjRef): ... @attr.s(auto_attribs=True, frozen=True, slots=True) @@ -84,8 +83,7 @@ class DeleteRequest: @attr.s(auto_attribs=True, frozen=True, slots=True) -class DeleteResponse: - ... +class DeleteResponse: ... @attr.s(auto_attribs=True, frozen=True, slots=True) @@ -120,8 +118,7 @@ class SetRequest: @attr.s(auto_attribs=True, frozen=True, slots=True) -class SetResponse: - ... +class SetResponse: ... @attr.s(auto_attribs=True, frozen=True, slots=True) @@ -175,8 +172,7 @@ class Callback: @attr.s(auto_attribs=True, frozen=True, slots=True) -class CallbacksRequest: - ... +class CallbacksRequest: ... @attr.s(auto_attribs=True, frozen=True, slots=True) @@ -207,8 +203,7 @@ class NamingResponse: @attr.s(auto_attribs=True, frozen=True, slots=True) -class StatsRequest: - ... +class StatsRequest: ... @attr.s(auto_attribs=True, frozen=True, slots=True) diff --git a/packages/@jsii/python-runtime/tests/test_compliance.py b/packages/@jsii/python-runtime/tests/test_compliance.py index 9281c75695..3ad2519c76 100644 --- a/packages/@jsii/python-runtime/tests/test_compliance.py +++ b/packages/@jsii/python-runtime/tests/test_compliance.py @@ -1178,8 +1178,7 @@ def return_struct(self): class IndirectlyImplementsStructReturningDelegate( ImplementsStructReturningDelegate - ): - ... + ): ... delegate = IndirectlyImplementsStructReturningDelegate() consumer = ConsumePureInterface(delegate) diff --git a/packages/@jsii/python-runtime/tests/test_invoke_bin.py b/packages/@jsii/python-runtime/tests/test_invoke_bin.py index 00e21ef91d..d9a17e52bd 100644 --- a/packages/@jsii/python-runtime/tests/test_invoke_bin.py +++ b/packages/@jsii/python-runtime/tests/test_invoke_bin.py @@ -24,9 +24,9 @@ def silence_node_deprecation_warnings(): environ[var] = "1" # silence this for the next decades - environ[ - "JSII_SILENCE_WARNING_END_OF_LIFE_NODE_VERSION" - ] = "14,16,18,20,22,24,26,28,30,32,34" + environ["JSII_SILENCE_WARNING_END_OF_LIFE_NODE_VERSION"] = ( + "14,16,18,20,22,24,26,28,30,32,34" + ) # Execute the test yield From 905f54da9ce07c57e8ded987984d8d328296abeb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:33:15 +0000 Subject: [PATCH 09/30] chore(deps): Update black requirement from ~=24.1 to ~=24.2 in /packages/@jsii/python-runtime (#4435) Updates the requirements on [black](https://github.com/psf/black) to permit the latest version.
Release notes

Sourced from black's releases.

24.2.0

Stable style

  • Fixed a bug where comments where mistakenly removed along with redundant parentheses (#4218)

Preview style

  • Move the hug_parens_with_braces_and_square_brackets feature to the unstable style due to an outstanding crash and proposed formatting tweaks (#4198)
  • Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (#4154)
  • Checking for newline before adding one on docstring that is almost at the line limit (#4185)
  • Remove redundant parentheses in case statement if guards (#4214).

Configuration

  • Fix issue where Black would ignore input files in the presence of symlinks (#4222)
  • Black now ignores pyproject.toml that is missing a tool.black section when discovering project root and configuration. Since Black continues to use version control as an indicator of project root, this is expected to primarily change behavior for users in a monorepo setup (desirably). If you wish to preserve previous behavior, simply add an empty [tool.black] to the previously discovered pyproject.toml (#4204)

Output

  • Black will swallow any SyntaxWarnings or DeprecationWarnings produced by the ast module when performing equivalence checks (#4189)

Integrations

  • Add a JSONSchema and provide a validate-pyproject entry-point (#4181)
Changelog

Sourced from black's changelog.

24.2.0

Stable style

  • Fixed a bug where comments where mistakenly removed along with redundant parentheses (#4218)

Preview style

  • Move the hug_parens_with_braces_and_square_brackets feature to the unstable style due to an outstanding crash and proposed formatting tweaks (#4198)
  • Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (#4154)
  • Checking for newline before adding one on docstring that is almost at the line limit (#4185)
  • Remove redundant parentheses in case statement if guards (#4214).

Configuration

  • Fix issue where Black would ignore input files in the presence of symlinks (#4222)
  • Black now ignores pyproject.toml that is missing a tool.black section when discovering project root and configuration. Since Black continues to use version control as an indicator of project root, this is expected to primarily change behavior for users in a monorepo setup (desirably). If you wish to preserve previous behavior, simply add an empty [tool.black] to the previously discovered pyproject.toml (#4204)

Output

  • Black will swallow any SyntaxWarnings or DeprecationWarnings produced by the ast module when performing equivalence checks (#4189)

Integrations

  • Add a JSONSchema and provide a validate-pyproject entry-point (#4181)

24.1.1

Bugfix release to fix a bug that made Black unusable on certain file systems with strict limits on path length.

Preview style

  • Consistently add trailing comma on typed parameters (#4164)

Configuration

  • Shorten the length of the name of the cache file to fix crashes on file systems that do not support long paths (#4176)

... (truncated)

Commits
  • 6fdf8a4 Prepare release 24.2.0 (#4226)
  • 8af4394 fix: Don't remove comments along with parens (#4218)
  • 35e9776 Bump pre-commit/action from 3.0.0 to 3.0.1 (#4225)
  • 23dfc5b Fix ignoring input files for symlink reasons (#4222)
  • a201003 Simplify check for symlinks that resolve outside root (#4221)
  • dab37a6 Remove redundant parentheses in case statement if guards (#4214)
  • 32230e6 fix: bug where the doublestar operation had inconsistent formatting. (#4154)
  • 7edb50f fix: additional newline added to docstring when the previous line length is l...
  • 3e80de3 Bump furo from 2023.9.10 to 2024.1.29 in /docs (#4211)
  • a08b480 Bump pypa/cibuildwheel from 2.16.4 to 2.16.5 (#4212)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/python-runtime/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index 27fb9e3bd9..220ee1d4f6 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -1,4 +1,4 @@ -black~=24.1 +black~=24.2 mypy==1.8.0 pip~=24.0 pytest~=8.0 From ac7ab0a0325b1a6abd5f715550e1f9e3bf0da2e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 13:42:00 +0000 Subject: [PATCH 10/30] chore(deps-dev): Update mkdocs-material requirement from ~=9.5.10 to ~=9.5.11 in /gh-pages (#4433) Updates the requirements on [mkdocs-material](https://github.com/squidfunk/mkdocs-material) to permit the latest version.
Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.5.11

  • Updated Finnish translation
Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.5.11+insiders-4.53.0 (2024-02-24)

  • Added support for automatic instant previews
  • Added support for pinned blog posts

mkdocs-material-9.5.11 (2024-02-19)

  • Updated Finnish translation

mkdocs-material-9.5.10+insiders-4.52.3 (2024-02-21)

  • Fixed resolution of URLs in instant previews
  • Fixed instant previews not mounting for same-page links

mkdocs-material-9.5.10 (2024-02-19)

  • Updated Bahasa Malaysia translations
  • Fixed #6783: Hide continue reading link for blog posts without separators
  • Fixed #6779: Incorrect positioning of integrated table of contents

mkdocs-material-9.5.9 (2024-02-10)

  • Fixed navigation pruning with tabs and sections enabled

mkdocs-material-9.5.8+insiders-4.52.2 (2024-02-07)

  • Fixed #6735: Instant previews misplaced when below tabs

mkdocs-material-9.5.8 (2024-02-07)

  • Added Tamil translations
  • Updated Esperanto translations
  • Fixed relative images not being resolved for instant navigation

mkdocs-material-9.5.7 (2024-02-03)

  • Fixed #6731: Small images in figures are not centered
  • Fixed #6719: Instant navigation breaks table of contents (9.5.5 regression)

mkdocs-material-9.5.6+insiders-4.52.1 (2024-01-30)

  • Fixed #6705: Navigation path not being hidden when specified
  • Fixed #6703: New tags plugin crashes on Windows (2nd attempt)

mkdocs-material-9.5.6+insiders-4.52.0 (2024-01-28)

  • Added support for instant previews
  • Fixed footnote tooltips positioning edge cases
  • Fixed #6703: New tags plugin crashes on Windows

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- gh-pages/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-pages/requirements-dev.txt b/gh-pages/requirements-dev.txt index 9fce61d43e..dd3131fa98 100644 --- a/gh-pages/requirements-dev.txt +++ b/gh-pages/requirements-dev.txt @@ -1,4 +1,4 @@ mkdocs~=1.5.3 mkdocs-awesome-pages-plugin~=2.9.2 -mkdocs-material~=9.5.10 +mkdocs-material~=9.5.11 mkdocs-git-revision-date-plugin~=0.3.2 From 6b5453e03008962a811577179d2f7831c058cda8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:49:44 +0000 Subject: [PATCH 11/30] chore(deps): Update setuptools requirement from ~=69.1.0 to ~=69.1.1 in /packages/@jsii/python-runtime (#4434) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
Changelog

Sourced from setuptools's changelog.

v69.1.1

Bugfixes

Misc

v69.1.0

Features

  • Updated and removed obsolete Python < 3.8 code and comments. -- by :user:Avasam (#4096)
  • Updated pkg_resources to use stdlib importlib.machinery instead of importlib_machinery -- by :user:Avasam (#4097)

Bugfixes

  • In tests, rely on pytest-home for reusable fixture. (#4072)
  • Explicitely marked as Protocol and fixed missing self argument in interfaces pkg_resources.IMetadataProvider and pkg_resources.IResourceProvider -- by :user:Avasam (#4144)
  • Restored expectation that egg-link files would be named with dash separators for compatibility with pip prior to version 24. (#4167)

Improved Documentation

  • Updated documentation referencing obsolete Python 3.7 code. -- by :user:Avasam (#4096)
  • Changed versionadded for "Type information included by default" feature from v68.3.0 to v69.0.0 -- by :user:Avasam` (#4182)
  • Described the auto-generated files -- by :user:VladimirFokow (#4198)
  • Updated "Quickstart" to describe the current status of setup.cfg and pyproject.toml -- by :user:VladimirFokow (#4200)

v69.0.3

Bugfixes

  • Retain valid names with underscores in egg_info.

... (truncated)

Commits
  • 8c45d6e Bump version: 69.1.0 → 69.1.1
  • 367559f Cleanup withespace in Github issue template
  • 5a54d5b Append arbitrary args instead of prepending (#4217)
  • 1719601 Append arbitrary args instead of prepending.
  • a9e7b72 Bump test dependency on packaging to 23.2 (#4231)
  • 86a2899 Use setup.cfg to specify test dependency on packaging
  • adc8999 PR number to newsfragment
  • 73466de Bump packaging in tests to 23.2
  • 569fd7b Add comments about Python version to bug-report.yml
  • e4cca0e Remove arbitrary equality operator from bug report template.
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/python-runtime/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index 220ee1d4f6..78d8a9bb98 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -3,7 +3,7 @@ mypy==1.8.0 pip~=24.0 pytest~=8.0 pytest-mypy~=0.10 -setuptools~=69.1.0 +setuptools~=69.1.1 types-python-dateutil~=2.8 wheel~=0.42 From 256b806db9978a77bb092ffc1d348173090cadd6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Feb 2024 14:26:14 +0000 Subject: [PATCH 12/30] chore(deps): Bump ip from 2.0.0 to 2.0.1 (#4432) Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ip&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=2.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/aws/jsii/network/alerts).
--- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index ebe8c73aee..7459f177d0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4779,9 +4779,9 @@ ip-regex@^4.1.0: integrity sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q== ip@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" - integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== + version "2.0.1" + resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.1.tgz#e8f3595d33a3ea66490204234b77636965307105" + integrity sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ== is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: version "3.0.2" From 5c0d9e4572a5a9ba6c41a37a4434402ec2d74b14 Mon Sep 17 00:00:00 2001 From: Rico Hermans Date: Mon, 4 Mar 2024 11:17:15 +0100 Subject: [PATCH 13/30] fix(jsii-pacmak): different packages sharing a namespace fail in Bazel (#4437) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In Bazel, every package is extracted into a separate directory that are all put into the `$PYTHONPATH` individually. However when searching, Python will latch onto the directory that has an `__init__.py` in it and only import from that directory. Example: ``` eco_package1/ └── site-packages/ └── eco/    └── package1/ └── __init__.py eco/ └── site-packages/ └── eco/    └── __init__.py ``` In this case, the following command will fail: ```py import eco.package1 ``` Because `eco/package1/__init__.py` is not in the same directory as `eco/__init__.py`. We can fix this by generating a command into every `__init__.py` that uses `pkgutil` to extend the search path for a package; it will put all directories in `$PYTHONPATH` that contain the same package onto the search path for submodules. The command looks like this: ```py from pkgutil import extend_path __path__ = extend_path(__path__, __name__) ``` Resolves #3881, thanks to @psalvaggio-dl for providing a repro and doing the research for a fix. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- packages/jsii-pacmak/lib/targets/python.ts | 14 + .../__snapshots__/examples.test.js.snap | 12 + .../prerelease-identifiers.test.js.snap | 12 + .../__snapshots__/target-python.test.js.snap | 637 +++++++++++------- 4 files changed, 430 insertions(+), 245 deletions(-) diff --git a/packages/jsii-pacmak/lib/targets/python.ts b/packages/jsii-pacmak/lib/targets/python.ts index 63b245d0fd..2e0e02a6a6 100644 --- a/packages/jsii-pacmak/lib/targets/python.ts +++ b/packages/jsii-pacmak/lib/targets/python.ts @@ -1700,6 +1700,20 @@ class PythonModule implements PythonType { // Before we write anything else, we need to write out our module headers, this // is where we handle stuff like imports, any required initialization, etc. + + // If multiple packages use the same namespace (in Python, a directory) it + // depends on how they are laid out on disk if deep imports of multiple packages + // will succeed. `pip` merges all packages into the same directory, and deep + // imports work automatically. `bazel` puts packages into different directories, + // and `import aws_cdk.subpackage` will fail if `aws_cdk/__init__.py` and + // `aws_cdk/subpackage/__init__.py` are not in the same directory. + // + // We can get around this by using `pkgutil` to extend the search path for the + // current module (`__path__`) with all packages found on `sys.path`. + code.line('from pkgutil import extend_path'); + code.line('__path__ = extend_path(__path__, __name__)'); + code.line(); + code.line('import abc'); code.line('import builtins'); code.line('import datetime'); diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap index 140caa467f..334e4fca8c 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap @@ -1298,6 +1298,9 @@ setuptools.setup(**kwargs) `; exports[`diamond-struct-parameter.ts: /python/src/example_test_demo/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -1512,6 +1515,9 @@ def _typecheckingstub__98e5f88ba6c94001e15cc6f3ce78d86bd3610eea1b79954536d33da0d `; exports[`diamond-struct-parameter.ts: /python/src/example_test_demo/_jsii/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -2719,6 +2725,9 @@ setuptools.setup(**kwargs) `; exports[`nested-types.ts: /python/src/example_test_demo/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -2843,6 +2852,9 @@ def _typecheckingstub__2a8df629360a764124e23427f4b4bb1422fef01e5b6dcd040a2f64d47 `; exports[`nested-types.ts: /python/src/example_test_demo/_jsii/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/prerelease-identifiers.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/prerelease-identifiers.test.js.snap index 9a87703a37..4a378ea4a7 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/prerelease-identifiers.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/prerelease-identifiers.test.js.snap @@ -486,6 +486,9 @@ setuptools.setup(**kwargs) `; exports[`foo@1.2.3 depends on bar@^2.0.0-rc.42: /python/src/foo/_jsii/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -1000,6 +1003,9 @@ setuptools.setup(**kwargs) `; exports[`foo@1.2.3 depends on bar@^4.5.6-pre.1337: /python/src/foo/_jsii/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -1493,6 +1499,9 @@ setuptools.setup(**kwargs) `; exports[`foo@2.0.0-rc.42: /python/src/foo/_jsii/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -1984,6 +1993,9 @@ setuptools.setup(**kwargs) `; exports[`foo@4.5.6-pre.1337: /python/src/foo/_jsii/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap index 34a2c1428f..1cbca68ca2 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap @@ -322,6 +322,9 @@ setuptools.setup(**kwargs) `; exports[`Generated code for "@scope/jsii-calc-base": /python/src/scope/jsii_calc_base/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -458,6 +461,9 @@ publication.publish() `; exports[`Generated code for "@scope/jsii-calc-base": /python/src/scope/jsii_calc_base/_jsii/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -503,7 +509,7 @@ exports[`Generated code for "@scope/jsii-calc-base": / exports[`Generated code for "@scope/jsii-calc-base": /python/src/scope/jsii_calc_base/__init__.py.diff 1`] = ` --- python/src/scope/jsii_calc_base/__init__.py --no-runtime-type-checking +++ python/src/scope/jsii_calc_base/__init__.py --runtime-type-checking -@@ -50,10 +50,14 @@ +@@ -53,10 +53,14 @@ ) -> None: ''' :param foo: - @@ -518,7 +524,7 @@ exports[`Generated code for "@scope/jsii-calc-base": /p "bar": bar, } -@@ -117,10 +121,13 @@ +@@ -120,10 +124,13 @@ @builtins.classmethod def consume(cls, *args: typing.Any) -> None: ''' @@ -532,7 +538,7 @@ exports[`Generated code for "@scope/jsii-calc-base": /p __all__ = [ "Base", -@@ -128,5 +135,19 @@ +@@ -131,5 +138,19 @@ "IBaseInterface", "StaticConsumer", ] @@ -875,6 +881,9 @@ setuptools.setup(**kwargs) `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/src/scope/jsii_calc_base_of_base/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -982,6 +991,9 @@ publication.publish() `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/src/scope/jsii_calc_base_of_base/_jsii/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -1028,7 +1040,7 @@ exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/src/scope/jsii_calc_base_of_base/__init__.py.diff 1`] = ` --- python/src/scope/jsii_calc_base_of_base/__init__.py --no-runtime-type-checking +++ python/src/scope/jsii_calc_base_of_base/__init__.py --runtime-type-checking -@@ -39,10 +39,13 @@ +@@ -42,10 +42,13 @@ @builtins.classmethod def consume(cls, *_args: typing.Any) -> None: ''' @@ -1042,7 +1054,7 @@ exports[`Generated code for "@scope/jsii-calc-base-of-base": None: ''' @@ -1056,7 +1068,7 @@ exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/src/scope/jsii_calc_lib/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -2024,6 +2039,9 @@ from . import deprecation_removal `; exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/_jsii/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -2059,6 +2077,9 @@ exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/js This is a submodule readme. ''' +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -2267,6 +2288,9 @@ publication.publish() `; exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/deprecation_removal/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -2383,7 +2407,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": / 1 exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/__init__.py.diff 1`] = ` --- python/src/scope/jsii_calc_lib/__init__.py --no-runtime-type-checking +++ python/src/scope/jsii_calc_lib/__init__.py --runtime-type-checking -@@ -34,19 +34,25 @@ +@@ -37,19 +37,25 @@ ''' :param very: - @@ -2409,7 +2433,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py @jsii.data_type( jsii_type="@scope/jsii-calc-lib.DiamondLeft", -@@ -64,10 +70,14 @@ +@@ -67,10 +73,14 @@ :param hoisted_top: :param left: @@ -2424,7 +2448,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py self._values["hoisted_top"] = hoisted_top if left is not None: self._values["left"] = left -@@ -116,10 +126,14 @@ +@@ -119,10 +129,14 @@ :param hoisted_top: :param right: @@ -2439,7 +2463,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py self._values["hoisted_top"] = hoisted_top if right is not None: self._values["right"] = right -@@ -191,10 +205,13 @@ +@@ -194,10 +208,13 @@ ''' :param _: - @@ -2453,7 +2477,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py @jsii.interface(jsii_type="@scope/jsii-calc-lib.IDoublable") class IDoublable(typing_extensions.Protocol): -@@ -342,10 +359,15 @@ +@@ -345,10 +362,15 @@ :param astring: (deprecated) A string value. :param first_optional: @@ -2469,7 +2493,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py "astring": astring, } if first_optional is not None: -@@ -502,10 +524,15 @@ +@@ -505,10 +527,15 @@ :param optional2: :param optional3: @@ -2485,7 +2509,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py self._values["optional1"] = optional1 if optional2 is not None: self._values["optional2"] = optional2 -@@ -565,10 +592,13 @@ +@@ -568,10 +595,13 @@ :param value: The number. @@ -2499,7 +2523,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py @builtins.property @jsii.member(jsii_name="doubleValue") def double_value(self) -> jsii.Number: -@@ -609,5 +639,63 @@ +@@ -612,5 +642,63 @@ publication.publish() # Loading modules to ensure their types are registered with the jsii runtime library @@ -2568,7 +2592,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/custom_submodule_name/__init__.py.diff 1`] = ` --- python/src/scope/jsii_calc_lib/custom_submodule_name/__init__.py --no-runtime-type-checking +++ python/src/scope/jsii_calc_lib/custom_submodule_name/__init__.py --runtime-type-checking -@@ -97,10 +97,13 @@ +@@ -100,10 +100,13 @@ :param name: @@ -2582,7 +2606,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py } @builtins.property -@@ -135,10 +138,14 @@ +@@ -138,10 +141,14 @@ :param key: :param value: @@ -2597,7 +2621,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py "value": value, } -@@ -194,10 +201,13 @@ +@@ -197,10 +204,13 @@ ''' :param reflectable: - @@ -2611,7 +2635,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py __all__ = [ "IReflectable", -@@ -205,5 +215,26 @@ +@@ -208,5 +218,26 @@ "ReflectableEntry", "Reflector", ] @@ -3133,6 +3157,9 @@ calculator.add(10) foo = "bar" \`\`\` ''' +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -11725,6 +11752,9 @@ from . import union `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/_jsii/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -11774,6 +11804,9 @@ exit(exit_code) exports[`Generated code for "jsii-calc": /python/src/jsii_calc/_jsii/jsii-calc@3.20.120.jsii.tgz 1`] = `python/src/jsii_calc/_jsii/jsii-calc@3.20.120.jsii.tgz is a tarball`; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/anonymous/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -11862,6 +11895,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/cdk16625/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -11927,6 +11963,9 @@ from . import donotimport `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/cdk16625/donotimport/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -11982,6 +12021,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/cdk22369/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12050,6 +12092,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/composition/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12166,6 +12211,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/derived_class_has_no_properties/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12223,6 +12271,9 @@ Verifies homonymous forward references don't trip the Python type checker This has been an issue when stub functions were introduced to create a reliable source for type checking information, which was reported in https://github.com/aws/jsii/issues/3818. ''' +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12251,6 +12302,9 @@ from . import foo `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/homonymous_forward_references/bar/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12366,6 +12420,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/homonymous_forward_references/foo/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12481,6 +12538,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12555,6 +12615,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/interface_in_namespace_only_interface/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12611,6 +12674,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/jsii3656/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12731,6 +12797,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2530/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12783,6 +12852,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2617/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12822,6 +12894,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2647/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12878,6 +12953,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2689/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12910,6 +12988,9 @@ from . import structs `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2689/methods/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -12965,6 +13046,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2689/props/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13009,6 +13093,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2689/retval/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13051,6 +13138,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2689/structs/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13125,6 +13215,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2692/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13153,6 +13246,9 @@ from . import submodule2 `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2692/submodule1/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13209,6 +13305,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2692/submodule2/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13322,6 +13421,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2700/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13401,6 +13503,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2702/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13634,6 +13739,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/nodirect/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13662,6 +13770,9 @@ from . import sub2 `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/nodirect/sub1/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13698,6 +13809,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/nodirect/sub2/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13734,6 +13848,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/onlystatic/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13775,6 +13892,9 @@ exports[`Generated code for "jsii-calc": /python/src/jsii_calc/py.typed `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/python_self/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -13904,6 +14024,9 @@ exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule This is the readme of the \`jsii-calc.submodule\` module. ''' +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -14037,6 +14160,9 @@ from . import returnsparam `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/back_references/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -14095,6 +14221,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/child/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -14292,6 +14421,9 @@ exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule This is the readme of the \`jsii-calc.submodule.isolated\` module. ''' +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -14340,6 +14472,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/nested_submodule/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -14398,6 +14533,9 @@ from . import deeply_nested `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/nested_submodule/deeply_nested/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -14444,6 +14582,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/param/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -14500,6 +14641,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/returnsparam/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -14538,6 +14682,9 @@ publication.publish() `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/union/__init__.py 1`] = ` +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) + import abc import builtins import datetime @@ -14663,7 +14810,7 @@ exports[`Generated code for "jsii-calc": / 1`] = ` exports[`Generated code for "jsii-calc": /python/src/jsii_calc/__init__.py.diff 1`] = ` --- python/src/jsii_calc/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/__init__.py --runtime-type-checking -@@ -111,10 +111,13 @@ +@@ -114,10 +114,13 @@ def work_it_all(self, seed: builtins.str) -> builtins.str: '''Sets \`\`seed\`\` to \`\`this.property\`\`, then calls \`\`someMethod\`\` with \`\`this.property\`\` and returns the result. @@ -14677,7 +14824,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="property") @abc.abstractmethod -@@ -131,19 +134,25 @@ +@@ -134,19 +137,25 @@ @jsii.member(jsii_name="someMethod") def _some_method(self, str: builtins.str) -> builtins.str: ''' @@ -14703,7 +14850,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class typing.cast(typing.Any, AbstractSuite).__jsii_proxy_class__ = lambda : _AbstractSuiteProxy -@@ -161,10 +170,13 @@ +@@ -164,10 +173,13 @@ @jsii.member(jsii_name="anyIn") def any_in(self, inp: typing.Any) -> None: ''' @@ -14717,7 +14864,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="anyOut") def any_out(self) -> typing.Any: return typing.cast(typing.Any, jsii.invoke(self, "anyOut", [])) -@@ -172,10 +184,13 @@ +@@ -175,10 +187,13 @@ @jsii.member(jsii_name="enumMethod") def enum_method(self, value: "StringEnum") -> "StringEnum": ''' @@ -14731,7 +14878,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="enumPropertyValue") def enum_property_value(self) -> jsii.Number: -@@ -186,73 +201,97 @@ +@@ -189,73 +204,97 @@ def any_array_property(self) -> typing.List[typing.Any]: return typing.cast(typing.List[typing.Any], jsii.get(self, "anyArrayProperty")) @@ -14829,7 +14976,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="mapProperty") def map_property( -@@ -263,28 +302,37 @@ +@@ -266,28 +305,37 @@ @map_property.setter def map_property( self, @@ -14867,7 +15014,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionArrayProperty") def union_array_property( -@@ -295,10 +343,13 @@ +@@ -298,10 +346,13 @@ @union_array_property.setter def union_array_property( self, @@ -14881,7 +15028,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionMapProperty") def union_map_property( -@@ -309,10 +360,13 @@ +@@ -312,10 +363,13 @@ @union_map_property.setter def union_map_property( self, @@ -14895,7 +15042,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionProperty") def union_property( -@@ -323,19 +377,25 @@ +@@ -326,19 +380,25 @@ @union_property.setter def union_property( self, @@ -14921,7 +15068,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unknownMapProperty") def unknown_map_property(self) -> typing.Mapping[builtins.str, typing.Any]: -@@ -344,28 +404,37 @@ +@@ -347,28 +407,37 @@ @unknown_map_property.setter def unknown_map_property( self, @@ -14959,7 +15106,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.AllTypesEnum") class AllTypesEnum(enum.Enum): -@@ -385,36 +454,52 @@ +@@ -388,36 +457,52 @@ def get_bar(self, _p1: builtins.str, _p2: jsii.Number) -> None: ''' :param _p1: - @@ -15012,7 +15159,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class AmbiguousParameters( metaclass=jsii.JSIIMeta, -@@ -430,10 +515,13 @@ +@@ -433,10 +518,13 @@ ''' :param scope_: - :param scope: @@ -15026,7 +15173,7 @@ exports[`Generated code for "jsii-calc": /python/src/js jsii.create(self.__class__, self, [scope_, props_]) @builtins.property -@@ -465,10 +553,16 @@ +@@ -468,10 +556,16 @@ :param obj: the receiver object. :param prop_a: the first property to read. :param prop_b: the second property to read. @@ -15043,7 +15190,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class AsyncVirtualMethods( metaclass=jsii.JSIIMeta, -@@ -503,10 +597,13 @@ +@@ -506,10 +600,13 @@ @jsii.member(jsii_name="overrideMe") def override_me(self, mult: jsii.Number) -> jsii.Number: ''' @@ -15057,7 +15204,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="overrideMeToo") def override_me_too(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.ainvoke(self, "overrideMeToo", [])) -@@ -567,10 +664,14 @@ +@@ -570,10 +667,14 @@ '''Creates a BinaryOperation. :param lhs: Left-hand side operand. @@ -15072,7 +15219,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="hello") def hello(self) -> builtins.str: '''Say hello!''' -@@ -631,10 +732,13 @@ +@@ -634,10 +735,13 @@ :param value: the value that should be returned. @@ -15086,7 +15233,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class typing.cast(typing.Any, BurriedAnonymousObject).__jsii_proxy_class__ = lambda : _BurriedAnonymousObjectProxy -@@ -684,18 +788,24 @@ +@@ -687,18 +791,24 @@ def add(self, value: jsii.Number) -> None: '''Adds a number to the current value. @@ -15111,7 +15258,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="neg") def neg(self) -> None: '''Negates the current value.''' -@@ -705,10 +815,13 @@ +@@ -708,10 +818,13 @@ def pow(self, value: jsii.Number) -> None: '''Raises the current value by a power. @@ -15125,7 +15272,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="readUnionValue") def read_union_value(self) -> jsii.Number: '''Returns teh value of the union property (if defined).''' -@@ -740,20 +853,26 @@ +@@ -743,20 +856,26 @@ '''The current value.''' return typing.cast(_scope_jsii_calc_lib_c61f082f.NumericValue, jsii.get(self, "curr")) @@ -15152,7 +15299,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionProperty") def union_property( -@@ -765,10 +884,13 @@ +@@ -768,10 +887,13 @@ @union_property.setter def union_property( self, @@ -15166,7 +15313,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.CalculatorProps", -@@ -785,10 +907,14 @@ +@@ -788,10 +910,14 @@ '''Properties for Calculator. :param initial_value: The initial value of the calculator. NOTE: Any number works here, it's fine. Default: 0 @@ -15181,7 +15328,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["initial_value"] = initial_value if maximum_value is not None: self._values["maximum_value"] = maximum_value -@@ -834,10 +960,13 @@ +@@ -837,10 +963,13 @@ union_property: typing.Sequence[typing.Mapping[builtins.str, typing.Union[typing.Union["StructA", typing.Dict[builtins.str, typing.Any]], typing.Union["StructB", typing.Dict[builtins.str, typing.Any]]]]], ) -> None: ''' @@ -15195,7 +15342,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionProperty") def union_property( -@@ -848,10 +977,13 @@ +@@ -851,10 +980,13 @@ @union_property.setter def union_property( self, @@ -15209,7 +15356,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ClassWithCollections( metaclass=jsii.JSIIMeta, -@@ -864,10 +996,14 @@ +@@ -867,10 +999,14 @@ ) -> None: ''' :param map: - @@ -15224,7 +15371,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="createAList") @builtins.classmethod def create_a_list(cls) -> typing.List[builtins.str]: -@@ -883,37 +1019,49 @@ +@@ -886,37 +1022,49 @@ def static_array(cls) -> typing.List[builtins.str]: # pyright: ignore [reportGeneralTypeIssues] return typing.cast(typing.List[builtins.str], jsii.sget(cls, "staticArray")) @@ -15274,7 +15421,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ClassWithContainerTypes( metaclass=jsii.JSIIMeta, -@@ -935,10 +1083,15 @@ +@@ -938,10 +1086,15 @@ :param obj: - :param array_prop: :param obj_prop: @@ -15290,7 +15437,7 @@ exports[`Generated code for "jsii-calc": /python/src/js ) jsii.create(self.__class__, self, [array, record, obj, props]) -@@ -988,17 +1141,23 @@ +@@ -991,17 +1144,23 @@ ): def __init__(self, int: builtins.str) -> None: ''' @@ -15314,7 +15461,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="int") def int(self) -> builtins.str: -@@ -1017,10 +1176,13 @@ +@@ -1020,10 +1179,13 @@ def mutable_object(self) -> "IMutableObjectLiteral": return typing.cast("IMutableObjectLiteral", jsii.get(self, "mutableObject")) @@ -15328,7 +15475,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ClassWithNestedUnion( metaclass=jsii.JSIIMeta, -@@ -1031,10 +1193,13 @@ +@@ -1034,10 +1196,13 @@ union_property: typing.Sequence[typing.Union[typing.Mapping[builtins.str, typing.Union[typing.Union["StructA", typing.Dict[builtins.str, typing.Any]], typing.Union["StructB", typing.Dict[builtins.str, typing.Any]]]], typing.Sequence[typing.Union[typing.Union["StructA", typing.Dict[builtins.str, typing.Any]], typing.Union["StructB", typing.Dict[builtins.str, typing.Any]]]]]], ) -> None: ''' @@ -15342,7 +15489,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionProperty") def union_property( -@@ -1045,10 +1210,13 @@ +@@ -1048,10 +1213,13 @@ @union_property.setter def union_property( self, @@ -15356,7 +15503,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ConfusingToJackson( metaclass=jsii.JSIIMeta, -@@ -1079,10 +1247,13 @@ +@@ -1082,10 +1250,13 @@ @union_property.setter def union_property( self, @@ -15370,7 +15517,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ConfusingToJacksonStruct", -@@ -1096,10 +1267,13 @@ +@@ -1099,10 +1270,13 @@ union_property: typing.Optional[typing.Union[_scope_jsii_calc_lib_c61f082f.IFriendly, typing.Sequence[typing.Union[_scope_jsii_calc_lib_c61f082f.IFriendly, "AbstractClass"]]]] = None, ) -> None: ''' @@ -15384,7 +15531,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["union_property"] = union_property @builtins.property -@@ -1127,10 +1301,13 @@ +@@ -1130,10 +1304,13 @@ ): def __init__(self, consumer: "PartiallyInitializedThisConsumer") -> None: ''' @@ -15398,7 +15545,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Constructors(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Constructors"): def __init__(self) -> None: -@@ -1178,10 +1355,13 @@ +@@ -1181,10 +1358,13 @@ ): def __init__(self, delegate: "IStructReturningDelegate") -> None: ''' @@ -15412,7 +15559,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="workItBaby") def work_it_baby(self) -> "StructB": return typing.cast("StructB", jsii.invoke(self, "workItBaby", [])) -@@ -1210,10 +1390,13 @@ +@@ -1213,10 +1393,13 @@ Returns whether the bell was rung. @@ -15426,7 +15573,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="staticImplementedByPrivateClass") @builtins.classmethod def static_implemented_by_private_class( -@@ -1224,10 +1407,13 @@ +@@ -1227,10 +1410,13 @@ Return whether the bell was rung. @@ -15440,7 +15587,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="staticImplementedByPublicClass") @builtins.classmethod def static_implemented_by_public_class(cls, ringer: "IBellRinger") -> builtins.bool: -@@ -1235,10 +1421,13 @@ +@@ -1238,10 +1424,13 @@ Return whether the bell was rung. @@ -15454,7 +15601,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="staticWhenTypedAsClass") @builtins.classmethod def static_when_typed_as_class(cls, ringer: "IConcreteBellRinger") -> builtins.bool: -@@ -1246,50 +1435,65 @@ +@@ -1249,50 +1438,65 @@ Return whether the bell was rung. @@ -15520,7 +15667,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ConsumersOfThisCrazyTypeSystem( metaclass=jsii.JSIIMeta, -@@ -1304,20 +1508,26 @@ +@@ -1307,20 +1511,26 @@ obj: "IAnotherPublicInterface", ) -> builtins.str: ''' @@ -15547,7 +15694,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ContainerProps", -@@ -1339,10 +1549,15 @@ +@@ -1342,10 +1552,15 @@ ''' :param array_prop: :param obj_prop: @@ -15563,7 +15710,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "obj_prop": obj_prop, "record_prop": record_prop, } -@@ -1408,17 +1623,23 @@ +@@ -1411,17 +1626,23 @@ data: typing.Mapping[builtins.str, typing.Any], ) -> builtins.str: ''' @@ -15587,7 +15734,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Default(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Default"): '''A class named "Default". -@@ -1447,10 +1668,15 @@ +@@ -1450,10 +1671,15 @@ ''' :param arg1: - :param arg2: - @@ -15603,7 +15750,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="arg1") def arg1(self) -> jsii.Number: -@@ -1508,10 +1734,14 @@ +@@ -1511,10 +1737,14 @@ :deprecated: this constructor is "just" okay @@ -15618,7 +15765,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -1541,10 +1771,13 @@ +@@ -1544,10 +1774,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -15632,7 +15779,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.DeprecatedEnum") class DeprecatedEnum(enum.Enum): -@@ -1580,10 +1813,13 @@ +@@ -1583,10 +1816,13 @@ :deprecated: it just wraps a string @@ -15646,7 +15793,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -1648,10 +1884,21 @@ +@@ -1651,10 +1887,21 @@ :param non_primitive: An example of a non primitive property. :param another_optional: This is optional. :param optional_any: @@ -15668,7 +15815,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "astring": astring, "another_required": another_required, "bool": bool, -@@ -1772,10 +2019,16 @@ +@@ -1775,10 +2022,16 @@ :param hoisted_top: :param left: :param right: @@ -15685,7 +15832,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["hoisted_top"] = hoisted_top if left is not None: self._values["left"] = left -@@ -1833,10 +2086,13 @@ +@@ -1836,10 +2089,13 @@ class DiamondInheritanceBaseLevelStruct: def __init__(self, *, base_level_property: builtins.str) -> None: ''' @@ -15699,7 +15846,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -1874,10 +2130,14 @@ +@@ -1877,10 +2133,14 @@ ) -> None: ''' :param base_level_property: @@ -15714,7 +15861,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "first_mid_level_property": first_mid_level_property, } -@@ -1922,10 +2182,14 @@ +@@ -1925,10 +2185,14 @@ ) -> None: ''' :param base_level_property: @@ -15729,7 +15876,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "second_mid_level_property": second_mid_level_property, } -@@ -1981,10 +2245,16 @@ +@@ -1984,10 +2248,16 @@ :param base_level_property: :param first_mid_level_property: :param second_mid_level_property: @@ -15746,7 +15893,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "first_mid_level_property": first_mid_level_property, "second_mid_level_property": second_mid_level_property, "top_level_property": top_level_property, -@@ -2064,10 +2334,13 @@ +@@ -2067,10 +2337,13 @@ @jsii.member(jsii_name="changePrivatePropertyValue") def change_private_property_value(self, new_value: builtins.str) -> None: ''' @@ -15760,7 +15907,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="privateMethodValue") def private_method_value(self) -> builtins.str: return typing.cast(builtins.str, jsii.invoke(self, "privateMethodValue", [])) -@@ -2096,10 +2369,15 @@ +@@ -2099,10 +2372,15 @@ ''' :param _required_any: - :param _optional_any: - @@ -15776,7 +15923,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class DocumentedClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DocumentedClass"): '''Here's the first line of the TSDoc comment. -@@ -2171,10 +2449,14 @@ +@@ -2174,10 +2452,14 @@ ) -> builtins.str: ''' :param optional: - @@ -15791,7 +15938,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.DontUseMe", -@@ -2187,10 +2469,13 @@ +@@ -2190,10 +2472,13 @@ Don't use this interface An interface that shouldn't be used, with the annotation in a weird place. @@ -15805,7 +15952,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["dont_set_me"] = dont_set_me @builtins.property -@@ -2224,10 +2509,13 @@ +@@ -2227,10 +2512,13 @@ class DummyObj: def __init__(self, *, example: builtins.str) -> None: ''' @@ -15819,7 +15966,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -2256,28 +2544,37 @@ +@@ -2259,28 +2547,37 @@ def __init__(self, value_store: builtins.str) -> None: ''' @@ -15857,7 +16004,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class DynamicPropertyBearerChild( DynamicPropertyBearer, -@@ -2286,20 +2583,26 @@ +@@ -2289,20 +2586,26 @@ ): def __init__(self, original_value: builtins.str) -> None: ''' @@ -15884,7 +16031,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="originalValue") def original_value(self) -> builtins.str: -@@ -2312,10 +2615,13 @@ +@@ -2315,10 +2618,13 @@ def __init__(self, clock: "IWallClock") -> None: '''Creates a new instance of Entropy. @@ -15898,7 +16045,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="increase") def increase(self) -> builtins.str: '''Increases entropy by consuming time from the clock (yes, this is a long shot, please don't judge). -@@ -2343,10 +2649,13 @@ +@@ -2346,10 +2652,13 @@ :param word: the value to return. @@ -15912,7 +16059,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class typing.cast(typing.Any, Entropy).__jsii_proxy_class__ = lambda : _EntropyProxy -@@ -2383,10 +2692,14 @@ +@@ -2386,10 +2695,14 @@ are being erased when sending values from native code to JS. :param opts: - @@ -15927,7 +16074,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="prop1IsNull") @builtins.classmethod def prop1_is_null(cls) -> typing.Mapping[builtins.str, typing.Any]: -@@ -2414,10 +2727,14 @@ +@@ -2417,10 +2730,14 @@ ) -> None: ''' :param option1: @@ -15942,7 +16089,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["option1"] = option1 if option2 is not None: self._values["option2"] = option2 -@@ -2461,10 +2778,14 @@ +@@ -2464,10 +2781,14 @@ :param readonly_string: - :param mutable_number: - @@ -15957,7 +16104,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -2488,10 +2809,13 @@ +@@ -2491,10 +2812,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -15971,7 +16118,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.ExperimentalEnum") class ExperimentalEnum(enum.Enum): -@@ -2519,10 +2843,13 @@ +@@ -2522,10 +2846,13 @@ ''' :param readonly_property: @@ -15985,7 +16132,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -2552,10 +2879,13 @@ +@@ -2555,10 +2882,13 @@ ): def __init__(self, success: builtins.bool) -> None: ''' @@ -15999,7 +16146,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="success") def success(self) -> builtins.bool: -@@ -2571,10 +2901,14 @@ +@@ -2574,10 +2904,14 @@ def __init__(self, *, boom: builtins.bool, prop: builtins.str) -> None: ''' :param boom: @@ -16014,7 +16161,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "prop": prop, } -@@ -2616,10 +2950,14 @@ +@@ -2619,10 +2953,14 @@ :param readonly_string: - :param mutable_number: - @@ -16029,7 +16176,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -2643,10 +2981,13 @@ +@@ -2646,10 +2984,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16043,7 +16190,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.ExternalEnum") class ExternalEnum(enum.Enum): -@@ -2674,10 +3015,13 @@ +@@ -2677,10 +3018,13 @@ ''' :param readonly_property: @@ -16057,7 +16204,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -2820,10 +3164,13 @@ +@@ -2823,10 +3167,13 @@ def __init__(self, *, name: typing.Optional[builtins.str] = None) -> None: '''These are some arguments you can pass to a method. @@ -16071,7 +16218,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["name"] = name @builtins.property -@@ -2860,10 +3207,13 @@ +@@ -2863,10 +3210,13 @@ friendly: _scope_jsii_calc_lib_c61f082f.IFriendly, ) -> builtins.str: ''' @@ -16085,7 +16232,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.interface(jsii_type="jsii-calc.IAnonymousImplementationProvider") class IAnonymousImplementationProvider(typing_extensions.Protocol): -@@ -2943,10 +3293,13 @@ +@@ -2946,10 +3296,13 @@ def a(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "a")) @@ -16099,7 +16246,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IAnotherPublicInterface).__jsii_proxy_class__ = lambda : _IAnotherPublicInterfaceProxy -@@ -2989,10 +3342,13 @@ +@@ -2992,10 +3345,13 @@ @jsii.member(jsii_name="yourTurn") def your_turn(self, bell: IBell) -> None: ''' @@ -16113,7 +16260,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IBellRinger).__jsii_proxy_class__ = lambda : _IBellRingerProxy -@@ -3017,10 +3373,13 @@ +@@ -3020,10 +3376,13 @@ @jsii.member(jsii_name="yourTurn") def your_turn(self, bell: "Bell") -> None: ''' @@ -16127,7 +16274,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IConcreteBellRinger).__jsii_proxy_class__ = lambda : _IConcreteBellRingerProxy -@@ -3076,10 +3435,13 @@ +@@ -3079,10 +3438,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16141,7 +16288,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -3134,10 +3496,13 @@ +@@ -3137,10 +3499,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16155,7 +16302,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -3179,10 +3544,13 @@ +@@ -3182,10 +3547,13 @@ def private(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "private")) @@ -16169,7 +16316,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IExtendsPrivateInterface).__jsii_proxy_class__ = lambda : _IExtendsPrivateInterfaceProxy -@@ -3228,10 +3596,13 @@ +@@ -3231,10 +3599,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16183,7 +16330,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -3413,10 +3784,14 @@ +@@ -3416,10 +3787,14 @@ ) -> None: ''' :param arg1: - @@ -16198,7 +16345,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IInterfaceWithOptionalMethodArguments).__jsii_proxy_class__ = lambda : _IInterfaceWithOptionalMethodArgumentsProxy -@@ -3451,10 +3826,13 @@ +@@ -3454,10 +3829,13 @@ def read_write_string(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "readWriteString")) @@ -16212,7 +16359,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IInterfaceWithProperties).__jsii_proxy_class__ = lambda : _IInterfaceWithPropertiesProxy -@@ -3484,10 +3862,13 @@ +@@ -3487,10 +3865,13 @@ def foo(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.get(self, "foo")) @@ -16226,7 +16373,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IInterfaceWithPropertiesExtension).__jsii_proxy_class__ = lambda : _IInterfaceWithPropertiesExtensionProxy -@@ -4007,10 +4388,13 @@ +@@ -4010,10 +4391,13 @@ def value(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "value")) @@ -16240,7 +16387,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IMutableObjectLiteral).__jsii_proxy_class__ = lambda : _IMutableObjectLiteralProxy -@@ -4046,19 +4430,25 @@ +@@ -4049,19 +4433,25 @@ def b(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "b")) @@ -16266,7 +16413,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, INonInternalInterface).__jsii_proxy_class__ = lambda : _INonInternalInterfaceProxy -@@ -4091,10 +4481,13 @@ +@@ -4094,10 +4484,13 @@ def property(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "property")) @@ -16280,7 +16427,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="wasSet") def was_set(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.invoke(self, "wasSet", [])) -@@ -4287,10 +4680,13 @@ +@@ -4290,10 +4683,13 @@ def mutable_property(self) -> typing.Optional[jsii.Number]: return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16294,7 +16441,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: return typing.cast(None, jsii.invoke(self, "method", [])) -@@ -4357,10 +4753,13 @@ +@@ -4360,10 +4756,13 @@ def prop(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "prop")) @@ -16308,7 +16455,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Implementation(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Implementation"): def __init__(self) -> None: -@@ -4406,10 +4805,13 @@ +@@ -4409,10 +4808,13 @@ def private(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "private")) @@ -16322,7 +16469,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ImplictBaseOfBase", -@@ -4427,10 +4829,15 @@ +@@ -4430,10 +4832,15 @@ ''' :param foo: - :param bar: - @@ -16338,7 +16485,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "bar": bar, "goo": goo, } -@@ -4505,10 +4912,13 @@ +@@ -4508,10 +4915,13 @@ count: jsii.Number, ) -> typing.List[_scope_jsii_calc_lib_c61f082f.IDoublable]: ''' @@ -16352,7 +16499,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Isomorphism(metaclass=jsii.JSIIAbstractClass, jsii_type="jsii-calc.Isomorphism"): '''Checks the "same instance" isomorphism is preserved within the constructor. -@@ -4613,19 +5023,25 @@ +@@ -4616,19 +5026,25 @@ def prop_a(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "propA")) @@ -16378,7 +16525,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class JavaReservedWords( metaclass=jsii.JSIIMeta, -@@ -4847,10 +5263,13 @@ +@@ -4850,10 +5266,13 @@ def while_(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "while")) @@ -16392,7 +16539,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(IJsii487External2, IJsii487External) class Jsii487Derived(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Jsii487Derived"): -@@ -4952,10 +5371,13 @@ +@@ -4955,10 +5374,13 @@ @builtins.classmethod def stringify(cls, value: typing.Any = None) -> typing.Optional[builtins.str]: ''' @@ -16406,7 +16553,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class LevelOne(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.LevelOne"): '''Validates that nested classes get correct code generation for the occasional forward reference.''' -@@ -4985,10 +5407,13 @@ +@@ -4988,10 +5410,13 @@ class PropBooleanValue: def __init__(self, *, value: builtins.bool) -> None: ''' @@ -16420,7 +16567,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -5022,10 +5447,13 @@ +@@ -5025,10 +5450,13 @@ ''' :param prop: ''' @@ -16434,7 +16581,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -5060,10 +5488,13 @@ +@@ -5063,10 +5491,13 @@ ''' :param prop: ''' @@ -16448,7 +16595,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -5111,10 +5542,17 @@ +@@ -5114,10 +5545,17 @@ :param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256 :param memory_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which determines your range of valid values for the cpu parameter: 0.5GB, 1GB, 2GB - Available cpu values: 256 (.25 vCPU) 1GB, 2GB, 3GB, 4GB - Available cpu values: 512 (.5 vCPU) 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available cpu values: 1024 (1 vCPU) Between 4GB and 16GB in 1GB increments - Available cpu values: 2048 (2 vCPU) Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 (4 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512 :param public_load_balancer: Determines whether the Application Load Balancer will be internet-facing. Default: true @@ -16466,7 +16613,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["container_port"] = container_port if cpu is not None: self._values["cpu"] = cpu -@@ -5241,10 +5679,14 @@ +@@ -5244,10 +5682,14 @@ '''Creates a BinaryOperation. :param lhs: Left-hand side operand. @@ -16481,7 +16628,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="farewell") def farewell(self) -> builtins.str: '''Say farewell.''' -@@ -5292,10 +5734,13 @@ +@@ -5295,10 +5737,13 @@ class NestedStruct: def __init__(self, *, number_prop: jsii.Number) -> None: ''' @@ -16495,7 +16642,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -5366,17 +5811,24 @@ +@@ -5369,17 +5814,24 @@ def __init__(self, _param1: builtins.str, optional: typing.Any = None) -> None: ''' :param _param1: - @@ -16520,7 +16667,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="giveMeUndefinedInsideAnObject") def give_me_undefined_inside_an_object( self, -@@ -5404,10 +5856,13 @@ +@@ -5407,10 +5859,13 @@ def change_me_to_undefined(self) -> typing.Optional[builtins.str]: return typing.cast(typing.Optional[builtins.str], jsii.get(self, "changeMeToUndefined")) @@ -16534,7 +16681,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.NullShouldBeTreatedAsUndefinedData", -@@ -5426,10 +5881,14 @@ +@@ -5429,10 +5884,14 @@ ) -> None: ''' :param array_with_three_elements_and_undefined_as_second_argument: @@ -16549,7 +16696,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if this_should_be_undefined is not None: self._values["this_should_be_undefined"] = this_should_be_undefined -@@ -5464,17 +5923,23 @@ +@@ -5467,17 +5926,23 @@ def __init__(self, generator: IRandomNumberGenerator) -> None: ''' @@ -16573,7 +16720,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="nextTimes100") def next_times100(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.invoke(self, "nextTimes100", [])) -@@ -5484,10 +5949,13 @@ +@@ -5487,10 +5952,13 @@ def generator(self) -> IRandomNumberGenerator: return typing.cast(IRandomNumberGenerator, jsii.get(self, "generator")) @@ -16587,7 +16734,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ObjectRefsInCollections( metaclass=jsii.JSIIMeta, -@@ -5505,10 +5973,13 @@ +@@ -5508,10 +5976,13 @@ ) -> jsii.Number: '''Returns the sum of all values. @@ -16601,7 +16748,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="sumFromMap") def sum_from_map( self, -@@ -5516,10 +5987,13 @@ +@@ -5519,10 +5990,13 @@ ) -> jsii.Number: '''Returns the sum of all values in a map. @@ -16615,7 +16762,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ObjectWithPropertyProvider( metaclass=jsii.JSIIMeta, -@@ -5560,10 +6034,13 @@ +@@ -5563,10 +6037,13 @@ ): def __init__(self, delegate: IInterfaceWithOptionalMethodArguments) -> None: ''' @@ -16629,7 +16776,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="invokeWithOptional") def invoke_with_optional(self) -> None: return typing.cast(None, jsii.invoke(self, "invokeWithOptional", [])) -@@ -5586,10 +6063,15 @@ +@@ -5589,10 +6066,15 @@ ''' :param arg1: - :param arg2: - @@ -16645,7 +16792,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="arg1") def arg1(self) -> jsii.Number: -@@ -5614,10 +6096,13 @@ +@@ -5617,10 +6099,13 @@ class OptionalStruct: def __init__(self, *, field: typing.Optional[builtins.str] = None) -> None: ''' @@ -16659,7 +16806,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["field"] = field @builtins.property -@@ -5693,10 +6178,13 @@ +@@ -5696,10 +6181,13 @@ def _override_read_write(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "overrideReadWrite")) @@ -16673,7 +16820,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class OverrideReturnsObject( metaclass=jsii.JSIIMeta, -@@ -5708,10 +6196,13 @@ +@@ -5711,10 +6199,13 @@ @jsii.member(jsii_name="test") def test(self, obj: IReturnsNumber) -> jsii.Number: ''' @@ -16687,7 +16834,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ParamShadowsBuiltins( metaclass=jsii.JSIIMeta, -@@ -5733,10 +6224,14 @@ +@@ -5736,10 +6227,14 @@ :param str: should be set to something that is NOT a valid expression in Python (e.g: "\${NOPE}""). :param boolean_property: :param string_property: @@ -16702,7 +16849,7 @@ exports[`Generated code for "jsii-calc": /python/src/js string_property=string_property, struct_property=struct_property, ) -@@ -5766,10 +6261,15 @@ +@@ -5769,10 +6264,15 @@ :param string_property: :param struct_property: ''' @@ -16718,7 +16865,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "string_property": string_property, "struct_property": struct_property, } -@@ -5822,10 +6322,13 @@ +@@ -5825,10 +6325,13 @@ scope: _scope_jsii_calc_lib_c61f082f.Number, ) -> _scope_jsii_calc_lib_c61f082f.Number: ''' @@ -16732,7 +16879,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ParentStruct982", -@@ -5836,10 +6339,13 @@ +@@ -5839,10 +6342,13 @@ def __init__(self, *, foo: builtins.str) -> None: '''https://github.com/aws/jsii/issues/982. @@ -16746,7 +16893,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -5894,10 +6400,15 @@ +@@ -5897,10 +6403,15 @@ ''' :param obj: - :param dt: - @@ -16762,7 +16909,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class typing.cast(typing.Any, PartiallyInitializedThisConsumer).__jsii_proxy_class__ = lambda : _PartiallyInitializedThisConsumerProxy -@@ -5912,10 +6423,13 @@ +@@ -5915,10 +6426,13 @@ friendly: _scope_jsii_calc_lib_c61f082f.IFriendly, ) -> builtins.str: ''' @@ -16776,7 +16923,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Power( _CompositeOperation_1c4d123b, -@@ -5932,10 +6446,14 @@ +@@ -5935,10 +6449,14 @@ '''Creates a Power operation. :param base: The base of the power. @@ -16791,7 +16938,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="base") def base(self) -> _scope_jsii_calc_lib_c61f082f.NumericValue: -@@ -6158,10 +6676,13 @@ +@@ -6161,10 +6679,13 @@ value: _scope_jsii_calc_lib_c61f082f.EnumFromScopedModule, ) -> None: ''' @@ -16805,7 +16952,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="foo") def foo( -@@ -6172,10 +6693,13 @@ +@@ -6175,10 +6696,13 @@ @foo.setter def foo( self, @@ -16819,7 +16966,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ReturnsPrivateImplementationOfInterface( metaclass=jsii.JSIIMeta, -@@ -6217,10 +6741,14 @@ +@@ -6220,10 +6744,14 @@ :param string_prop: May not be empty. :param nested_struct: ''' @@ -16834,7 +16981,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if nested_struct is not None: self._values["nested_struct"] = nested_struct -@@ -6287,17 +6815,25 @@ +@@ -6290,17 +6818,25 @@ ''' :param arg1: - :param arg2: - @@ -16860,7 +17007,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="methodWithOptionalArguments") def method_with_optional_arguments( self, -@@ -6309,10 +6845,15 @@ +@@ -6312,10 +6848,15 @@ :param arg1: - :param arg2: - @@ -16876,7 +17023,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.SecondLevelStruct", -@@ -6331,10 +6872,14 @@ +@@ -6334,10 +6875,14 @@ ) -> None: ''' :param deeper_required_prop: It's long and required. @@ -16891,7 +17038,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if deeper_optional_prop is not None: self._values["deeper_optional_prop"] = deeper_optional_prop -@@ -6396,10 +6941,13 @@ +@@ -6399,10 +6944,13 @@ @jsii.member(jsii_name="isSingletonInt") def is_singleton_int(self, value: jsii.Number) -> builtins.bool: ''' @@ -16905,7 +17052,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.SingletonIntEnum") class SingletonIntEnum(enum.Enum): -@@ -6418,10 +6966,13 @@ +@@ -6421,10 +6969,13 @@ @jsii.member(jsii_name="isSingletonString") def is_singleton_string(self, value: builtins.str) -> builtins.bool: ''' @@ -16919,7 +17066,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.SingletonStringEnum") class SingletonStringEnum(enum.Enum): -@@ -6445,10 +6996,14 @@ +@@ -6448,10 +6999,14 @@ ) -> None: ''' :param property: @@ -16934,7 +17081,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "yet_anoter_one": yet_anoter_one, } -@@ -6499,10 +7054,14 @@ +@@ -6502,10 +7057,14 @@ ) -> None: ''' :param readonly_string: - @@ -16949,7 +17096,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: return typing.cast(None, jsii.invoke(self, "method", [])) -@@ -6517,10 +7076,13 @@ +@@ -6520,10 +7079,13 @@ def mutable_property(self) -> typing.Optional[jsii.Number]: return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16963,7 +17110,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.StableEnum") class StableEnum(enum.Enum): -@@ -6536,10 +7098,13 @@ +@@ -6539,10 +7101,13 @@ class StableStruct: def __init__(self, *, readonly_property: builtins.str) -> None: ''' @@ -16977,7 +17124,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -6576,10 +7141,13 @@ +@@ -6579,10 +7144,13 @@ def static_variable(cls) -> builtins.bool: # pyright: ignore [reportGeneralTypeIssues] return typing.cast(builtins.bool, jsii.sget(cls, "staticVariable")) @@ -16991,7 +17138,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class StaticHelloParent( metaclass=jsii.JSIIMeta, -@@ -6609,19 +7177,25 @@ +@@ -6612,19 +7180,25 @@ class Statics(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Statics"): def __init__(self, value: builtins.str) -> None: ''' @@ -17017,7 +17164,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="justMethod") def just_method(self) -> builtins.str: return typing.cast(builtins.str, jsii.invoke(self, "justMethod", [])) -@@ -6658,19 +7232,25 @@ +@@ -6661,19 +7235,25 @@ ''' return typing.cast("Statics", jsii.sget(cls, "instance")) @@ -17043,7 +17190,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="value") def value(self) -> builtins.str: -@@ -6693,10 +7273,13 @@ +@@ -6696,10 +7276,13 @@ def you_see_me(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "youSeeMe")) @@ -17057,7 +17204,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.StructA", -@@ -6719,10 +7302,15 @@ +@@ -6722,10 +7305,15 @@ :param required_string: :param optional_number: @@ -17073,7 +17220,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if optional_number is not None: self._values["optional_number"] = optional_number -@@ -6780,10 +7368,15 @@ +@@ -6783,10 +7371,15 @@ :param optional_boolean: :param optional_struct_a: ''' @@ -17089,7 +17236,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if optional_boolean is not None: self._values["optional_boolean"] = optional_boolean -@@ -6835,10 +7428,14 @@ +@@ -6838,10 +7431,14 @@ See: https://github.com/aws/aws-cdk/issues/4302 :param scope: @@ -17104,7 +17251,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if props is not None: self._values["props"] = props -@@ -6881,10 +7478,14 @@ +@@ -6884,10 +7481,14 @@ ) -> jsii.Number: ''' :param _positional: - @@ -17119,7 +17266,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="roundTrip") @builtins.classmethod def round_trip( -@@ -6899,10 +7500,13 @@ +@@ -6902,10 +7503,13 @@ :param _positional: - :param required: This is a required field. :param second_level: A union to really stress test our serialization. @@ -17133,7 +17280,7 @@ exports[`Generated code for "jsii-calc": /python/src/js ) return typing.cast("TopLevelStruct", jsii.sinvoke(cls, "roundTrip", [_positional, input])) -@@ -6919,10 +7523,13 @@ +@@ -6922,10 +7526,13 @@ struct: typing.Union[typing.Union[StructA, typing.Dict[builtins.str, typing.Any]], typing.Union[StructB, typing.Dict[builtins.str, typing.Any]]], ) -> builtins.bool: ''' @@ -17147,7 +17294,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="isStructB") @builtins.classmethod def is_struct_b( -@@ -6930,18 +7537,24 @@ +@@ -6933,18 +7540,24 @@ struct: typing.Union[typing.Union[StructA, typing.Dict[builtins.str, typing.Any]], typing.Union[StructB, typing.Dict[builtins.str, typing.Any]]], ) -> builtins.bool: ''' @@ -17172,7 +17319,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.StructWithCollectionOfUnionts", -@@ -6955,10 +7568,13 @@ +@@ -6958,10 +7571,13 @@ union_property: typing.Sequence[typing.Mapping[builtins.str, typing.Union[typing.Union[StructA, typing.Dict[builtins.str, typing.Any]], typing.Union[StructB, typing.Dict[builtins.str, typing.Any]]]]], ) -> None: ''' @@ -17186,7 +17333,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -6995,10 +7611,14 @@ +@@ -6998,10 +7614,14 @@ ) -> None: ''' :param foo: An enum value. @@ -17201,7 +17348,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if bar is not None: self._values["bar"] = bar -@@ -7054,10 +7674,16 @@ +@@ -7057,10 +7677,16 @@ :param default: :param assert_: :param result: @@ -17218,7 +17365,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if assert_ is not None: self._values["assert_"] = assert_ -@@ -7127,10 +7753,13 @@ +@@ -7130,10 +7756,13 @@ @parts.setter def parts( self, @@ -17232,7 +17379,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.SupportsNiceJavaBuilderProps", -@@ -7146,10 +7775,14 @@ +@@ -7149,10 +7778,14 @@ ) -> None: ''' :param bar: Some number, like 42. @@ -17247,7 +17394,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if id is not None: self._values["id"] = id -@@ -7198,10 +7831,13 @@ +@@ -7201,10 +7834,13 @@ ''' :param id_: some identifier of your choice. :param bar: Some number, like 42. @@ -17261,7 +17408,7 @@ exports[`Generated code for "jsii-calc": /python/src/js jsii.create(self.__class__, self, [id_, props]) @builtins.property -@@ -7239,17 +7875,23 @@ +@@ -7242,17 +7878,23 @@ @jsii.member(jsii_name="modifyOtherProperty") def modify_other_property(self, value: builtins.str) -> None: ''' @@ -17285,7 +17432,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="readA") def read_a(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.invoke(self, "readA", [])) -@@ -7269,17 +7911,23 @@ +@@ -7272,17 +7914,23 @@ @jsii.member(jsii_name="virtualMethod") def virtual_method(self, n: jsii.Number) -> jsii.Number: ''' @@ -17309,7 +17456,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="readonlyProperty") def readonly_property(self) -> builtins.str: -@@ -7290,46 +7938,61 @@ +@@ -7293,46 +7941,61 @@ def a(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.get(self, "a")) @@ -17371,7 +17518,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class TestStructWithEnum( metaclass=jsii.JSIIMeta, -@@ -7412,10 +8075,15 @@ +@@ -7415,10 +8078,15 @@ ''' :param required: This is a required field. :param second_level: A union to really stress test our serialization. @@ -17387,7 +17534,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "second_level": second_level, } if optional is not None: -@@ -7506,10 +8174,13 @@ +@@ -7509,10 +8177,13 @@ def __init__(self, operand: _scope_jsii_calc_lib_c61f082f.NumericValue) -> None: ''' @@ -17401,7 +17548,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="operand") def operand(self) -> _scope_jsii_calc_lib_c61f082f.NumericValue: -@@ -7540,10 +8211,14 @@ +@@ -7543,10 +8214,14 @@ ) -> None: ''' :param bar: @@ -17416,7 +17563,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if foo is not None: self._values["foo"] = foo -@@ -7580,10 +8255,13 @@ +@@ -7583,10 +8258,13 @@ def __init__(self, delegate: typing.Mapping[builtins.str, typing.Any]) -> None: ''' @@ -17430,7 +17577,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.python.classproperty @jsii.member(jsii_name="reflector") def REFLECTOR(cls) -> _scope_jsii_calc_lib_custom_submodule_name_c61f082f.Reflector: -@@ -7626,10 +8304,13 @@ +@@ -7629,10 +8307,13 @@ ): def __init__(self, obj: IInterfaceWithProperties) -> None: ''' @@ -17444,7 +17591,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="justRead") def just_read(self) -> builtins.str: return typing.cast(builtins.str, jsii.invoke(self, "justRead", [])) -@@ -7640,17 +8321,23 @@ +@@ -7643,17 +8324,23 @@ ext: IInterfaceWithPropertiesExtension, ) -> builtins.str: ''' @@ -17468,7 +17615,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="obj") def obj(self) -> IInterfaceWithProperties: -@@ -7660,25 +8347,34 @@ +@@ -7663,25 +8350,34 @@ class VariadicInvoker(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.VariadicInvoker"): def __init__(self, method: "VariadicMethod") -> None: ''' @@ -17503,7 +17650,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="asArray") def as_array( self, -@@ -7687,10 +8383,14 @@ +@@ -7690,10 +8386,14 @@ ) -> typing.List[jsii.Number]: ''' :param first: the first element of the array to be returned (after the \`\`prefix\`\` provided at construction time). @@ -17518,7 +17665,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class VariadicTypeUnion( metaclass=jsii.JSIIMeta, -@@ -7698,19 +8398,25 @@ +@@ -7701,19 +8401,25 @@ ): def __init__(self, *union: typing.Union[StructA, StructB]) -> None: ''' @@ -17544,7 +17691,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class VirtualMethodPlayground( metaclass=jsii.JSIIMeta, -@@ -7722,38 +8428,53 @@ +@@ -7725,38 +8431,53 @@ @jsii.member(jsii_name="overrideMeAsync") def override_me_async(self, index: jsii.Number) -> jsii.Number: ''' @@ -17598,7 +17745,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class VoidCallback( metaclass=jsii.JSIIAbstractClass, -@@ -7815,10 +8536,13 @@ +@@ -7818,10 +8539,13 @@ ''' return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dontReadMe")) @@ -17612,7 +17759,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class WithPrivatePropertyInConstructor( metaclass=jsii.JSIIMeta, -@@ -7828,10 +8552,13 @@ +@@ -7831,10 +8555,13 @@ def __init__(self, private_field: typing.Optional[builtins.str] = None) -> None: ''' @@ -17626,7 +17773,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="success") def success(self) -> builtins.bool: -@@ -7872,10 +8599,13 @@ +@@ -7875,10 +8602,13 @@ @jsii.member(jsii_name="abstractMethod") def abstract_method(self, name: builtins.str) -> builtins.str: ''' @@ -17640,7 +17787,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class typing.cast(typing.Any, AbstractClass).__jsii_proxy_class__ = lambda : _AbstractClassProxy -@@ -7891,10 +8621,14 @@ +@@ -7894,10 +8624,14 @@ '''Creates a BinaryOperation. :param lhs: Left-hand side operand. @@ -17655,7 +17802,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="toString") def to_string(self) -> builtins.str: '''String representation of the value.''' -@@ -7938,10 +8672,13 @@ +@@ -7941,10 +8675,13 @@ def rung(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "rung")) @@ -17669,7 +17816,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ChildStruct982", -@@ -7952,10 +8689,14 @@ +@@ -7955,10 +8692,14 @@ def __init__(self, *, foo: builtins.str, bar: jsii.Number) -> None: ''' :param foo: @@ -17684,7 +17831,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "bar": bar, } -@@ -7996,37 +8737,49 @@ +@@ -7999,37 +8740,49 @@ def a(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "a")) @@ -17734,7 +17881,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(INonInternalInterface) class ClassThatImplementsThePrivateInterface( -@@ -8041,37 +8794,49 @@ +@@ -8044,37 +8797,49 @@ def a(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "a")) @@ -17784,7 +17931,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(IInterfaceWithProperties) class ClassWithPrivateConstructorAndAutomaticProperties( -@@ -8089,10 +8854,14 @@ +@@ -8092,10 +8857,14 @@ ) -> "ClassWithPrivateConstructorAndAutomaticProperties": ''' :param read_only_string: - @@ -17799,7 +17946,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="readOnlyString") def read_only_string(self) -> builtins.str: -@@ -8103,10 +8872,13 @@ +@@ -8106,10 +8875,13 @@ def read_write_string(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "readWriteString")) @@ -17813,7 +17960,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(IIndirectlyImplemented) class FullCombo(BaseClass, metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.FullCombo"): -@@ -8221,10 +8993,13 @@ +@@ -8224,10 +8996,13 @@ ): def __init__(self, property: builtins.str) -> None: ''' @@ -17827,7 +17974,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="bar") def bar(self) -> None: return typing.cast(None, jsii.invoke(self, "bar", [])) -@@ -8245,10 +9020,13 @@ +@@ -8248,10 +9023,13 @@ def __init__(self, operand: _scope_jsii_calc_lib_c61f082f.NumericValue) -> None: ''' @@ -17841,7 +17988,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="farewell") def farewell(self) -> builtins.str: '''Say farewell.''' -@@ -8308,10 +9086,16 @@ +@@ -8311,10 +9089,16 @@ :param id: some identifier. :param default_bar: the default value of \`\`bar\`\`. :param props: some props once can provide. @@ -17858,7 +18005,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="id") def id(self) -> jsii.Number: -@@ -8610,5 +9394,1544 @@ +@@ -8613,5 +9397,1544 @@ from . import nodirect from . import onlystatic from . import python_self @@ -19408,7 +19555,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/anonymous/__init__.py.diff 1`] = ` --- python/src/jsii_calc/anonymous/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/anonymous/__init__.py --runtime-type-checking -@@ -54,31 +54,58 @@ +@@ -57,31 +57,58 @@ @builtins.classmethod def consume(cls, option: typing.Union[IOptionA, IOptionB]) -> builtins.str: ''' @@ -19472,7 +19619,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/cdk16625/__init__.py.diff 1`] = ` --- python/src/jsii_calc/cdk16625/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/cdk16625/__init__.py --runtime-type-checking -@@ -42,10 +42,13 @@ +@@ -45,10 +45,13 @@ def _unwrap(self, gen: _IRandomNumberGenerator_9643a8b9) -> jsii.Number: '''Implement this functin to return \`\`gen.next()\`\`. It is extremely important that the \`\`donotimport\`\` submodule is NEVER explicitly loaded in the testing application (otherwise this test is void). @@ -19486,7 +19633,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class typing.cast(typing.Any, Cdk16625).__jsii_proxy_class__ = lambda : _Cdk16625Proxy -@@ -57,5 +60,11 @@ +@@ -60,5 +63,11 @@ publication.publish() @@ -19503,7 +19650,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/cdk16625/donotimport/__init__.py.diff 1`] = ` --- python/src/jsii_calc/cdk16625/donotimport/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/cdk16625/donotimport/__init__.py --runtime-type-checking -@@ -31,10 +31,13 @@ +@@ -34,10 +34,13 @@ def __init__(self, value: jsii.Number) -> None: ''' @@ -19517,7 +19664,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="next") def next(self) -> jsii.Number: '''Not quite random, but it'll do. -@@ -47,5 +50,11 @@ +@@ -50,5 +53,11 @@ __all__ = [ "UnimportedSubmoduleType", ] @@ -19534,7 +19681,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/cdk22369/__init__.py.diff 1`] = ` --- python/src/jsii_calc/cdk22369/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/cdk22369/__init__.py --runtime-type-checking -@@ -31,10 +31,13 @@ +@@ -34,10 +34,13 @@ class AcceptsPathProps: def __init__(self, *, source_path: builtins.str) -> None: ''' @@ -19548,7 +19695,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -60,5 +63,12 @@ +@@ -63,5 +66,12 @@ "AcceptsPath", "AcceptsPathProps", ] @@ -19566,7 +19713,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/composition/__init__.py.diff 1`] = ` --- python/src/jsii_calc/composition/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/composition/__init__.py --runtime-type-checking -@@ -52,30 +52,39 @@ +@@ -55,30 +55,39 @@ '''A set of postfixes to include in a decorated .toString().''' return typing.cast(typing.List[builtins.str], jsii.get(self, "decorationPostfixes")) @@ -19606,7 +19753,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum( jsii_type="jsii-calc.composition.CompositeOperation.CompositionStringStyle" ) -@@ -108,5 +117,23 @@ +@@ -111,5 +120,23 @@ __all__ = [ "CompositeOperation", ] @@ -19635,7 +19782,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/derived_class_has_no_properties/__init__.py.diff 1`] = ` --- python/src/jsii_calc/derived_class_has_no_properties/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/derived_class_has_no_properties/__init__.py --runtime-type-checking -@@ -25,10 +25,13 @@ +@@ -28,10 +28,13 @@ def prop(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "prop")) @@ -19649,7 +19796,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Derived( Base, -@@ -43,5 +46,11 @@ +@@ -46,5 +49,11 @@ "Base", "Derived", ] @@ -19666,7 +19813,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/homonymous_forward_references/bar/__init__.py.diff 1`] = ` --- python/src/jsii_calc/homonymous_forward_references/bar/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/homonymous_forward_references/bar/__init__.py --runtime-type-checking -@@ -46,10 +46,13 @@ +@@ -49,10 +49,13 @@ ''' :param homonymous: ''' @@ -19680,7 +19827,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -78,10 +81,13 @@ +@@ -81,10 +84,13 @@ class Homonymous: def __init__(self, *, numeric_property: jsii.Number) -> None: ''' @@ -19694,7 +19841,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -107,5 +113,19 @@ +@@ -110,5 +116,19 @@ "ConsumerProps", "Homonymous", ] @@ -19719,7 +19866,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/homonymous_forward_references/foo/__init__.py.diff 1`] = ` --- python/src/jsii_calc/homonymous_forward_references/foo/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/homonymous_forward_references/foo/__init__.py --runtime-type-checking -@@ -46,10 +46,13 @@ +@@ -49,10 +49,13 @@ ''' :param homonymous: ''' @@ -19733,7 +19880,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -78,10 +81,13 @@ +@@ -81,10 +84,13 @@ class Homonymous: def __init__(self, *, string_property: builtins.str) -> None: ''' @@ -19747,7 +19894,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -107,5 +113,19 @@ +@@ -110,5 +116,19 @@ "ConsumerProps", "Homonymous", ] @@ -19772,7 +19919,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py.diff 1`] = ` --- python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py --runtime-type-checking -@@ -25,10 +25,13 @@ +@@ -28,10 +28,13 @@ def bar(self) -> typing.Optional[builtins.str]: return typing.cast(typing.Optional[builtins.str], jsii.get(self, "bar")) @@ -19786,7 +19933,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.InterfaceInNamespaceIncludesClasses.Hello", -@@ -38,10 +41,13 @@ +@@ -41,10 +44,13 @@ class Hello: def __init__(self, *, foo: jsii.Number) -> None: ''' @@ -19800,7 +19947,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -66,5 +72,18 @@ +@@ -69,5 +75,18 @@ "Foo", "Hello", ] @@ -19824,7 +19971,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/interface_in_namespace_only_interface/__init__.py.diff 1`] = ` --- python/src/jsii_calc/interface_in_namespace_only_interface/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/interface_in_namespace_only_interface/__init__.py --runtime-type-checking -@@ -21,10 +21,13 @@ +@@ -24,10 +24,13 @@ class Hello: def __init__(self, *, foo: jsii.Number) -> None: ''' @@ -19838,7 +19985,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -48,5 +51,12 @@ +@@ -51,5 +54,12 @@ __all__ = [ "Hello", ] @@ -19856,7 +20003,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/jsii3656/__init__.py.diff 1`] = ` --- python/src/jsii_calc/jsii3656/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/jsii3656/__init__.py --runtime-type-checking -@@ -27,10 +27,14 @@ +@@ -30,10 +30,14 @@ ) -> None: ''' :param name: @@ -19871,7 +20018,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if count is not None: self._values["count"] = count -@@ -69,10 +73,13 @@ +@@ -72,10 +76,13 @@ @builtins.classmethod def call_abstract(cls, receiver: "OverrideMe") -> builtins.bool: ''' @@ -19885,7 +20032,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="implementMe") @abc.abstractmethod def implement_me( -@@ -112,5 +119,19 @@ +@@ -115,5 +122,19 @@ "ImplementMeOpts", "OverrideMe", ] @@ -19910,7 +20057,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2530/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2530/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2530/__init__.py --runtime-type-checking -@@ -21,28 +21,55 @@ +@@ -24,28 +24,55 @@ def __init__(self, _: jsii.Number) -> None: ''' @@ -19971,7 +20118,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2647/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2647/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2647/__init__.py --runtime-type-checking -@@ -31,10 +31,13 @@ +@@ -34,10 +34,13 @@ ''' :param very: - @@ -19985,7 +20132,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="hello") def hello(self) -> builtins.str: '''Say hello!''' -@@ -48,5 +51,11 @@ +@@ -51,5 +54,11 @@ __all__ = [ "ExtendAndImplement", ] @@ -20002,7 +20149,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2689/methods/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2689/methods/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2689/methods/__init__.py --runtime-type-checking -@@ -29,23 +29,41 @@ +@@ -32,23 +32,41 @@ _bar: typing.Mapping[builtins.str, typing.Union[_scope_jsii_calc_base_734f0262.BaseProps, typing.Dict[builtins.str, typing.Any]]], ) -> None: ''' @@ -20049,7 +20196,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2689/structs/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2689/structs/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2689/structs/__init__.py --runtime-type-checking -@@ -30,10 +30,14 @@ +@@ -33,10 +33,14 @@ ) -> None: ''' :param base_map: @@ -20064,7 +20211,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "numbers": numbers, } -@@ -66,5 +70,13 @@ +@@ -69,5 +73,13 @@ __all__ = [ "MyStruct", ] @@ -20083,7 +20230,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2692/submodule1/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2692/submodule1/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2692/submodule1/__init__.py --runtime-type-checking -@@ -21,10 +21,13 @@ +@@ -24,10 +24,13 @@ class Bar: def __init__(self, *, bar1: builtins.str) -> None: ''' @@ -20097,7 +20244,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -48,5 +51,12 @@ +@@ -51,5 +54,12 @@ __all__ = [ "Bar", ] @@ -20115,7 +20262,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2692/submodule2/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2692/submodule2/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2692/submodule2/__init__.py --runtime-type-checking -@@ -23,10 +23,13 @@ +@@ -26,10 +26,13 @@ class Bar: def __init__(self, *, bar2: builtins.str) -> None: ''' @@ -20129,7 +20276,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -63,10 +66,15 @@ +@@ -66,10 +69,15 @@ ''' :param bar2: :param bar1: @@ -20145,7 +20292,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "bar1": bar1, "foo2": foo2, } -@@ -105,5 +113,21 @@ +@@ -108,5 +116,21 @@ "Bar", "Foo", ] @@ -20172,7 +20319,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/python_self/__init__.py.diff 1`] = ` --- python/src/jsii_calc/python_self/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/python_self/__init__.py --runtime-type-checking -@@ -19,17 +19,23 @@ +@@ -22,17 +22,23 @@ ): def __init__(self_, self: builtins.str) -> None: ''' @@ -20196,7 +20343,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="self") def self(self) -> builtins.str: -@@ -70,10 +76,13 @@ +@@ -73,10 +79,13 @@ @jsii.member(jsii_name="method") def method(self_, self: jsii.Number) -> builtins.str: ''' @@ -20210,7 +20357,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IInterfaceWithSelf).__jsii_proxy_class__ = lambda : _IInterfaceWithSelfProxy -@@ -86,10 +95,13 @@ +@@ -89,10 +98,13 @@ class StructWithSelf: def __init__(self_, *, self: builtins.str) -> None: ''' @@ -20224,7 +20371,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -116,5 +128,30 @@ +@@ -119,5 +131,30 @@ "IInterfaceWithSelf", "StructWithSelf", ] @@ -20260,7 +20407,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/__init__.py.diff 1`] = ` --- python/src/jsii_calc/submodule/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/submodule/__init__.py --runtime-type-checking -@@ -39,10 +39,13 @@ +@@ -42,10 +42,13 @@ :param foo: @@ -20274,7 +20421,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -107,10 +110,13 @@ +@@ -110,10 +113,13 @@ def all_types(self) -> typing.Optional[_AllTypes_b08307c5]: return typing.cast(typing.Optional[_AllTypes_b08307c5], jsii.get(self, "allTypes")) @@ -20288,7 +20435,7 @@ exports[`Generated code for "jsii-calc": /python/src/js __all__ = [ "Default", -@@ -130,5 +136,18 @@ +@@ -133,5 +139,18 @@ from . import child from . import isolated from . import nested_submodule @@ -20312,7 +20459,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/back_references/__init__.py.diff 1`] = ` --- python/src/jsii_calc/submodule/back_references/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/submodule/back_references/__init__.py --runtime-type-checking -@@ -23,10 +23,13 @@ +@@ -26,10 +26,13 @@ class MyClassReference: def __init__(self, *, reference: _MyClass_a2fdc0b6) -> None: ''' @@ -20326,7 +20473,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -50,5 +53,12 @@ +@@ -53,5 +56,12 @@ __all__ = [ "MyClassReference", ] @@ -20344,7 +20491,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/child/__init__.py.diff 1`] = ` --- python/src/jsii_calc/submodule/child/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/submodule/child/__init__.py --runtime-type-checking -@@ -73,10 +73,13 @@ +@@ -76,10 +76,13 @@ class SomeStruct: def __init__(self, *, prop: SomeEnum) -> None: ''' @@ -20358,7 +20505,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -105,10 +108,13 @@ +@@ -108,10 +111,13 @@ class Structure: def __init__(self, *, bool: builtins.bool) -> None: ''' @@ -20372,7 +20519,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -143,10 +149,14 @@ +@@ -146,10 +152,14 @@ ) -> None: ''' :param prop: @@ -20387,7 +20534,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if extra is not None: self._values["extra"] = extra -@@ -184,5 +194,27 @@ +@@ -187,5 +197,27 @@ "SomeStruct", "Structure", ] @@ -20420,7 +20567,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/param/__init__.py.diff 1`] = ` --- python/src/jsii_calc/submodule/param/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/submodule/param/__init__.py --runtime-type-checking -@@ -21,10 +21,13 @@ +@@ -24,10 +24,13 @@ class SpecialParameter: def __init__(self, *, value: builtins.str) -> None: ''' @@ -20434,7 +20581,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -48,5 +51,12 @@ +@@ -51,5 +54,12 @@ __all__ = [ "SpecialParameter", ] @@ -20452,7 +20599,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/union/__init__.py.diff 1`] = ` --- python/src/jsii_calc/union/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/union/__init__.py --runtime-type-checking -@@ -23,10 +23,13 @@ +@@ -26,10 +26,13 @@ param: typing.Union["IResolvable", "Resolvable", _scope_jsii_calc_lib_c61f082f.IFriendly], ) -> None: ''' @@ -20466,7 +20613,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.interface(jsii_type="jsii-calc.union.IResolvable") class IResolvable(typing_extensions.Protocol): -@@ -58,5 +61,11 @@ +@@ -61,5 +64,11 @@ "IResolvable", "Resolvable", ] From c22f467af3783dbc4ca38c6882ea22b6d162462b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 12:01:28 +0000 Subject: [PATCH 14/30] chore(deps-dev): Update mkdocs-material requirement from ~=9.5.11 to ~=9.5.12 in /gh-pages (#4438) Updates the requirements on [mkdocs-material](https://github.com/squidfunk/mkdocs-material) to permit the latest version.
Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.5.12

  • Fixed #6846: Some meta tags removed on instant navigation (9.4.2 regression)
  • Fixed #6823: KaTex not rendering on instant navigation (9.5.5 regression)
  • Fixed #6821: Privacy plugin doesn't handle URLs with encoded characters
Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.5.12 (2024-02-29)

  • Fixed #6846: Some meta tags removed on instant navigation (9.4.2 regression)
  • Fixed #6823: KaTex not rendering on instant navigation (9.5.5 regression)
  • Fixed #6821: Privacy plugin doesn't handle URLs with encoded characters

mkdocs-material-9.5.11+insiders-4.53.0 (2024-02-24)

  • Added support for automatic instant previews
  • Added support for pinned blog posts

mkdocs-material-9.5.11 (2024-02-19)

  • Updated Finnish translation

mkdocs-material-9.5.10+insiders-4.52.3 (2024-02-21)

  • Fixed resolution of URLs in instant previews
  • Fixed instant previews not mounting for same-page links

mkdocs-material-9.5.10 (2024-02-19)

  • Updated Bahasa Malaysia translations
  • Fixed #6783: Hide continue reading link for blog posts without separators
  • Fixed #6779: Incorrect positioning of integrated table of contents

mkdocs-material-9.5.9 (2024-02-10)

  • Fixed navigation pruning with tabs and sections enabled

mkdocs-material-9.5.8+insiders-4.52.2 (2024-02-07)

  • Fixed #6735: Instant previews misplaced when below tabs

mkdocs-material-9.5.8 (2024-02-07)

  • Added Tamil translations
  • Updated Esperanto translations
  • Fixed relative images not being resolved for instant navigation

mkdocs-material-9.5.7 (2024-02-03)

  • Fixed #6731: Small images in figures are not centered
  • Fixed #6719: Instant navigation breaks table of contents (9.5.5 regression)

mkdocs-material-9.5.6+insiders-4.52.1 (2024-01-30)

  • Fixed #6705: Navigation path not being hidden when specified
  • Fixed #6703: New tags plugin crashes on Windows (2nd attempt)

... (truncated)

Commits
  • 5108432 Updated changelog
  • d366a45 Fixed instant navigation removing color theme tags
  • 6219f3d Merge branch 'master' of github.com:squidfunk/mkdocs-material
  • c7bde2d Formatting
  • de46c41 Fixed document observable not emitting current document
  • 7b83b57 Updated contributing guide (#6843)
  • 6c2e029 Updated Premium sponsors
  • b5a5fde Updated dependencies
  • c3a1e79 Merge branch 'master' of github.com:squidfunk/mkdocs-material
  • ca7e952 Fixed privacy plugin not handling URL-encoded pathnames
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- gh-pages/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-pages/requirements-dev.txt b/gh-pages/requirements-dev.txt index dd3131fa98..8e30adaa61 100644 --- a/gh-pages/requirements-dev.txt +++ b/gh-pages/requirements-dev.txt @@ -1,4 +1,4 @@ mkdocs~=1.5.3 mkdocs-awesome-pages-plugin~=2.9.2 -mkdocs-material~=9.5.11 +mkdocs-material~=9.5.12 mkdocs-git-revision-date-plugin~=0.3.2 From 608b47a93da45aba3882939893347cbf41c8bb95 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 13:13:13 +0000 Subject: [PATCH 15/30] chore(deps): Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /packages/@jsii/go-runtime-test/project (#4440) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
Release notes

Sourced from github.com/stretchr/testify's releases.

v1.9.0

What's Changed

... (truncated)

Commits
  • bb548d0 Merge pull request #1552 from stretchr/dependabot/go_modules/github.com/stret...
  • 814075f build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2
  • e045612 Merge pull request #1339 from bogdandrutu/uintptr
  • 5b6926d Merge pull request #1385 from hslatman/not-implements
  • 9f97d67 Merge pull request #1550 from stretchr/release-notes
  • bcb0d3f Include the auto-release notes in releases
  • fb770f8 Merge pull request #1247 from ccoVeille/typos
  • 85d8bb6 fix typos in comments, tests and github templates
  • e2741fa Merge pull request #1548 from arjunmahishi/msgAndArgs
  • 6e59f20 http_assertions: assert that the msgAndArgs actually works in tests
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/stretchr/testify&package-manager=go_modules&previous-version=1.8.4&new-version=1.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/go-runtime-test/project/go.mod | 2 +- packages/@jsii/go-runtime-test/project/go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/@jsii/go-runtime-test/project/go.mod b/packages/@jsii/go-runtime-test/project/go.mod index 3fe29029bd..23dd501566 100644 --- a/packages/@jsii/go-runtime-test/project/go.mod +++ b/packages/@jsii/go-runtime-test/project/go.mod @@ -7,7 +7,7 @@ require ( github.com/aws/jsii/jsii-calc/go/jcb v0.0.0 github.com/aws/jsii/jsii-calc/go/jsiicalc/v3 v3.20.120 github.com/aws/jsii/jsii-calc/go/scopejsiicalclib v0.0.0-devpreview - github.com/stretchr/testify v1.8.4 + github.com/stretchr/testify v1.9.0 golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 golang.org/x/tools v0.18.0 ) diff --git a/packages/@jsii/go-runtime-test/project/go.sum b/packages/@jsii/go-runtime-test/project/go.sum index 3fda2ad19a..f3aa904e7e 100644 --- a/packages/@jsii/go-runtime-test/project/go.sum +++ b/packages/@jsii/go-runtime-test/project/go.sum @@ -13,6 +13,8 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/yuin/goldmark v1.4.13 h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= From 5a7cfe157487b67cf48bd2ca388ab4b34aa8ea9e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 14:18:14 +0000 Subject: [PATCH 16/30] chore(deps): Update pytest requirement from ~=8.0 to ~=8.1 in /packages/@jsii/python-runtime (#4439) Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
Release notes

Sourced from pytest's releases.

8.1.0

pytest 8.1.0 (2024-03-03)

Features

  • #11475: Added the new consider_namespace_packages{.interpreted-text role="confval"} configuration option, defaulting to False.

    If set to True, pytest will attempt to identify modules that are part of namespace packages when importing modules.

  • #11653: Added the new verbosity_test_cases{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See Fine-grained verbosity <pytest.fine_grained_verbosity>{.interpreted-text role="ref"} for more details.

Improvements

  • #10865: pytest.warns{.interpreted-text role="func"} now validates that warnings.warn{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when warnings.filterwarnings{.interpreted-text role="func"} is used to filter those warnings (see [CPython #103577](python/cpython#103577) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.

  • #11311: When using --override-ini for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.

    Previoulsy this would raise an AssertionError{.interpreted-text role="class"}.

  • #11475: --import-mode=importlib <import-mode-importlib>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :pysys.path{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.

    This means that installed packages will be imported under their canonical name if possible first, for example app.core.models, instead of having the module name always be derived from their path (for example .env310.lib.site_packages.app.core.models).

  • #11801: Added the iter_parents() <_pytest.nodes.Node.iter_parents>{.interpreted-text role="func"} helper method on nodes. It is similar to listchain <_pytest.nodes.Node.listchain>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.

  • #11850: Added support for sys.last_exc{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.

  • #11962: In case no other suitable candidates for configuration file are found, a pyproject.toml (even without a [tool.pytest.ini_options] table) will be considered as the configuration file and define the rootdir.

  • #11978: Add --log-file-mode option to the logging plugin, enabling appending to log-files. This option accepts either "w" or "a" and defaults to "w".

    Previously, the mode was hard-coded to be "w" which truncates the file before logging.

  • #12047: When multiple finalizers of a fixture raise an exception, now all exceptions are reported as an exception group. Previously, only the first exception was reported.

Bug Fixes

  • #11904: Fixed a regression in pytest 8.0.0 that would cause test collection to fail due to permission errors when using --pyargs.

    This change improves the collection tree for tests specified using --pyargs, see 12043{.interpreted-text role="pull"} for a comparison with pytest 8.0 and <8.

... (truncated)

Commits
  • b9a167f Prepare release version 8.1.0
  • 00043f7 Merge pull request #12038 from bluetech/fixtures-rm-arg2index
  • f4e1025 Merge pull request #12048 from bluetech/fixture-teardown-excgroup
  • 43492f5 Merge pull request #12051 from jakkdl/test_debugging_pythonbreakpoint
  • 82fe28d [automated] Update plugin list (#12049)
  • 5e2ee71 monkeypatch.delenv PYTHONBREAKPOINT in two tests that previously failed/skipped
  • 89ee449 Merge pull request #11997 from nicoddemus/11475-importlib
  • 8248946 Do not collect symlinked tests under Windows (#12050)
  • 434282e fixtures: use exception group when multiple finalizers raise in fixture teardown
  • d6134bc doc: document consider_namespace_packages option
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/python-runtime/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index 78d8a9bb98..c0403827ef 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -1,7 +1,7 @@ black~=24.2 mypy==1.8.0 pip~=24.0 -pytest~=8.0 +pytest~=8.1 pytest-mypy~=0.10 setuptools~=69.1.1 types-python-dateutil~=2.8 From c67b5026a8e477f308704c0f832698c7537d40f3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 15:15:55 +0000 Subject: [PATCH 17/30] chore(deps): Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 4.8.0 to 4.9.2 in /packages/@jsii/dotnet-runtime/src (#4442) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [Microsoft.CodeAnalysis.CSharp.Workspaces](https://github.com/dotnet/roslyn) from 4.8.0 to 4.9.2.
Release notes

Sourced from Microsoft.CodeAnalysis.CSharp.Workspaces's releases.

.NET 6.0.1

Release

.NET 5.0.4

Release

.NET 5.0.2

Release Notes Install Instructions

Repos

Changelog

Sourced from Microsoft.CodeAnalysis.CSharp.Workspaces's changelog.

API Breaking Changes

Version 1.1.0

Removed VisualBasicCommandLineParser.ctor

During a toolset update we noticed the constructor on VisualBasicCommandLineParser was public. This in turn made many of the protected members of CommandLineParser a part of the API surface as it gave external customers an inheritance path.

It was never the intent for these members to be a part of the supported API surface. Creation of the parsers is meant to be done via the Default singleton properties. There seems to be little risk that we broke any customers here and hence we decided to remove this API.

PR: dotnet/roslyn#4169

Changed Simplifier methods to throw ArgumentNullExceptions

Changed Simplifier.ReduceAsync, Simplifier.ExpandAsync, and Simplifier.Expand methods to throw ArgumentNullExceptions if any non-optional, nullable arguments are passed in. Previously the user would get a NullReferenceException for synchronous methods and an AggregateException containing a NullReferenceException for asynchronous methods.

PR: dotnet/roslyn#5144

Version 1.3.0

Treat a method marked with both public and private flags as private

The scenario is loading an assembly where some methods, fields or nested types have accessibility flags set to 7 (all three bits set), which mean public AND private. After the fix, such flags are loaded to mean private. The compat change is we’re trading a compile-time success and runtime failure (native compiler) against a compile-time error (restoring the behavior of v1.2).

Details below:

  • The native compiler successfully compiles the method and field case (those only yield runtime error System.TypeLoadException: Invalid Field Access Flags) and reported an accessibility error on the nested type.
  • The 1.2 compiler generated errors:
error BC30390: 'C.Private Overloads Sub M()' is not accessible in this context because it is 'Private'.
error BC30389: 'C.F' is not accessible in this context because it is 'Private'.
error BC30389: 'C.C2' is not accessible in this context because it is 'Protected Friend'.
error BC30390: 'C2.Private Overloads Sub M2()' is not accessible in this context because it is 'Private'.
  • The 1.3 compiler crashes.
  • After fix, the same errors as 1.2 are generated again.

PR: dotnet/roslyn#11547

Don't emit bad DateTimeConstant, and load bad BadTimeConstant as default value instead

The change affects compatibility in two ways:

  • When loading an invalid DateTimeConstant(-1), the compiler will use default(DateTime) instead, whereas the native compiler would produce code that fails to execute.
  • DateTimeConstant(-1) will still count when we check that you don’t specify two default values. The compiler will produce an error, instead of succeeding (and producing IL with two attributes).

PR: dotnet/roslyn#11536

Version 4.1.0

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.CodeAnalysis.CSharp.Workspaces&package-manager=nuget&previous-version=4.8.0&new-version=4.9.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/Directory.Build.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/Directory.Build.targets b/packages/@jsii/Directory.Build.targets index b6a99dacbf..c9453bc8de 100644 --- a/packages/@jsii/Directory.Build.targets +++ b/packages/@jsii/Directory.Build.targets @@ -6,7 +6,7 @@ - + From 74266841c4a1c5143d2175a79821c82fb0de664b Mon Sep 17 00:00:00 2001 From: Eli Polonsky Date: Tue, 5 Mar 2024 16:23:53 +0200 Subject: [PATCH 18/30] revert(deps): Update pytest requirement from ~=8.1 to ~=8.0 in /packages/@jsii/python-runtime (#4446) Reverts aws/jsii#4439 Apparently version 8.1.0 has been [yanked](https://pypi.org/project/pytest/8.1.0/) and is now causing builds to [fail](https://github.com/aws/jsii/actions/runs/8153733563/job/22285706848?pr=4443): ```console @jsii/python-runtime: ERROR: No matching distribution found for pytest~=8.1 ``` --- packages/@jsii/python-runtime/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index c0403827ef..78d8a9bb98 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -1,7 +1,7 @@ black~=24.2 mypy==1.8.0 pip~=24.0 -pytest~=8.1 +pytest~=8.0 pytest-mypy~=0.10 setuptools~=69.1.1 types-python-dateutil~=2.8 From db5036fac2758065a54fc73b3f4df92d97c9c3fc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 12:20:20 +0000 Subject: [PATCH 19/30] chore(deps-dev): Bump mypy from 1.8.0 to 1.9.0 in /packages/jsii-pacmak/test/generated-code (#4451) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [mypy](https://github.com/python/mypy) from 1.8.0 to 1.9.0.
Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Mypy 1.9

We’ve just uploaded mypy 1.9 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Breaking Changes

Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR 16883)

We are planning to enable local partial types (enabled via the --local-partial-types flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.

Local partial types can also be enabled in the mypy config file:

local_partial_types = True

We are looking at providing a tool to make it easier to migrate projects to use --local-partial-types, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.

Basic Support for Type Parameter Defaults (PEP 696)

This release contains new experimental support for type parameter defaults (PEP 696). Please try it out! This feature was contributed by Marc Mueller.

Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import TypeVar, ParamSpec or TypeVarTuple from typing_extensions to use defaults for now.

This example adapted from the PEP defines a default for BotT:

from typing import Generic
from typing_extensions import TypeVar

class Bot: ...

BotT = TypeVar("BotT", bound=Bot, default=Bot) </tr></table>

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mypy&package-manager=pip&previous-version=1.8.0&new-version=1.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/jsii-pacmak/test/generated-code/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jsii-pacmak/test/generated-code/requirements-dev.txt b/packages/jsii-pacmak/test/generated-code/requirements-dev.txt index 75a01db88b..7acf1f915e 100644 --- a/packages/jsii-pacmak/test/generated-code/requirements-dev.txt +++ b/packages/jsii-pacmak/test/generated-code/requirements-dev.txt @@ -1,2 +1,2 @@ -mypy==1.8.0 +mypy==1.9.0 pip==24.0 # required to use --config-settings From 92ff9a296e6fee30b35a9ad86388b1632d260c14 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:30:31 +0000 Subject: [PATCH 20/30] chore(deps): Bump mypy from 1.8.0 to 1.9.0 in /packages/@jsii/python-runtime (#4452) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [mypy](https://github.com/python/mypy) from 1.8.0 to 1.9.0.
Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Mypy 1.9

We’ve just uploaded mypy 1.9 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

Breaking Changes

Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR 16883)

We are planning to enable local partial types (enabled via the --local-partial-types flag) later this year by default. This change was announced years ago, but now it's finally happening. This is a major backward-incompatible change, so we'll probably include it as part of the upcoming mypy 2.0 release. This makes daemon and non-daemon mypy runs have the same behavior by default.

Local partial types can also be enabled in the mypy config file:

local_partial_types = True

We are looking at providing a tool to make it easier to migrate projects to use --local-partial-types, but it's not yet clear whether this is practical. The migration usually involves adding some explicit type annotations to module-level and class-level variables.

Basic Support for Type Parameter Defaults (PEP 696)

This release contains new experimental support for type parameter defaults (PEP 696). Please try it out! This feature was contributed by Marc Mueller.

Since this feature will be officially introduced in the next Python feature release (3.13), you will need to import TypeVar, ParamSpec or TypeVarTuple from typing_extensions to use defaults for now.

This example adapted from the PEP defines a default for BotT:

from typing import Generic
from typing_extensions import TypeVar

class Bot: ...

BotT = TypeVar("BotT", bound=Bot, default=Bot) </tr></table>

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mypy&package-manager=pip&previous-version=1.8.0&new-version=1.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/python-runtime/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index 78d8a9bb98..143bd1576f 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -1,5 +1,5 @@ black~=24.2 -mypy==1.8.0 +mypy==1.9.0 pip~=24.0 pytest~=8.0 pytest-mypy~=0.10 From 482f15763e8e26eea343e2b2a0c3a3aadc5f631b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:15:23 +0000 Subject: [PATCH 21/30] chore(deps): Update pytest requirement from ~=8.0 to ~=8.1 in /packages/@jsii/python-runtime (#4453) Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
Release notes

Sourced from pytest's releases.

8.1.1

pytest 8.1.1 (2024-03-08)

::: {.note} ::: {.title} Note :::

This release is not a usual bug fix release -- it contains features and improvements, being a follow up to 8.1.0, which has been yanked from PyPI. :::

Features

  • #11475: Added the new consider_namespace_packages{.interpreted-text role="confval"} configuration option, defaulting to False.

    If set to True, pytest will attempt to identify modules that are part of namespace packages when importing modules.

  • #11653: Added the new verbosity_test_cases{.interpreted-text role="confval"} configuration option for fine-grained control of test execution verbosity. See Fine-grained verbosity <pytest.fine_grained_verbosity>{.interpreted-text role="ref"} for more details.

Improvements

  • #10865: pytest.warns{.interpreted-text role="func"} now validates that warnings.warn{.interpreted-text role="func"} was called with a [str]{.title-ref} or a [Warning]{.title-ref}. Currently in Python it is possible to use other types, however this causes an exception when warnings.filterwarnings{.interpreted-text role="func"} is used to filter those warnings (see [CPython #103577](python/cpython#103577) for a discussion). While this can be considered a bug in CPython, we decided to put guards in pytest as the error message produced without this check in place is confusing.

  • #11311: When using --override-ini for paths in invocations without a configuration file defined, the current working directory is used as the relative directory.

    Previoulsy this would raise an AssertionError{.interpreted-text role="class"}.

  • #11475: --import-mode=importlib <import-mode-importlib>{.interpreted-text role="ref"} now tries to import modules using the standard import mechanism (but still without changing :pysys.path{.interpreted-text role="data"}), falling back to importing modules directly only if that fails.

    This means that installed packages will be imported under their canonical name if possible first, for example app.core.models, instead of having the module name always be derived from their path (for example .env310.lib.site_packages.app.core.models).

  • #11801: Added the iter_parents() <_pytest.nodes.Node.iter_parents>{.interpreted-text role="func"} helper method on nodes. It is similar to listchain <_pytest.nodes.Node.listchain>{.interpreted-text role="func"}, but goes from bottom to top, and returns an iterator, not a list.

  • #11850: Added support for sys.last_exc{.interpreted-text role="data"} for post-mortem debugging on Python>=3.12.

  • #11962: In case no other suitable candidates for configuration file are found, a pyproject.toml (even without a [tool.pytest.ini_options] table) will be considered as the configuration file and define the rootdir.

  • #11978: Add --log-file-mode option to the logging plugin, enabling appending to log-files. This option accepts either "w" or "a" and defaults to "w".

    Previously, the mode was hard-coded to be "w" which truncates the file before logging.

... (truncated)

Commits
  • 81653ee Adjust changelog manually for 8.1.1
  • e60b4b9 Prepare release version 8.1.1
  • 15fbe57 [8.1.x] Revert legacy path removals (#12093)
  • 86c3aab [8.1.x] Do not import duplicated modules with --importmode=importlib (#12077)
  • 5b82b0c [8.1.x] Yank version 8.1.0 (#12076)
  • 0a53681 Merge pull request #12054 from pytest-dev/release-8.1.0
  • b9a167f Prepare release version 8.1.0
  • 00043f7 Merge pull request #12038 from bluetech/fixtures-rm-arg2index
  • f4e1025 Merge pull request #12048 from bluetech/fixture-teardown-excgroup
  • 43492f5 Merge pull request #12051 from jakkdl/test_debugging_pythonbreakpoint
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/python-runtime/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index 143bd1576f..f024894e7c 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -1,7 +1,7 @@ black~=24.2 mypy==1.9.0 pip~=24.0 -pytest~=8.0 +pytest~=8.1 pytest-mypy~=0.10 setuptools~=69.1.1 types-python-dateutil~=2.8 From 55454e79e7f48c410b342ee0f7ce6d5a972b16a3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:38:03 +0000 Subject: [PATCH 22/30] chore(deps-dev): Update mkdocs-material requirement from ~=9.5.12 to ~=9.5.13 in /gh-pages (#4450) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the requirements on [mkdocs-material](https://github.com/squidfunk/mkdocs-material) to permit the latest version.
Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.5.13

  • Updated Slovak translations
  • Improved info plugin interop with projects plugin
  • Improved info plugin inclusion/exclusion logic
  • Fixed info plugin not gathering files recursively
  • Fixed #6750: Ensure info plugin packs up all necessary files

Thanks to @​kamilkrzyskow and @​scepka for their contributions

Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.5.13+insiders-4.53.1 (2024-03-06)

  • Fixed #6877: Projects plugin computes incorrect path to assets
  • Fixed #6869: Blog plugin should emit warning on invalid related link

mkdocs-material-9.5.13 (2024-03-06)

  • Updated Slovak translations
  • Improved info plugin interop with projects plugin
  • Improved info plugin inclusion/exclusion logic
  • Fixed info plugin not gathering files recursively
  • Fixed #6750: Ensure info plugin packs up all necessary files

mkdocs-material-9.5.12 (2024-02-29)

  • Fixed #6846: Some meta tags removed on instant navigation (9.4.2 regression)
  • Fixed #6823: KaTex not rendering on instant navigation (9.5.5 regression)
  • Fixed #6821: Privacy plugin doesn't handle URLs with encoded characters

mkdocs-material-9.5.11+insiders-4.53.0 (2024-02-24)

  • Added support for automatic instant previews
  • Added support for pinned blog posts

mkdocs-material-9.5.11 (2024-02-19)

  • Updated Finnish translation

mkdocs-material-9.5.10+insiders-4.52.3 (2024-02-21)

  • Fixed resolution of URLs in instant previews
  • Fixed instant previews not mounting for same-page links

mkdocs-material-9.5.10 (2024-02-19)

  • Updated Bahasa Malaysia translations
  • Fixed #6783: Hide continue reading link for blog posts without separators
  • Fixed #6779: Incorrect positioning of integrated table of contents

mkdocs-material-9.5.9 (2024-02-10)

  • Fixed navigation pruning with tabs and sections enabled

mkdocs-material-9.5.8+insiders-4.52.2 (2024-02-07)

  • Fixed #6735: Instant previews misplaced when below tabs

mkdocs-material-9.5.8 (2024-02-07)

  • Added Tamil translations

... (truncated)

Commits
  • 6ace043 Updated changelog
  • 36e9cff Prepare 9.5.13 release
  • c7de6ef Documentation (#6873)
  • dc808ca Updated dependencies
  • 63de275 Extended info plugin's validation message
  • 4478522 Added validation of paths to the info plugin
  • 819e209 Added projects plugin handling in the info plugin
  • 79129d5 Added exclusion logic for info plugin
  • 64a8b6a Changed info plugin to store more platform information
  • 712bc1c Fixed info plugin to gather all files recursively
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- gh-pages/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-pages/requirements-dev.txt b/gh-pages/requirements-dev.txt index 8e30adaa61..4b7a1857b5 100644 --- a/gh-pages/requirements-dev.txt +++ b/gh-pages/requirements-dev.txt @@ -1,4 +1,4 @@ mkdocs~=1.5.3 mkdocs-awesome-pages-plugin~=2.9.2 -mkdocs-material~=9.5.12 +mkdocs-material~=9.5.13 mkdocs-git-revision-date-plugin~=0.3.2 From 92f9349b47caf4239b0f3136527132fd09a9b460 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 17:00:16 +0000 Subject: [PATCH 23/30] chore(deps): Bump golang.org/x/tools from 0.18.0 to 0.19.0 in /packages/@jsii/go-runtime-test/project (#4445) Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.18.0 to 0.19.0.
Commits
  • 7656c4c go.mod: update golang.org/x dependencies
  • 5bf7d00 cmd/callgraph: add 'posn' template helper
  • 283fce2 x/tools: drop go1.18 support
  • 7f348c7 internal/versions: updates the meaning of FileVersions.
  • 38b0e9b x/tools: add explicit Unalias operations
  • a6c03c8 x/tools: update telemetry import (new Start API)
  • 1f7dbdf gopls/internal/cache: add debug assertions for bug report
  • 4d4e802 gopls/doc: address additional comments on workspace.md
  • abe5874 gopls/internal/analysis: add fill switch cases code action
  • fc70354 gopls/internal/test: add test for NPE in control flow highlighting
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/tools&package-manager=go_modules&previous-version=0.18.0&new-version=0.19.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- packages/@jsii/go-runtime-test/project/go.mod | 6 +++--- packages/@jsii/go-runtime-test/project/go.sum | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/@jsii/go-runtime-test/project/go.mod b/packages/@jsii/go-runtime-test/project/go.mod index 23dd501566..20c25c0327 100644 --- a/packages/@jsii/go-runtime-test/project/go.mod +++ b/packages/@jsii/go-runtime-test/project/go.mod @@ -9,7 +9,7 @@ require ( github.com/aws/jsii/jsii-calc/go/scopejsiicalclib v0.0.0-devpreview github.com/stretchr/testify v1.9.0 golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 - golang.org/x/tools v0.18.0 + golang.org/x/tools v0.19.0 ) require ( @@ -21,8 +21,8 @@ require ( github.com/mattn/go-isatty v0.0.20 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/yuin/goldmark v1.4.13 // indirect - golang.org/x/mod v0.15.0 // indirect - golang.org/x/sys v0.17.0 // indirect + golang.org/x/mod v0.16.0 // indirect + golang.org/x/sys v0.18.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/packages/@jsii/go-runtime-test/project/go.sum b/packages/@jsii/go-runtime-test/project/go.sum index f3aa904e7e..4268c59bb8 100644 --- a/packages/@jsii/go-runtime-test/project/go.sum +++ b/packages/@jsii/go-runtime-test/project/go.sum @@ -26,6 +26,8 @@ golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.16.0 h1:QX4fJ0Rr5cPQCF7O9lh9Se4pmwfwskqZfq5moyldzic= +golang.org/x/mod v0.16.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -38,12 +40,16 @@ golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= +golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ= golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg= +golang.org/x/tools v0.19.0 h1:tfGCXNR1OsFG+sVdLAitlpjAvD/I6dHDKnYrpEZUHkw= +golang.org/x/tools v0.19.0/go.mod h1:qoJWxmGSIBmAeriMx19ogtrEPrGtDbPK634QFIcLAhc= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From bfe6f851883f9165f37e763607c3221f5031839e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 18:29:18 +0000 Subject: [PATCH 24/30] chore(deps): Bump golang.org/x/tools from 0.18.0 to 0.19.0 in /packages/@jsii/go-runtime/jsii-runtime-go (#4444) Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.18.0 to 0.19.0.
Commits
  • 7656c4c go.mod: update golang.org/x dependencies
  • 5bf7d00 cmd/callgraph: add 'posn' template helper
  • 283fce2 x/tools: drop go1.18 support
  • 7f348c7 internal/versions: updates the meaning of FileVersions.
  • 38b0e9b x/tools: add explicit Unalias operations
  • a6c03c8 x/tools: update telemetry import (new Start API)
  • 1f7dbdf gopls/internal/cache: add debug assertions for bug report
  • 4d4e802 gopls/doc: address additional comments on workspace.md
  • abe5874 gopls/internal/analysis: add fill switch cases code action
  • fc70354 gopls/internal/test: add test for NPE in control flow highlighting
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/tools&package-manager=go_modules&previous-version=0.18.0&new-version=0.19.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- packages/@jsii/go-runtime/jsii-runtime-go/go.mod | 6 +++--- packages/@jsii/go-runtime/jsii-runtime-go/go.sum | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod index 665443ddb9..b4ece75189 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod @@ -8,7 +8,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/stretchr/testify v1.8.4 golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 - golang.org/x/tools v0.18.0 + golang.org/x/tools v0.19.0 ) require ( @@ -16,8 +16,8 @@ require ( github.com/mattn/go-colorable v0.1.13 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/yuin/goldmark v1.4.13 // indirect - golang.org/x/mod v0.15.0 // indirect - golang.org/x/sys v0.17.0 // indirect + golang.org/x/mod v0.16.0 // indirect + golang.org/x/sys v0.18.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/packages/@jsii/go-runtime/jsii-runtime-go/go.sum b/packages/@jsii/go-runtime/jsii-runtime-go/go.sum index a89eedf6df..4530862755 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.sum +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.sum @@ -20,8 +20,8 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.15.0 h1:SernR4v+D55NyBH2QiEQrlBAnj1ECL6AGrA5+dPaMY8= -golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.16.0 h1:QX4fJ0Rr5cPQCF7O9lh9Se4pmwfwskqZfq5moyldzic= +golang.org/x/mod v0.16.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -30,12 +30,12 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= -golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= +golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.18.0 h1:k8NLag8AGHnn+PHbl7g43CtqZAwG60vZkLqgyZgIHgQ= -golang.org/x/tools v0.18.0/go.mod h1:GL7B4CwcLLeo59yx/9UWWuNOW1n3VZ4f5axWfML7Lcg= +golang.org/x/tools v0.19.0 h1:tfGCXNR1OsFG+sVdLAitlpjAvD/I6dHDKnYrpEZUHkw= +golang.org/x/tools v0.19.0/go.mod h1:qoJWxmGSIBmAeriMx19ogtrEPrGtDbPK634QFIcLAhc= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From f524c25ae9b65aa394b1820162dea1222b73518d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 19:18:51 +0000 Subject: [PATCH 25/30] chore(deps): Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 in /packages/@jsii/go-runtime/jsii-runtime-go (#4441) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
Release notes

Sourced from github.com/stretchr/testify's releases.

v1.9.0

What's Changed

... (truncated)

Commits
  • bb548d0 Merge pull request #1552 from stretchr/dependabot/go_modules/github.com/stret...
  • 814075f build(deps): bump github.com/stretchr/objx from 0.5.1 to 0.5.2
  • e045612 Merge pull request #1339 from bogdandrutu/uintptr
  • 5b6926d Merge pull request #1385 from hslatman/not-implements
  • 9f97d67 Merge pull request #1550 from stretchr/release-notes
  • bcb0d3f Include the auto-release notes in releases
  • fb770f8 Merge pull request #1247 from ccoVeille/typos
  • 85d8bb6 fix typos in comments, tests and github templates
  • e2741fa Merge pull request #1548 from arjunmahishi/msgAndArgs
  • 6e59f20 http_assertions: assert that the msgAndArgs actually works in tests
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/stretchr/testify&package-manager=go_modules&previous-version=1.8.4&new-version=1.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- packages/@jsii/go-runtime/jsii-runtime-go/go.mod | 2 +- packages/@jsii/go-runtime/jsii-runtime-go/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod index b4ece75189..635e5c91e0 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod @@ -6,7 +6,7 @@ require ( github.com/Masterminds/semver/v3 v3.2.1 github.com/fatih/color v1.16.0 github.com/mattn/go-isatty v0.0.20 - github.com/stretchr/testify v1.8.4 + github.com/stretchr/testify v1.9.0 golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 golang.org/x/tools v0.19.0 ) diff --git a/packages/@jsii/go-runtime/jsii-runtime-go/go.sum b/packages/@jsii/go-runtime/jsii-runtime-go/go.sum index 4530862755..1c2320c4e4 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.sum +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.sum @@ -11,8 +11,8 @@ github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWE github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/yuin/goldmark v1.4.13 h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= From 75fbdb8b39c379f53392b42a1b3f52d5c87e3d1e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 12:31:16 +0000 Subject: [PATCH 26/30] chore(deps-dev): Update mkdocs-material requirement from ~=9.5.13 to ~=9.5.14 in /gh-pages (#4457) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the requirements on [mkdocs-material](https://github.com/squidfunk/mkdocs-material) to permit the latest version.
Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.5.14

  • Added support for hiding versions from selector when using mike
  • Added init system to improve signal handling in Docker image
  • Fixed edge cases in exclusion logic of info plugin
  • Fixed inability to reset pipeline in search plugin
  • Fixed syntax error in Finnish translations
  • Fixed #6917: UTF-8 encoding problems in blog plugin on Windows
  • Fixed #6889: Transparent iframes get background color

Thanks to @​kamilkrzyskow, @​yubiuser and @​todeveni for their contributions

Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.5.14 (2024-03-18)

  • Added support for hiding versions from selector when using mike
  • Added init system to improve signal handling in Docker image
  • Fixed edge cases in exclusion logic of info plugin
  • Fixed inability to reset pipeline in search plugin
  • Fixed syntax error in Finnish translations
  • Fixed #6917: UTF-8 encoding problems in blog plugin on Windows
  • Fixed #6889: Transparent iframes get background color

mkdocs-material-9.5.13+insiders-4.53.1 (2024-03-06)

  • Fixed #6877: Projects plugin computes incorrect path to assets
  • Fixed #6869: Blog plugin should emit warning on invalid related link

mkdocs-material-9.5.13 (2024-03-06)

  • Updated Slovak translations
  • Improved info plugin interop with projects plugin
  • Improved info plugin inclusion/exclusion logic
  • Fixed info plugin not gathering files recursively
  • Fixed #6750: Ensure info plugin packs up all necessary files

mkdocs-material-9.5.12 (2024-02-29)

  • Fixed #6846: Some meta tags removed on instant navigation (9.4.2 regression)
  • Fixed #6823: KaTex not rendering on instant navigation (9.5.5 regression)
  • Fixed #6821: Privacy plugin doesn't handle URLs with encoded characters

mkdocs-material-9.5.11+insiders-4.53.0 (2024-02-24)

  • Added support for automatic instant previews
  • Added support for pinned blog posts

mkdocs-material-9.5.11 (2024-02-19)

  • Updated Finnish translation

mkdocs-material-9.5.10+insiders-4.52.3 (2024-02-21)

  • Fixed resolution of URLs in instant previews
  • Fixed instant previews not mounting for same-page links

mkdocs-material-9.5.10 (2024-02-19)

  • Updated Bahasa Malaysia translations
  • Fixed #6783: Hide continue reading link for blog posts without separators
  • Fixed #6779: Incorrect positioning of integrated table of contents

mkdocs-material-9.5.9 (2024-02-10)

... (truncated)

Commits
  • cc78979 Updated Insiders changelog
  • c51eb2f Prepare 9.5.14 release
  • 3311a61 Updated dependencies
  • 022f14c Fixed UTF-8 with BOM encoding support
  • 2f1b2e9 Added support for hiding versions from selector
  • babc995 Formatting
  • 7e27f4d Merge branch 'master' of github.com:squidfunk/mkdocs-material
  • dc97a56 Updated dependencies
  • 2d39824 Fixed info plugin's exclusion logic (#6874)
  • f325238 Fixed inability to reset search pipeline
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- gh-pages/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-pages/requirements-dev.txt b/gh-pages/requirements-dev.txt index 4b7a1857b5..4c0166fe3f 100644 --- a/gh-pages/requirements-dev.txt +++ b/gh-pages/requirements-dev.txt @@ -1,4 +1,4 @@ mkdocs~=1.5.3 mkdocs-awesome-pages-plugin~=2.9.2 -mkdocs-material~=9.5.13 +mkdocs-material~=9.5.14 mkdocs-git-revision-date-plugin~=0.3.2 From 22e60307dd621665cb6db8cc468ecd4168c29c79 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 13:23:37 +0000 Subject: [PATCH 27/30] chore(deps): Update wheel requirement from ~=0.42 to ~=0.43 in /packages/@jsii/python-runtime (#4460) Updates the requirements on [wheel](https://github.com/pypa/wheel) to permit the latest version.
Release notes

Sourced from wheel's releases.

0.43.0

  • Dropped support for Python 3.7
  • Updated vendored packaging to 24.0
Changelog

Sourced from wheel's changelog.

Release Notes

0.43.0 (2024-03-11)

  • Dropped support for Python 3.7
  • Updated vendored packaging to 24.0

0.42.0 (2023-11-26)

  • Allowed removing build tag with wheel tags --build ""
  • Fixed wheel pack and wheel tags writing updated WHEEL fields after a blank line, causing other tools to ignore them
  • Fixed wheel pack and wheel tags writing WHEEL with CRLF line endings or a mix of CRLF and LF
  • Fixed wheel pack --build-number "" not removing build tag from WHEEL (above changes by Benjamin Gilbert)

0.41.3 (2023-10-30)

  • Updated vendored packaging to 23.2
  • Fixed ABI tag generation for CPython 3.13a1 on Windows (PR by Sam Gross)

0.41.2 (2023-08-22)

  • Fixed platform tag detection for GraalPy and 32-bit python running on an aarch64 kernel (PR by Matthieu Darbois)
  • Fixed wheel tags to not list directories in RECORD files (PR by Mike Taves)
  • Fixed ABI tag generation for GraalPy (PR by Michael Simacek)

0.41.1 (2023-08-05)

  • Fixed naming of the data_dir directory in the presence of local version segment given via egg_info.tag_build (PR by Anderson Bravalheri)
  • Fixed version specifiers in Requires-Dist being wrapped in parentheses

0.41.0 (2023-07-22)

  • Added full support of the build tag syntax to wheel tags (you can now set a build tag like 123mytag)
  • Fixed warning on Python 3.12 about onerror deprecation. (PR by Henry Schreiner)
  • Support testing on Python 3.12 betas (PR by Ewout ter Hoeven)

0.40.0 (2023-03-14)

  • Added a wheel tags command to modify tags on an existing wheel (PR by Henry Schreiner)
  • Updated vendored packaging to 23.0
  • wheel unpack now preserves the executable attribute of extracted files

... (truncated)

Commits
  • fa33dfd Created a new release
  • b2c8272 Removed PyPy + Windows from the test matrix for now
  • dedcc19 Worked around a bizarre PyPy+Windows issue with bdist_egg
  • fa480d6 Added Codecov.io token to the test workflow
  • 1280f03 Skip the test_platform_linux32 test on non-Linux platforms
  • 0b4b259 Removed failing test code
  • b91b377 Fixed erroneous attribute access on the capsys fixture
  • 819baa3 Updated more GitHub actions and improved test workflow
  • 92921a0 Updated vendored packaging to 24.0
  • a9119c8 Updated GitHub actions to their latest versions
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/python-runtime/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index f024894e7c..7b827aade5 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -5,6 +5,6 @@ pytest~=8.1 pytest-mypy~=0.10 setuptools~=69.1.1 types-python-dateutil~=2.8 -wheel~=0.42 +wheel~=0.43 -e . From a025c65d56361e1ae84f035335bfbc58022f88a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 14:15:44 +0000 Subject: [PATCH 28/30] chore(deps): Update setuptools requirement from ~=69.1.1 to ~=69.2.0 in /packages/@jsii/python-runtime (#4458) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
Changelog

Sourced from setuptools's changelog.

v69.2.0

Features

  • Explicitly use encoding="locale" for .pth files whenever possible, to reduce EncodingWarnings. This avoid errors with UTF-8 (see discussion in python/cpython#77102). (#4265)

Bugfixes

  • Clarify some pkg_resources methods return bytes, not str. Also return an empty bytes in EmptyProvider._get -- by :user:Avasam (#4243)
  • Return an empty list by default in pkg_resources.ResourceManager.cleanup_resources -- by :user:Avasam (#4244)
  • Made pkg_resoursces.NullProvider's has_metadata and metadata_isdir methods return actual booleans like all other Providers. -- by :user:Avasam (#4254)

Misc

v69.1.1

Bugfixes

Misc

v69.1.0

Features

  • Updated and removed obsolete Python < 3.8 code and comments. -- by :user:Avasam (#4096)
  • Updated pkg_resources to use stdlib importlib.machinery instead of importlib_machinery -- by :user:Avasam (#4097)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/python-runtime/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index 7b827aade5..b6c54efed6 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -3,7 +3,7 @@ mypy==1.9.0 pip~=24.0 pytest~=8.1 pytest-mypy~=0.10 -setuptools~=69.1.1 +setuptools~=69.2.0 types-python-dateutil~=2.8 wheel~=0.43 From 118713c35f9f3181b4ef5f023b59493b497bae02 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:02:59 +0000 Subject: [PATCH 29/30] chore(deps): Update black requirement from ~=24.2 to ~=24.3 in /packages/@jsii/python-runtime (#4461) Updates the requirements on [black](https://github.com/psf/black) to permit the latest version.
Release notes

Sourced from black's releases.

24.3.0

Highlights

This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix CVE-2024-21503.

This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.

Stable style

  • Don't move comments along with delimiters, which could cause crashes (#4248)
  • Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (#4270)
  • Fix a bug where line-ranges exceeding the last code line would not work as expected (#4273)

Performance

  • Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes CVE-2024-21503. (#4278)

Documentation

  • Note what happens when --check is used with --quiet (#4236)
Changelog

Sourced from black's changelog.

24.3.0

Highlights

This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black on untrusted input, or if you habitually put thousands of leading tab characters in your docstrings, you are strongly encouraged to upgrade immediately to fix CVE-2024-21503.

This release also fixes a bug in Black's AST safety check that allowed Black to make incorrect changes to certain f-strings that are valid in Python 3.12 and higher.

Stable style

  • Don't move comments along with delimiters, which could cause crashes (#4248)
  • Strengthen AST safety check to catch more unsafe changes to strings. Previous versions of Black would incorrectly format the contents of certain unusual f-strings containing nested strings with the same quote type. Now, Black will crash on such strings until support for the new f-string syntax is implemented. (#4270)
  • Fix a bug where line-ranges exceeding the last code line would not work as expected (#4273)

Performance

  • Fix catastrophic performance on docstrings that contain large numbers of leading tab characters. This fixes CVE-2024-21503. (#4278)

Documentation

  • Note what happens when --check is used with --quiet (#4236)

24.2.0

Stable style

  • Fixed a bug where comments where mistakenly removed along with redundant parentheses (#4218)

Preview style

  • Move the hug_parens_with_braces_and_square_brackets feature to the unstable style due to an outstanding crash and proposed formatting tweaks (#4198)
  • Fixed a bug where base expressions caused inconsistent formatting of ** in tenary expression (#4154)
  • Checking for newline before adding one on docstring that is almost at the line limit (#4185)
  • Remove redundant parentheses in case statement if guards (#4214).

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/python-runtime/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index b6c54efed6..6b2fb137c6 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -1,4 +1,4 @@ -black~=24.2 +black~=24.3 mypy==1.9.0 pip~=24.0 pytest~=8.1 From 44fa3941662c141648bdf667f084758d7a11e456 Mon Sep 17 00:00:00 2001 From: AWS CDK Team Date: Fri, 22 Mar 2024 16:26:38 +0000 Subject: [PATCH 30/30] chore(release): 1.96.0 --- CHANGELOG.md | 7 +++++++ lerna.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 682a354522..0b9c17b9b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.96.0](https://github.com/aws/jsii/compare/v1.95.0...v1.96.0) (2024-03-22) + + +### Bug Fixes + +* **jsii-pacmak:** different packages sharing a namespace fail in Bazel ([#4437](https://github.com/aws/jsii/issues/4437)) ([5c0d9e4](https://github.com/aws/jsii/commit/5c0d9e4572a5a9ba6c41a37a4434402ec2d74b14)), closes [#3881](https://github.com/aws/jsii/issues/3881) + ## [1.95.0](https://github.com/aws/jsii/compare/v1.94.0...v1.95.0) (2024-02-14) diff --git a/lerna.json b/lerna.json index 3adeca0195..e1374a6116 100644 --- a/lerna.json +++ b/lerna.json @@ -12,6 +12,6 @@ "rejectCycles": true } }, - "version": "1.95.0", + "version": "1.96.0", "$schema": "node_modules/lerna/schemas/lerna-schema.json" }