Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: isolated peer upgrades break upgrade workflows #629

Merged
merged 3 commits into from
Nov 23, 2023

Conversation

rix0rrr
Copy link
Contributor

@rix0rrr rix0rrr commented Nov 23, 2023

As for example seen in: cdk8s-team/cdk8s-hasura#407

The workflow upgrades the peer dependency:

cdk8s-plus-27: ^2.7.61 -> ^2.7.66

But leaves the devDependency unchanged:

cdk8s-plus-27: 2.7.61

And then the install fails because its requirements are not satisfied.

Instead, don't upgrade peer dependencies automtically. If we need to do a peerDependency upgrade, we will do it by hand.

Fixes #

@rix0rrr rix0rrr requested a review from a team November 23, 2023 14:26
As for example seen in: cdk8s-team/cdk8s-hasura#407

The workflow upgrades the peer dependency:

```
cdk8s-plus-27: ^2.7.61 -> ^2.7.66
```

But leaves the devDependency unchanged:

```
cdk8s-plus-27: 2.7.61
```

And then the install fails because its requirements are not satisfied.

Instead, don't upgrade peer dependencies automtically. If we need to do
a peerDependency upgrade, we will do it by hand.

Signed-off-by: Rico Huijbers <rix0rrr@gmail.com>
@rix0rrr rix0rrr force-pushed the huijbers/no-upgrade-peer branch from f9fa786 to 18a74fc Compare November 23, 2023 14:43
Signed-off-by: github-actions <github-actions@github.com>
@mergify mergify bot merged commit 53c1fe6 into main Nov 23, 2023
@mergify mergify bot deleted the huijbers/no-upgrade-peer branch November 23, 2023 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants