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

How can I pass extra settings to manifest.json? #2510

Open
nealrichardson opened this issue Jan 3, 2025 · 1 comment
Open

How can I pass extra settings to manifest.json? #2510

nealrichardson opened this issue Jan 3, 2025 · 1 comment
Labels
refine Needs further refinement.

Comments

@nealrichardson
Copy link

The latest Connect release allows you to opt-in to using uv to install packages on Connect by adding an entry to the manifest.json. Is there a way I can specify that in the publisher TOML such that it will pass through to the manifest (which I assume is being written on the fly?)

Related question: what happens if I generate a manifest with rsconnect-python and then use Publisher to publish?

@dotNomad
Copy link
Collaborator

dotNomad commented Jan 9, 2025

Is there a way I can specify that in the publisher TOML such that it will pass through to the manifest (which I assume is being written on the fly?)

You are correct that the manifest gets written on the fly when deploying. There isn't a way right now to write something in the config that gets passed plainly to the generated manifest without changes to the code.

Related question: what happens if I generate a manifest with rsconnect-python and then use Publisher to publish?

Publisher always uses the manifest it writes from the selected deployment / configuration combo, and does not use already created manifests.

For the new allow_uv attribute in the Python Package Manager section, in the current state of Publisher, we would have to add allow_uv as a configuration option and understand how to use it in our manifest generation

func NewManifestFromConfig(cfg *config.Config) *Manifest {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refine Needs further refinement.
Projects
None yet
Development

No branches or pull requests

2 participants