posit-dev/publisher

Add schema support for newer Connect Python, Quarto, and R version matching specifiers

Aberta

#2.661 aberto em 4 de jun. de 2025

 (3 comentários) (0 reação) (0 responsável)TypeScript (6 forks)auto 404
enhancementgood first issue

Métricas do repositório

Stars
 (14 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Posit Connect 2025.05.0

  • 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)

Posit Connect 2025.03.0

  • 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)

Guia do colaborador