Exported requirements.txt contains spurious messages if lock file does not exist
まだ誰も着手していません。
評価
調査の方向性
poetry export -f requirements.txt コマンドの経路から始め、lock ファイルのない新しいプロジェクトを使って問題を再現します。エクスポート中に locking と依存関係解決のメッセージがどこに書き込まれるかを追跡します。生成された requirements.txt に status メッセージではなく requirements の出力だけが含まれていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
- Poetry version: 1.3.2
- Python version: 3.10.6
- OS version and name: Ubuntu 22.04.1
- pyproject.toml: just create it with
poetry new poetry-demo:
[tool.poetry]
name = "poetry-demo"
version = "0.1.0"
description = ""
authors = ["Patrick Decat"]
readme = "README.md"
packages = [{include = "poetry_demo"}]
[tool.poetry.dependencies]
python = "^3.10"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
- I am on the latest stable Poetry version, installed using a recommended method.
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have consulted the FAQ and blog for any relevant entries or release notes.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvvoption) and have included the output below.
Issue
When lock file does not exist, poetry export writes some messages to standard output:
# poetry --version
Poetry (version 1.3.2)
# poetry new poetry-demo
Created package poetry_demo in poetry-demo
# cd poetry-demo/
# poetry export -f requirements.txt > requirements.txt
The lock file does not exist. Locking.
Creating virtualenv poetry-demo in /home/patrick/workspaces/tests/poetry/poetry-demo/.venv
# cat requirements.txt
Updating dependencies
Resolving dependencies...
Writing lock file
Related:
- 主要言語
- Python
- スター
- 336
- フォーク
- 59
- 平均マージ
- 10分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python-poetry/poetry-plugin-export のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
-
Does not installオープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
python-poetry/poetry-plugin-export#341 · コメント 5 件 · リアクション 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
python-poetry/poetry-plugin-export#340 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 52/100
python-poetry/poetry-plugin-export の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/sagemaker-python-sdk#6554 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
huggingface/diffusers#15170 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] LLM conflict check ignores MNEMOSYNE_LLM_MAX_TOKENS, so reasoning models return empty repliesオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
mnemosyne-oss/mnemosyne#1325 ·
メンテナーはふだん 1 日以内に返信
-
enhancement meshtastic-2.8
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
pskillen/meshflow-api#459 ·