Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws/jsii
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.99.0
Choose a base ref
...
head repository: aws/jsii
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.100.0
Choose a head ref
  • 7 commits
  • 10 files changed
  • 4 contributors

Commits on Jun 3, 2024

  1. chore(merge-back): 1.99.0 (#4530)

    mergify[bot] authored Jun 3, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bbf6430 View commit details

Commits on Jun 5, 2024

  1. chore(deps): Bump golang.org/x/tools from 0.21.0 to 0.22.0 in /packag…

    …es/@jsii/go-runtime-test/project (#4536)
    
    Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.21.0 to 0.22.0.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/golang/tools/commit/bc6931db37c33e064504346d9259b3b6d20e13f6"><code>bc6931d</code></a> go.mod: update golang.org/x dependencies</li>
    <li><a href="https://github.com/golang/tools/commit/1767b144a15d30b79c7744524828fe10bf07a862"><code>1767b14</code></a> go/ssa: remove code with no effect</li>
    <li><a href="https://github.com/golang/tools/commit/208808308b705255ee693cdc55afe8b4ad37c425"><code>2088083</code></a> internal/gocommand: add more debug info for hanging go commands</li>
    <li><a href="https://github.com/golang/tools/commit/f1a3b1281e9b5e25fc2f46e88e73023dbb4bbcf0"><code>f1a3b12</code></a> internal/imports: FixImports should be cancellable</li>
    <li><a href="https://github.com/golang/tools/commit/4478db00aae5c5e487165f6e768681be5d63bac0"><code>4478db0</code></a> go/analysis/passes/copylock: suppress error in ill-typed code</li>
    <li><a href="https://github.com/golang/tools/commit/018d3b2768ced9f36e90baeb2a542c813dfc28ef"><code>018d3b2</code></a> gopls: warn about Go 1.19 and Go 1.20</li>
    <li><a href="https://github.com/golang/tools/commit/58cc8a4458597b256f404b4a4a84edc71cd0d00b"><code>58cc8a4</code></a> gopls/internal/filecache: suppress gc in tests</li>
    <li><a href="https://github.com/golang/tools/commit/b6235391adb3b7f8bcfc4df81055e8f023de2688"><code>b623539</code></a> gopls/internal/cache: suppress &quot;internal&quot; import check on Bazel</li>
    <li><a href="https://github.com/golang/tools/commit/1e9d12dd1f25735a6fcefd3665be4684ba23fc58"><code>1e9d12d</code></a> go/packages: pass -overlay to all 'go list' invocations</li>
    <li><a href="https://github.com/golang/tools/commit/3c293ad67a98a86d273bf69c6a742f04a6a367a3"><code>3c293ad</code></a> internal/cache: invalidate broken imports when package files change</li>
    <li>Additional commits viewable in <a href="https://github.com/golang/tools/compare/v0.21.0...v0.22.0">compare view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/tools&package-manager=go_modules&previous-version=0.21.0&new-version=0.22.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)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    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 <dependency name> 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)
    
    
    </details>
    dependabot[bot] authored Jun 5, 2024
    Copy the full SHA
    e21e566 View commit details

