python-poetry / python-poetry/install.python-poetry.org

Support more ways of specifying the installation version

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

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

主要言語
Python
スター
255
フォーク
65
平均マージ
2時間 48分
マージ済み PR(30日)
1

説明

Currently, the way script handles versioning is simply by passing the version over to pip as poetry=={version}. This is fine, however it would be nice if we could set the version to something like ^1.3.0, or similar.

This probably shouldn't be too hard to handle, as there's already a regex checking for semver compatibility, and these are just some set of additional characters that could optionally be there. If this specifier isn't there, the script can just use the current approach of ==.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

インストーラースクリプトに既存する semver 検証用 regex と、バージョンを pip に渡すコードを確認してください。現在の poetry=={version} 引数がどのように組み立てられているかを確認し、^1.3.0 のようなサポート対象の指定子が意図した形式を維持する一方で、単純なバージョンは現在の動作を維持することを検証してください。受け入れられるバージョン形式がテストでカバーされていれば完了です。

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

評価

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

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

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