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 合併指標
- (平均合併 3天 3小時) (30 天內合併 34 個 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)