posit-dev/publisher
Add schema support for newer Connect Python, Quarto, and R version matching specifiers
Open
#2,661 opened on Jun 4, 2025
enhancementgood first issue
Repository metrics
- Stars
- (14 stars)
- PR merge metrics
- (PR metrics pending)
Description
Description
Connect now supports version matching specifiers in the manifest.json However, Publisher does not appear to utilize data from an existing manifest.json if present. There does not appear to be a documented way to present this specific data in the existing Publisher deployment configuration.
This was discovered while attempting deployment of connect-extensions which have been heavily utilizing these new version specifiers.
- Publishers can set version specifiers for Quarto in the manifest.json under environment.quarto.requires (e.g., “>=1.2.0, <2.0.0”). If this field is set, it takes precedence over the Quarto.VersionMatching configuration setting (i.e., nearest, major-minor, and exact). (https://github.com/posit-dev/connect/issues/31234)
- Publishers can set version specifiers (e.g., “>=3.8, <4”) for both R and Python in the manifest.json under environment.r.requires and environment.python.requires, respectively. If these fields are set, they take precedence over the Connect version matching strategies (i.e., nearest, major-minor, and exact). (https://github.com/posit-dev/connect/issues/30062, #30063)