chore(deps): Bump @docker/actions-toolkit from 0.62.1 to 0.67.0
Bumps @docker/actions-toolkit from 0.62.1 to 0.67.0.
Release notes
Sourced from @docker/actions-toolkit's releases.
v0.67.0
- cache: gracefully handle cache restore failures with warning by
@crazy-maxin docker/actions-toolkit#842- sigstore: remove
@actions/attestdependency by@crazy-maxin docker/actions-toolkit#843- build(deps): bump
@sigstore/bundlefrom 3.1.0 to 4.0.0 in docker/actions-toolkit#840- build(deps): bump
@sigstore/signfrom 3.1.0 to 4.0.1 in docker/actions-toolkit#844Full Changelog: https://github.com/docker/actions-toolkit/compare/v0.66.0...v0.67.0
v0.66.0
- sigstore: multi image names support for signing by
@crazy-maxin docker/actions-toolkit#841- build(deps): bump
@octokit/request-errorfrom 5.0.0 to 5.1.1 in docker/actions-toolkit#836- build(deps): bump
@octokit/requestfrom 8.1.1 to 8.4.1 in docker/actions-toolkit#836Full Changelog: https://github.com/docker/actions-toolkit/compare/v0.65.0...v0.66.0
v0.65.0
- use github token to fetch releases JSON from CDN if available by
@crazy-maxin docker/actions-toolkit#819- sigstore class to sign and verify BuildKit attestation manifests and provenance blobs by
@crazy-maxin docker/actions-toolkit#820 docker/actions-toolkit#830- cosign install and command support by
@crazy-maxin docker/actions-toolkit#826 docker/actions-toolkit#827 docker/actions-toolkit#828 docker/actions-toolkit#825- buildx(imagetools): return attestations digests by
@crazy-maxin docker/actions-toolkit#823- docker(install): update lima images by
@crazy-maxin docker/actions-toolkit#821- docker(install): don't use local system resolver with lima and increase timeouts by
@crazy-maxin docker/actions-toolkit#837 docker/actions-toolkit#839- build(deps): bump
@actions/artifactfrom 2.3.2 to 4.0.0 in docker/actions-toolkit#818Full Changelog: https://github.com/docker/actions-toolkit/compare/v0.64.0...v0.65.0
v0.64.0
- docker(install): fix source archive version by
@crazy-maxin docker/actions-toolkit#813- docker(install): set missing
XDG_RUNTIME_DIRenv by@crazy-maxin docker/actions-toolkit#763- build(deps): bump
@actions/cachefrom 4.0.3 to 4.1.0 in docker/actions-toolkit#762 docker/actions-toolkit#794- build(deps): bump brace-expansion from 1.1.11 to 1.1.12 in docker/actions-toolkit#757
- build(deps): bump csv-parse from 5.6.0 to 6.1.0 in docker/actions-toolkit#739
- build(deps): bump semver from 7.7.2 to 7.7.3 in docker/actions-toolkit#807
- build(deps): bump tar from 6.1.13 to 6.2.1 in docker/actions-toolkit#755
- build(deps): bump tmp from 0.2.4 to 0.2.5 in docker/actions-toolkit#764
- build(deps): bump undici from 5.28.4 to 5.29.0 in docker/actions-toolkit#756
Full Changelog: https://github.com/docker/actions-toolkit/compare/v0.63.0...v0.64.0
v0.63.0
- build(deps): bump
@octokit/corefrom 5.1.0 to 5.2.2 by@crazy-maxin docker/actions-toolkit#750- build(deps): bump
@octokit/plugin-rest-endpoint-methodsfrom 10.4.0 to 10.4.1 by@crazy-maxin docker/actions-toolkit#750- build(deps): bump form-data from 2.5.1 to 2.5.5 in docker/actions-toolkit#743
- build(deps): bump tmp from 0.2.3 to 0.2.4 by
@crazy-maxin docker/actions-toolkit#750Full Changelog: https://github.com/docker/actions-toolkit/compare/v0.62.1...v0.63.0
Commits
7ee6338Merge pull request #844 from docker/dependabot/npm_and_yarn/sigstore/sign-4.0.19c71407build(deps): bump@sigstore/signfrom 3.1.0 to 4.0.17cb0facMerge pull request #840 from docker/dependabot/npm_and_yarn/sigstore/bundle-4...9b9d27dbuild(deps): bump@sigstore/bundlefrom 3.1.0 to 4.0.0a84516dMerge pull request #843 from crazy-max/rm-actions-attest85dfc7asigstore: remove@actions/attestdependency5c04d39Merge pull request #842 from crazy-max/cache-failsafed8def31cache: gracefully handle cache restore failures with warning7ab28f9Merge pull request #841 from crazy-max/sigstore-multi-images6bd8db3sigstore: multi image names support for signing- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link:
Nice, thanks!
Since it's a pretty big change (300+ changed files), maybe we should target 4.6.0 just to be sure?
Unless folks are confident this could be part of 4.5.x. If it's part of 4.6.0, hopefully backporting other PRs to 4.5.x will not be too painful, since this mostly affects imports at the top of files.
@martinRenou there are a couple of conflicts to fix after the merge of https://github.com/jupyterlab/jupyterlab/pull/18073.
Then, we should probably get this merged into main right after.
Just curious, will eslint automatically fix this issue now with the pre-commit hooks?
To regenerate this PR, or I think to update any other PR to not conflict with this, apply this patch:
diff --git a/.eslintrc.js b/.eslintrc.js
index ef3ed4b4ed..730f38dd30 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -86,6 +86,13 @@ module.exports = {
'@typescript-eslint/triple-slash-reference': 'warn',
'@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/switch-exhaustiveness-check': 'error',
+ '@typescript-eslint/consistent-type-imports': [
+ 'error',
+ {
+ prefer: 'type-imports',
+ fixStyle: 'separate-type-imports'
+ }
+ ],
camelcase: [
'error',
{
diff --git a/packages/codemirror/src/language.ts b/packages/codemirror/src/language.ts
index b5ac741707..1da94b9ba8 100644
--- a/packages/codemirror/src/language.ts
+++ b/packages/codemirror/src/language.ts
@@ -1,6 +1,7 @@
// Copyright (c) Jupyter Development Team.
// Distributed under the terms of the Modified BSD License.
+import type * as SQLModule from '@codemirror/lang-sql';
import {
LanguageDescription,
LanguageSupport,
@@ -286,7 +287,7 @@ export namespace EditorLanguageRegistry {
* @returns Language object
*/
async function sql(
- dialectName: keyof typeof import('@codemirror/lang-sql')
+ dialectName: keyof typeof SQLModule
): Promise<LanguageSupport> {
const m = await import('@codemirror/lang-sql');
return m.sql({ dialect: (m as any)[dialectName] });
You can apply the patch by copying it to your clipboard, then doing
cat | git apply
then pasting the contents of the clipboard. If you are on a mac, you should instead be able to do pbpaste | git apply, or a similar command on linux like wl-paste | git apply.
Then run jlpm run eslint, then commit three times. In the first commit attempt, the precommit hook will fix all of the type imports, which prevents the commit from happening, then the second time prettier fixes up some files, which again prevents the commit from happening, and then the third time the commit actually happens.
jlpm run eslint
git commit -am "Update eslint config to enforce type imports"
git commit -am "Update eslint config to enforce type imports"
git commit -am "Update eslint config to enforce type imports"
According to jlpm run build:prod:minimize:doctor, the bundle size does not change before/after this patch:
I force-pushed an update where I reset to origin/main, then followed my instructions above. @martinRenou - I set the coauthor to you to preserve credit. I think this pulls in all of your changes, and it tests the instructions above.
For the record, Martin's last commit was 1a9c08ef9c18112dd8866a11687fa3db01dfd6d8. I made a coauthored commit by doing:
git commit -am "Update eslint config to enforce type imports" -m "" -m "Co-authored-by: martinRenou <[email protected]>"
Playing with this a bit, I think I wouldn't be opposed to backporting this (or making the same change) to 4.5. It looks like the changes are almost all automated fixes, and it probably would make backporting easier. I'd suggest waiting until there are evident backporting pains before doing so, though.
I pasted my update instructions in the original description to make it easier to find, especially since github is now hiding the relevant comment.
My thought on merging this: let's see what we can do to get the merge queue down in the next week or so by merging PRs, then merge this. That cuts down on the number of PRs we'd need to update and makes it easier to backport any PRs to 4.5, then we can easily update this PR and merge.