posit-dev/publisher
Add schema support for newer Connect Python, Quarto, and R version matching specifiers
开放
#2,661 创建于 2025年6月4日
enhancementgood first issue
仓库指标
- 星标
- (14 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
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)