Use hatch as build system instead of setuptools
This PR modernizes some packaging items and follows guidelines found in Scientific Python's guide. It resolves a number of issues found by repo-review: https://learn.scientific-python.org/development/guides/repo-review/
This PR:
- use hatch for package build
- remove bumpversion and use dynamic version with hatch
- removes setuptools and setup.py completely
- removes requirements files and uses standard pyproject.toml approach
- moves pytest config into pyproject.toml and updates items flagged by repo-review
Addresses #833 #844
To Do:
- [x] Update binder config in tox
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 91.13%. Comparing base (cb2eb37) to head (73aaa13).
:warning: Report is 24 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #848 +/- ##
==========================================
- Coverage 91.54% 91.13% -0.42%
==========================================
Files 17 17
Lines 1621 1635 +14
==========================================
+ Hits 1484 1490 +6
- Misses 137 145 +8
see 5 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Ξ = absolute <relative> (impact),ΓΈ = not affected,? = missing dataPowered by Codecov. Last update 8f26414...73aaa13. Read the comment docs.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@ofek If you have time to take a quick look at the hatch sections, I would appreciate it. Thanks :smile:
Thanks @rgbkrk. I will loop back to this late in the week.