Skip to content

Use hatchling as build system#65

Merged
liamhuber merged 14 commits intomainfrom
use_hatch
Oct 14, 2025
Merged

Use hatchling as build system#65
liamhuber merged 14 commits intomainfrom
use_hatch

Conversation

@liamhuber
Copy link
Member

No description provided.

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>
@github-actions
Copy link

github-actions bot commented Oct 2, 2025

Binder 👈 Launch a binder notebook on branch pyiron/pyiron_module_template/use_hatch

@codecov
Copy link

codecov bot commented Oct 2, 2025

Codecov Report

❌ Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.00%. Comparing base (dafadb5) to head (776e16f).
⚠️ Report is 15 commits behind head on main.

Files with missing lines Patch % Lines
pyiron_module_template/__init__.py 60.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##              main      #65       +/-   ##
============================================
- Coverage   100.00%   60.00%   -40.00%     
============================================
  Files            1        1               
  Lines            2        5        +3     
============================================
+ Hits             2        3        +1     
- Misses           0        2        +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>
I'm getting a somewhat opaque error building the docs:
raise CalledProcessError(retcode, process.args,
                                 output=stdout, stderr=stderr)
    subprocess.CalledProcessError: Command 'python -c 'import versioneer; print(versioneer.get_version())'' returned non-zero exit status 1.

However, when I compare to bagofholding -- which already uses hatch and builds its docs fine -- I can see that this line has been removed from the .readthedocs.yml config. So for now let's be very practical and just try synchronizing with what's already working.

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>
Sphinx was just configured to wrongly use versioneer; reference the module version directly.

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>
@liamhuber liamhuber requested a review from niklassiemer October 2, 2025 19:01
liamhuber and others added 9 commits October 3, 2025 07:22
in perpetuity, but using a storage list instead of a deletion list

Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>
[nit] Keep binder dir clean
# Conflicts:
#	.binder/environment.yml
#	.ci_support/environment.yml
#	docs/environment.yml
Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>
Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>
Signed-off-by: liamhuber <liamhuber@greyhavensolutions.com>
@liamhuber liamhuber merged commit cc388df into main Oct 14, 2025
18 of 20 checks passed
@liamhuber liamhuber deleted the use_hatch branch October 14, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants