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

Do not depend on specific sdk #1425

Merged
merged 3 commits into from
Oct 1, 2024
Merged

Conversation

t0yv0
Copy link
Member

@t0yv0 t0yv0 commented Oct 1, 2024

@t0yv0 t0yv0 requested review from justinvp and a team October 1, 2024 20:44
@@ -269,9 +264,7 @@ func Provider() tfbridge.ProviderInfo {
},
CSharp: &tfbridge.CSharpInfo{
RespectSchemaVersion: true,
PackageReferences: map[string]string{
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suspiciously python SDK didn't get changed, possibly still OK?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it probably should have changed the pyproject.toml. The version ranges currently there match what was set in the schema

dependencies = ["parver>=0.2.1", "pulumi>=3.0.0,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naively, I expected

dependencies = ["parver>=0.2.1", "pulumi>=3.0.0,<4.0.0", "semver>=2.8.1", "typing-extensions>=4.11; python_version < \"3.11\""]
to change

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per Justin this is polyfilled as a default in Python; once we upgrade codegen this will change. So OK for now.

Copy link

github-actions bot commented Oct 1, 2024

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

Copy link
Member

@mjeffryes mjeffryes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks correct for the 1.133.0 version of codegen used by bridged repos

Comment on lines -251 to -253
Requires: map[string]string{
"pulumi": ">=3.0.0,<4.0.0",
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: It shouldn't matter, but in some cases you're deleting the whole line like here, and in other cases you're leaving an empty map.

@t0yv0 t0yv0 merged commit 54f610d into master Oct 1, 2024
24 checks passed
@t0yv0 t0yv0 deleted the t0yv0/do-not-depend-on-specific-sdk branch October 1, 2024 21:01
@pulumi-bot
Copy link
Contributor

This PR has been shipped in release v5.53.5.

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.

5 participants