adieyal / dynamicprompts

Templating language for generating prompts for text to image generators such as Stable Diffusion
MIT License
118 stars 20 forks source link

Drop Poetry in favor of Hatch #86

Closed akx closed 1 year ago

akx commented 1 year ago

This PR switches the packaging backend to Hatch. I think Hatch is the better, simpler option for libraries, since one doesn't actually have much use for a lockfile anyway in one.

The publish procedure changes from poetry publish to hatch publish, approximately. 😁

Additionally,

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 30.76% and project coverage change: -0.32 :warning:

Comparison is base (c810884) 98.13% compared to head (29a86e6) 97.81%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #86 +/- ## ========================================== - Coverage 98.13% 97.81% -0.32% ========================================== Files 70 70 Lines 2838 2843 +5 ========================================== - Hits 2785 2781 -4 - Misses 53 62 +9 ``` | [Impacted Files](https://app.codecov.io/gh/adieyal/dynamicprompts/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adi+Eyal) | Coverage Ξ” | | |---|---|---| | [src/dynamicprompts/generators/feelinglucky.py](https://app.codecov.io/gh/adieyal/dynamicprompts/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adi+Eyal#diff-c3JjL2R5bmFtaWNwcm9tcHRzL2dlbmVyYXRvcnMvZmVlbGluZ2x1Y2t5LnB5) | `64.70% <18.18%> (-24.95%)` | :arrow_down: | | [tests/generators/test\_feelinglucky.py](https://app.codecov.io/gh/adieyal/dynamicprompts/pull/86?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adi+Eyal#diff-dGVzdHMvZ2VuZXJhdG9ycy90ZXN0X2ZlZWxpbmdsdWNreS5weQ==) | `100.00% <100.00%> (ΓΈ)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.