Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Switch to importlib.resources #308

Merged
merged 3 commits into from
Feb 16, 2024
Merged

Conversation

LecrisUT
Copy link
Collaborator

@LecrisUT LecrisUT commented Jun 21, 2023

In principle this should allow us to use pip install -e . and be able to debug more easily. But this requires upstream scikit-build-core to add an implementation:

Depends on: #335

@LecrisUT LecrisUT marked this pull request as draft June 21, 2023 13:54
@LecrisUT LecrisUT self-assigned this Nov 13, 2023
@LecrisUT LecrisUT added the enhancement Significant ehancements label Nov 13, 2023
@LecrisUT LecrisUT changed the title [WIP] Switch to importlib.resources [WIP] feat: Switch to importlib.resources Nov 13, 2023
@LecrisUT LecrisUT force-pushed the importlib branch 2 times, most recently from 9acd14d to 9a5e44b Compare November 13, 2023 15:39
@LecrisUT LecrisUT changed the title [WIP] feat: Switch to importlib.resources feat: Switch to importlib.resources Nov 13, 2023
@LecrisUT LecrisUT force-pushed the importlib branch 2 times, most recently from 9d1cc7d to 0052f64 Compare November 14, 2023 09:53
@LecrisUT LecrisUT marked this pull request as ready for review November 14, 2023 09:58
@LecrisUT LecrisUT requested a review from lan496 November 14, 2023 09:58
@LecrisUT LecrisUT assigned lan496 and unassigned LecrisUT Nov 14, 2023
@LecrisUT
Copy link
Collaborator Author

LecrisUT commented Nov 14, 2023

This one is more-or-less ready. Just checking how codecov is reporting if we can simplify things

Scratch that it is still failing in pytest. Will investigate

@LecrisUT LecrisUT assigned LecrisUT and unassigned lan496 Nov 14, 2023
@lan496 lan496 marked this pull request as draft January 7, 2024 04:49
@LecrisUT LecrisUT added this to the 2.4 milestone Jan 25, 2024
Copy link

codecov bot commented Jan 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a8d3a73) 83.59% compared to head (a756bb8) 83.59%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #308   +/-   ##
========================================
  Coverage    83.59%   83.59%           
========================================
  Files           24       24           
  Lines         8119     8119           
  Branches      1694     1687    -7     
========================================
  Hits          6787     6787           
  Misses        1332     1332           
Flag Coverage Δ
c_api 74.44% <ø> (ø)
fortran_api 56.18% <ø> (ø)
python_api 79.74% <ø> (ø)
unit_tests 13.52% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@lan496
Copy link
Member

lan496 commented Feb 11, 2024

Can you rebase develop?

OK, let's follow the order: #397 -> #335 -> #308
#335 (comment)

@LecrisUT
Copy link
Collaborator Author

Ok, I've added the comments for the changelog for this trio and all is ready for final review

@LecrisUT LecrisUT force-pushed the importlib branch 2 times, most recently from d0ac510 to fe76ba5 Compare February 13, 2024 09:32
@lan496
Copy link
Member

lan496 commented Feb 15, 2024

@LecrisUT Can you resolve conflicts?

@LecrisUT LecrisUT mentioned this pull request Feb 15, 2024
5 tasks
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
@LecrisUT
Copy link
Collaborator Author

Ok, resolved, I'll let you check one more time the changes.

@lan496 lan496 merged commit 8da9279 into spglib:develop Feb 16, 2024
42 of 46 checks passed
@LecrisUT LecrisUT deleted the importlib branch February 29, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Significant ehancements
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants