Hello we are making some progresses on pulumi-xeno...
# package-authoring
b
Hello we are making some progresses on pulumi-xenorchestra. Actually I face an error at publishing_sdk for python. The file
pyproject.toml
is missing. CI main error here: https://github.com/vatesfr/pulumi-xenorchestra/actions/runs/13334612182/job/37251492562#step:8:115 I am surprised that this file is missing. Shouldn't it be generated by the CI or manually by
make generate_python
?
f
Ok, I found it. In ressources.go you need to explicitly request the generation of the pyproject.toml
Copy code
Python: &tfbridge.PythonInfo{
			// List any Python dependencies and their version ranges
			Requires: map[string]string{
				"pulumi": ">=3.0.0,<4.0.0",
			},
			PyProject: struct {
				Enabled bool
			}{
				Enabled: true, // Enable pyproject.toml file generation
			},
		},