conda-forge packages
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- anaconda, python
- 領域
- build-system
調査の方向性
まず conda-forge の adding_pkgs ドキュメントを読み、次に DSS_Python の現在のパッケージングと、分離された DSS C-API のビルド設定を調べます。issue に記載されている DSS_Python の基本テストを実行します。完了の条件は、動作する conda-forge recipe があり、パッケージテストに合格し、一覧にあるプラットフォームのサポートに関する検討事項に対処できていることです。
索引モデルが issue の本文から書いたものです。
説明
Moving my comment below into a new ticket now that conda packages are available at https://anaconda.org/dss-extensions/dss_python
It's a good idea to revisit this later, providing a conda-forge recipe. Conda-forge dropped 32-bit packages a while ago, but providing DSS_Python and OpenDSSDirect.py on conda-forge is valuable. The 32-bit packages would still be available on PyPI (they're useful especially for testing).
For me, conda itself has been kind of a letdown the past few years. I imagined the commercial interest doesn't align well with it. The Anaconda.org repositories frequently have issues, reported both for DSS_Python (most people download it from PyPI anyway) and NILMTK (the recommended install method is conda due to the dependencies).
Conda-build, specifically, is really bad on Windows. Even if I can build normal/wheel packages easily on Windows, conda-build craps itself on the minimum unexpected thing that Anaconda didn't expect. There are many unresolved tickets with no useful feedback, some for multiple years.
Some third-party projects like Mamba (replaces the conda installation tool) and Boa (replaces conda-build) might help things.
To alleviate things and save my time, I'll investigate conda-forge tooling and settings since it should reduce the maintenance of conda-packages here. If successful, might be worth to officially submit the packages to the conda-forge repository. Conda-forge also supports ARM64 and (limited) PyPy, which the official conda repos don't.
Docs: https://conda-forge.org/docs/maintainer/adding_pkgs.html
Since we decoupled DSS C-API builds from DSS_Python a while ago, shouldn't be too hard. Before submitting the new packages to conda-forge, it's better to provide some basic tests in DSS_Python too.
About PyPy:
- https://github.com/conda-forge/conda-forge.github.io/issues/867
- https://conda-forge.org/docs/maintainer/knowledge_base.html#pypy-builds
EDIT: there is now (Feb 2024) whl2conda; not sure it that's acceptable for conda-forge, but it's an option if we want to distribute conda packages again
- 主要言語
- Python
- スター
- 78
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dss-extensions/DSS-Python のほかの issue
-
⚙️ backend 🔼 enhancement ecosystem
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
dss-extensions/DSS-Python#61 · コメント 1 件 ·
-
⚙️ backend
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
dss-extensions/DSS-Python#58 ·
-
⚙️ backend 📦 packaging
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
dss-extensions/DSS-Python#53 ·
-
⚙️ backend 📦 packaging
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
dss-extensions/DSS-Python#44 ·
dss-extensions/DSS-Python の issue をすべて見る
似ている issue
-
bug confirmed issue
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
open-webui/open-webui#30750 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100