assume-framework / assume

ASSUME - Agent-based Simulation for Studying and Understanding Market Evolution
https://assume.readthedocs.io
20 stars 5 forks source link

Update pyproject to use setuptools instead of Poetry #370

Closed maurerle closed 2 weeks ago

maurerle commented 2 weeks ago

Poetry does not correspond to PEP-621, so we are using setuptools now as recommended in https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/

The caret (^) version is not PEP508 compatible, therefore we are using >= now where possible, without any turnbacks.

This allows an easier definition of the pip install assume-framework[all] package and does not rely on poetry with its custom config options and installation anymore.

To push to pypi, use:

rm -r dist
python -m build .
twine upload --repository pypi dist/*
codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.99%. Comparing base (1c7303a) to head (28c48fe).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #370 +/- ## ========================================== - Coverage 78.00% 77.99% -0.01% ========================================== Files 43 43 Lines 5129 5127 -2 ========================================== - Hits 4001 3999 -2 Misses 1128 1128 ``` | [Flag](https://app.codecov.io/gh/assume-framework/assume/pull/370/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | Coverage Δ | | |---|---|---| | [pytest](https://app.codecov.io/gh/assume-framework/assume/pull/370/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework) | `77.99% <100.00%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=assume-framework#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.