Manifest generation for projects only using Python in pre-rendering should include Python

オープン
#408 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
cli

調査の方向性

まず、Python をプレレンダースクリプトでのみ使用するプロジェクトで rsconnect write-manifest quarto . --overwrite を再現し、その後 Quarto のマニフェスト生成パスを調べます。Python セルを含むプロジェクトと結果を比較します;完了の条件は、マニフェストに Python セクションと requirements.txt が含まれ、デプロイ時にプレレンダースクリプト用の環境がセットアップされることです。

索引モデルが issue の本文から書いたものです。

説明

I have a project in which I only use a Python script in pre-rendering, but not in any .qmd files. Generating a manifest through:

rsconnect write-manifest quarto . --overwrite

causes the "python" section to not appear, which prevents the requirements.txt from being included, and it seems no Python environment is set up when deploying. The pre-render scripts then fail because they can't import my dependencies.

As a workaround I just added an empty Python cell to one of my .qmd files.

It would be nice if the manifest would also include Python things when there are Python scripts used in pre-rendering.

主要言語
Python
スター
38
フォーク
28
平均マージ
1日 4時間
マージ済み PR(30日)
59

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

posit-dev/rsconnect-python のほかの issue

posit-dev/rsconnect-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。