Don't include development assets in Python package
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 24.4k
- フォーク
- 2.3k
- 平均マージ
- 2日 7時間
- マージ済み PR(30日)
- 13
説明
Is your feature request related to a problem? Please describe.
The dash-renderer sdist on PyPI is quite big large (2.3M compressed, 10M uncompressed) compared to the actual required components. This is due to at least the following files that shouldn't be required:
dash_renderer.dev.js(3.9M)dash_renderer.dev.js.map(4.5M)dash_renderer.min.js.map(1.3M)
Describe the solution you'd like
Don't distribute files for development purposes in release artifacts. This would reduce the size of the package to 1/10 (200K compressed, 720K uncompressed).
Describe alternatives you've considered
As an alternative to not shipping the debug maps at all, you could also distribute them as separate -dbg packages. This would enable a user to get debug information but not having these files in all installations. This requires a lot more effort though.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Python パッケージ dash-renderer がリリースアーティファクトをどのように構築しているか、また dash_renderer.dev.js、dash_renderer.dev.js.map、dash_renderer.min.js.map がどこに含まれているかを確認します。開発用アセットを含まないパッケージを作成し、生成された sdist に必要なランタイムファイルが含まれ、サイズが大幅に小さくなっていることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, python
- 領域
- build-system, release
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100