Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch rye build-system backend from hatchling to pdm #100

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

sksat
Copy link
Member

@sksat sksat commented Sep 22, 2023

概要

pytest で使っている rye の build-backendhatchling から pdm に切り替えます

Issue / PR

詳細

rye のデフォルトで指定される hatchling では相対パスでの dependency ができなくて困るのと,特に理由があって hatchling を使っていたわけではない(単にデフォルトの rye init で出てくるだけ)なので,切り替えて問題ないはずです.

これにより,#99 のような c2a-core リポジトリに内包する Python ライブラリを rye から相対パスで参照できるようになります.ただし,これでも lockfile には絶対パスが焼かれてしまいます.が,これは一旦どうしようもないので許容することとします(これの後に別方向の解決を試みます).

検証結果

example user の src/src_user/Testrye sync できればよし

影響範囲

example user の pytest

@sksat sksat added priority::high priorityg high tools labels Sep 22, 2023
@sksat sksat self-assigned this Sep 22, 2023
@sksat sksat changed the title switch rye build-system backend from hatchling to pdm Switch rye build-system backend from hatchling to pdm Sep 22, 2023
@meltingrabbit
Copy link
Member

@sksat これ,私レビュー不能だな.
心配ならば誰か他をアサインするし,いける!,と確信あるならそのままマージしちゃってください

@sksat
Copy link
Member Author

sksat commented Sep 25, 2023

assign するとして現状だと僕にしかならないと思います

@sksat sksat merged commit f6af5b4 into develop Sep 25, 2023
33 checks passed
@sksat sksat deleted the feature/switch-rye-build-backend-to-pdm branch September 25, 2023 03:29
@sksat sksat mentioned this pull request Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants