arrow-py / arrow

๐Ÿน Better dates & times for Python
https://arrow.readthedocs.io
Apache License 2.0
8.63k stars 669 forks source link

Migrate to pyproject.toml #1164

Closed jadchaar closed 9 months ago

jadchaar commented 9 months ago

Pull Request Checklist

Thank you for taking the time to improve Arrow! Before submitting your pull request, please check all appropriate boxes:

If you have any questions about your code changes or any of the points above, please submit your questions along with the pull request and we will try our best to help!

Description of Changes

Python standards are moving away from setup.py to pyproject.toml. This change is also required to adopt flit for building and uploading the module distribution to PyPI.

I also added a new GitHub actions workflow for releasing to PyPI automatically on tag pushes.

codecov[bot] commented 9 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (3a6cd95) 100.00% compared to head (ddf9196) 100.00%. Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1164 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 10 10 Lines 2326 2326 Branches 400 400 ========================================= Hits 2326 2326 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/arrow-py/arrow/pull/1164/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=arrow-py)

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