Skip to content

Commit

Permalink
Fix upgrade script (#7579)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio authored Feb 4, 2025
1 parent aad43d5 commit 3c4b8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildutils/src/upgrade-lab-dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ function absoluteVersion(version: string): string {
return version;
}

const versionPattern = /(jupyterlab)>=[\d.]+(?:a|b|rc\d+)?,<[\d.]+/g;
const versionPattern = /(jupyterlab)(>=[\d.]+(?:[a|b|rc]\d+)?,<[\d.]+)/g;

const FILES_TO_UPDATE = ['pyproject.toml', '.pre-commit-config.yaml'];

Expand Down

0 comments on commit 3c4b8b5

Please sign in to comment.