papermill icon indicating copy to clipboard operation
papermill copied to clipboard

Use hatch as build system instead of setuptools

Open willingc opened this issue 2 months ago β€’ 3 comments

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

willingc avatar Nov 14 '25 20:11 willingc

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

Impacted file tree graph

@@            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 data Powered 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.

codecov[bot] avatar Nov 14 '25 20:11 codecov[bot]

@ofek If you have time to take a quick look at the hatch sections, I would appreciate it. Thanks :smile:

willingc avatar Nov 16 '25 02:11 willingc

Thanks @rgbkrk. I will loop back to this late in the week.

willingc avatar Nov 18 '25 15:11 willingc