Commits on Jun 7, 2024

  1. chore(deps): Bump golang.org/x/tools from 0.21.0 to 0.22.0 in /packag…

    …es/@jsii/go-runtime/jsii-runtime-go (#4537)
    
    Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.21.0 to 0.22.0.
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/golang/tools/commit/bc6931db37c33e064504346d9259b3b6d20e13f6"><code>bc6931d</code></a> go.mod: update golang.org/x dependencies</li>
    <li><a href="https://github.com/golang/tools/commit/1767b144a15d30b79c7744524828fe10bf07a862"><code>1767b14</code></a> go/ssa: remove code with no effect</li>
    <li><a href="https://github.com/golang/tools/commit/208808308b705255ee693cdc55afe8b4ad37c425"><code>2088083</code></a> internal/gocommand: add more debug info for hanging go commands</li>
    <li><a href="https://github.com/golang/tools/commit/f1a3b1281e9b5e25fc2f46e88e73023dbb4bbcf0"><code>f1a3b12</code></a> internal/imports: FixImports should be cancellable</li>
    <li><a href="https://github.com/golang/tools/commit/4478db00aae5c5e487165f6e768681be5d63bac0"><code>4478db0</code></a> go/analysis/passes/copylock: suppress error in ill-typed code</li>
    <li><a href="https://github.com/golang/tools/commit/018d3b2768ced9f36e90baeb2a542c813dfc28ef"><code>018d3b2</code></a> gopls: warn about Go 1.19 and Go 1.20</li>
    <li><a href="https://github.com/golang/tools/commit/58cc8a4458597b256f404b4a4a84edc71cd0d00b"><code>58cc8a4</code></a> gopls/internal/filecache: suppress gc in tests</li>
    <li><a href="https://github.com/golang/tools/commit/b6235391adb3b7f8bcfc4df81055e8f023de2688"><code>b623539</code></a> gopls/internal/cache: suppress &quot;internal&quot; import check on Bazel</li>
    <li><a href="https://github.com/golang/tools/commit/1e9d12dd1f25735a6fcefd3665be4684ba23fc58"><code>1e9d12d</code></a> go/packages: pass -overlay to all 'go list' invocations</li>
    <li><a href="https://github.com/golang/tools/commit/3c293ad67a98a86d273bf69c6a742f04a6a367a3"><code>3c293ad</code></a> internal/cache: invalidate broken imports when package files change</li>
    <li>Additional commits viewable in <a href="https://github.com/golang/tools/compare/v0.21.0...v0.22.0">compare view</a></li>
    </ul>
    </details>
    <br />
    
    
    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/tools&package-manager=go_modules&previous-version=0.21.0&new-version=0.22.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)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    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 <dependency name> 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)
    
    
    </details>
    dependabot[bot] authored Jun 7, 2024
    Copy the full SHA
    12c1b7d View commit details

