Project should use modern python packaging techniques

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

まず setup.py とリポジトリに既存するパッケージングおよび lint 設定を監査し、メタデータ、ビルド要件、現在のコマンドを特定します。明示されている最低限の完了条件は、既存の動作を維持したまま、PEP 517、PEP 518、PEP 621 を使用して pyproject.toml に移行することです。Ruff、MyPy、パッケージマネージャーは、確認が必要な任意のスコープとして残ります。

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

説明

Hello 👋🏻

I notice this repo still uses setup.py and has some potentially outdated config for modern python packaging. As far as I can tell it should be pretty easy to port to pyproject.toml using PEP621 and using the new PEP517 and PEP518 standards. There are no C extensions to build for instance.

In addition, the project might benefit from some of the more modern python toolset i.e.:

  • Ruff for linting over pylint
  • Introducing gradual typing with e.g. MyPy
  • A modern package manager such as pdm or poetry

I'd be happy to submit a PR implementing some or all of the above depending on what you do/don't want to be included. I'd suggest the move to storing metadata in pyproject.toml and using the new packaging/build techniques as a minimum

Thanks!

主要言語
Python
スター
336
フォーク
173
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

aws-cloudformation/cloudformation-cli のほかの issue

aws-cloudformation/cloudformation-cli の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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