Commits on Jun 10, 2024

  1. chore(deps-dev): Update mkdocs-material requirement from ~=9.5.25 to …

    …~=9.5.26 in /gh-pages (#4540)
    
    Updates the requirements on [mkdocs-material](https://github.com/squidfunk/mkdocs-material) to permit the latest version.
    <details>
    <summary>Release notes</summary>
    <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/releases">mkdocs-material's releases</a>.</em></p>
    <blockquote>
    <h2>mkdocs-material-9.5.26</h2>
    <ul>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7232">#7232</a>: Tab switches on scroll when linking tabs (9.5.19 regression)</li>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7230">#7230</a>: Blog author avatar broken when referring to local file</li>
    </ul>
    </blockquote>
    </details>
    <details>
    <summary>Changelog</summary>
    <p><em>Sourced from <a href="https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG">mkdocs-material's changelog</a>.</em></p>
    <blockquote>
    <p>mkdocs-material-9.5.26 (2024-06-06)</p>
    <ul>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7232">#7232</a>: Tab switches on scroll when linking tabs (9.5.19 regression)</li>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7230">#7230</a>: Blog author avatar broken when referring to local file</li>
    </ul>
    <p>mkdocs-material-9.5.25+insiders-4.53.11 (2024-05-27)</p>
    <ul>
    <li>Fixed projects plugin crashing when serving before building subprojects</li>
    </ul>
    <p>mkdocs-material-9.5.25 (2024-05-27)</p>
    <ul>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7209">#7209</a>: Tags plugin crashing on numeric tags</li>
    </ul>
    <p>mkdocs-material-9.5.24+insiders-4.53.10 (2024-05-20)</p>
    <ul>
    <li>Fixed projects plugin crashing in serve mode when disabled</li>
    <li>Fixed projects plugin crashing when building nested projects</li>
    </ul>
    <p>mkdocs-material-9.5.24+insiders-4.53.9 (2024-05-20)</p>
    <ul>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7191">#7191</a>: Tags listings not rendering when toc_depth is changed</li>
    </ul>
    <p>mkdocs-material-9.5.24 (2024-05-20)</p>
    <ul>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7187">#7187</a>: Version selector title rendering issue</li>
    </ul>
    <p>mkdocs-material-9.5.23 (2024-05-15)</p>
    <ul>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7183">#7183</a>: Edge case in anchor navigation when using instant navigation</li>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/6436">#6436</a>: Version selector not showing version alias</li>
    </ul>
    <p>mkdocs-material-9.5.22 (2024-05-12)</p>
    <ul>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7170">#7170</a>: Copy button adds empty lines for line spans (9.5.18 regression)</li>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7160">#7160</a>: Version switching doesn't stay on page (9.5.5 regression)</li>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/5619">#5619</a>: Links in Mermaid.js diagrams not discernible</li>
    </ul>
    <p>mkdocs-material-9.5.21 (2024-05-03)</p>
    <ul>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7133">#7133</a>: Ensure latest version of Mermaid.js is used</li>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7125">#7125</a>: Added warning for dotfiles in info plugin</li>
    </ul>
    <p>mkdocs-material-9.5.20 (2024-04-29)</p>
    <ul>
    <li>Fixed deprecation warning in privacy plugin (9.5.19 regression)</li>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7119">#7119</a>: Tags plugin emits deprecation warning (9.5.19 regression)</li>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7118">#7118</a>: Social plugin crashes if fonts are disabled (9.5.19 regression)</li>
    <li>Fixed <a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7085">#7085</a>: Social plugin crashes on Windows when downloading fonts</li>
    </ul>
    <p>mkdocs-material-9.5.19+insiders-4.53.8 (2024-04-26)</p>
    
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    <ul>
    <li><a href="https://github.com/squidfunk/mkdocs-material/commit/f8871975babb2928ef5d797ddcc659ddf8aa19ff"><code>f887197</code></a> Updated changelog</li>
    <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0d5a08ca9de9f97cb2302490b8ef9d451dfd17f3"><code>0d5a08c</code></a> Prepare 9.5.26 release</li>
    <li><a href="https://github.com/squidfunk/mkdocs-material/commit/1cc45d50d077c8c27d58b71dcc11b941779ec9b2"><code>1cc45d5</code></a> Fixed active tab stolen on scroll with linked content tabs</li>
    <li><a href="https://github.com/squidfunk/mkdocs-material/commit/b5b7e9d678aa82b453516d041691c5e6fa0074ab"><code>b5b7e9d</code></a> Updated dependencies</li>
    <li><a href="https://github.com/squidfunk/mkdocs-material/commit/c182598acd7a4a19de6095d8cefc3efd321fb77a"><code>c182598</code></a> Added distribution files</li>
    <li><a href="https://github.com/squidfunk/mkdocs-material/commit/49ebb9bbfa3f2ff714bdae765aa89fa51f4fc0d9"><code>49ebb9b</code></a> Improved accessibility of search partial (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7233">#7233</a>)</li>
    <li><a href="https://github.com/squidfunk/mkdocs-material/commit/5bd843be2322f074578576360e4bed857d4f509b"><code>5bd843b</code></a> Updated dependencies</li>
    <li><a href="https://github.com/squidfunk/mkdocs-material/commit/0fc36a1f4c90f350be7c51f5600d7f33716faa7b"><code>0fc36a1</code></a> Added support for local author avatars</li>
    <li><a href="https://github.com/squidfunk/mkdocs-material/commit/2412a1b7bc0713730ec3d134b26fe503d9421c41"><code>2412a1b</code></a> Documentation (<a href="https://redirect.github.com/squidfunk/mkdocs-material/issues/7221">#7221</a>)</li>
    <li><a href="https://github.com/squidfunk/mkdocs-material/commit/6c3f846078dcad4ae534683a7f07aac0f3955994"><code>6c3f846</code></a> Updated custom styles</li>
    <li>Additional commits viewable in <a href="https://github.com/squidfunk/mkdocs-material/compare/9.5.25...9.5.26">compare view</a></li>
    </ul>
    </details>
    <br />
    
    
    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)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    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 <dependency name> 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)
    
    
    </details>
    dependabot[bot] authored Jun 10, 2024
    Copy the full SHA
    8f61747 View commit details
  2. fix(python): incorrect escaped characters cause warnings (#4538)

    Fixes #4532. Succinctly, the issue is that the README is copied over into the `__init__.py` file as a python comment. And then python warns that things like `\|` and `\'`, which while not often, do organically and correctly show up in markdown syntax, are invalid escapes. Some people who have set their python config to error on warnings end up erroring on this. The solution is to mark the README string as a raw string `r'''` so python does not try to register the escapes.
    
    I'm not sure how to test this in code in this PR. I have done the following to make sure that this works:
    
    I copied the repro repo from #4532 [here](https://github.com/kaizencc/cdk_invalid_char/blob/main) and got it to show the warning locally. then, I updated the actual file manually from `'''` to `r'''` and got `pytest -W error` to give me a thumbs up. So that shows that changing `'''` to `r'''` does not expect the escaped characters to be valid.
    
    I tested my local jsii-pacmak by using it to package a module in `aws-cdk`, and unzipped the python package and confirmed that the `r'''` raw string indicator shows up for the README string in `__init__.py`, and nothing else.
    
    These two combined confirms for me that this solution will work. Again I'm not sure of the best way to test that in jsii-pacmak.
    
    ---
    
    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
    kaizencc authored Jun 10, 2024
    Copy the full SHA
    c5975d5 View commit details

Commits on Jun 13, 2024

  1. chore(release): 1.100.0

    AWS CDK Team committed Jun 13, 2024
    Copy the full SHA
    a92f0a4 View commit details
  2. chore(release): 1.100.0 (#4542)

    mergify[bot] authored Jun 13, 2024
    Copy the full SHA
    6a776be View commit details
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.100.0](https://github.com/aws/jsii/compare/v1.99.0...v1.100.0) (2024-06-13)


### Bug Fixes

* **python:** incorrect escaped characters cause warnings ([#4538](https://github.com/aws/jsii/issues/4538)) ([c5975d5](https://github.com/aws/jsii/commit/c5975d50e37044d25238d5a724a499ee6976d8ba)), closes [#4532](https://github.com/aws/jsii/issues/4532) [#4532](https://github.com/aws/jsii/issues/4532)

## [1.99.0](https://github.com/aws/jsii/compare/v1.98.0...v1.99.0) (2024-06-03)


2 changes: 1 addition & 1 deletion gh-pages/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mkdocs~=1.6.0
mkdocs-awesome-pages-plugin~=2.9.2
mkdocs-material~=9.5.25
mkdocs-material~=9.5.26
mkdocs-git-revision-date-plugin~=0.3.2
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -12,6 +12,6 @@
"rejectCycles": true
}
},
"version": "1.99.0",
"version": "1.100.0",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
6 changes: 3 additions & 3 deletions packages/@jsii/go-runtime-test/project/go.mod
Original file line number Diff line number Diff line change
@@ -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.21.0
golang.org/x/tools v0.22.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.17.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/mod v0.18.0 // indirect
golang.org/x/sys v0.21.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

6 changes: 6 additions & 0 deletions packages/@jsii/go-runtime-test/project/go.sum
Original file line number Diff line number Diff line change
@@ -22,6 +22,8 @@ golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPI
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0=
golang.org/x/mod v0.18.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=
@@ -32,10 +34,14 @@ golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBc
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
golang.org/x/sys v0.21.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.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw=
golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA=
golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c=
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=
6 changes: 3 additions & 3 deletions packages/@jsii/go-runtime/jsii-runtime-go/go.mod
Original file line number Diff line number Diff line change
@@ -8,16 +8,16 @@ require (
github.com/mattn/go-isatty v0.0.20
github.com/stretchr/testify v1.9.0
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
golang.org/x/tools v0.21.0
golang.org/x/tools v0.22.0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
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.17.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/mod v0.18.0 // indirect
golang.org/x/sys v0.21.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

12 changes: 6 additions & 6 deletions packages/@jsii/go-runtime/jsii-runtime-go/go.sum
Original file line number Diff line number Diff line change
@@ -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.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA=
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0=
golang.org/x/mod v0.18.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.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
golang.org/x/sys v0.21.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.21.0 h1:qc0xYgIbsSDt9EyWz05J5wfa7LOVW0YTLOXrqdLAWIw=
golang.org/x/tools v0.21.0/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA=
golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c=
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=
2 changes: 1 addition & 1 deletion packages/@jsii/python-runtime/tests/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Python jsii runtime tests
## Development Iteration

When iterating on the jsii runtime for Python, the develomer must run
When iterating on the jsii runtime for Python, the developer must run
`yarn build` before making a subsequent attempt at running `pytest` (e.g: via
`yarn test`). This is because the tests run on the code installed in `.env` and
this is updated only by `yarn build`.
3 changes: 2 additions & 1 deletion packages/jsii-pacmak/lib/targets/python.ts
Original file line number Diff line number Diff line change
@@ -44,6 +44,7 @@ const requirementsFile = path.resolve(
// we use single-quotes for multi-line strings to allow examples within the
// docstrings themselves to include double-quotes (see https://github.com/aws/jsii/issues/2569)
const DOCSTRING_QUOTES = "'''";
const RAW_DOCSTRING_QUOTES = `r${DOCSTRING_QUOTES}`;

export default class Python extends Target {
protected readonly generator: PythonGenerator;
@@ -1902,7 +1903,7 @@ class PythonModule implements PythonType {
*/
private emitModuleDocumentation(code: CodeMaker) {
if (this.moduleDocumentation) {
code.line(DOCSTRING_QUOTES);
code.line(RAW_DOCSTRING_QUOTES); // raw string so that python does not attempt to interpret invalid escapes that are valid in markdown
code.line(this.moduleDocumentation);
code.line(DOCSTRING_QUOTES);
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.