Skip to content

fix: Make project PEP639 compatible#554

Merged
LecrisUT merged 2 commits intospglib:developfrom
LecrisUT:fix/python
Mar 2, 2025
Merged

fix: Make project PEP639 compatible#554
LecrisUT merged 2 commits intospglib:developfrom
LecrisUT:fix/python

Conversation

@LecrisUT
Copy link
Copy Markdown
Collaborator

@LecrisUT LecrisUT commented Feb 28, 2025

Basically it confirms to the SPDX license format

Reference: https://spdx.dev/learn/handling-license-info/

Closes #553
Closes #560
Closes #559

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.34%. Comparing base (402ef09) to head (b3408c8).
Report is 24 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #554   +/-   ##
========================================
  Coverage    74.34%   74.34%           
========================================
  Files           26       26           
  Lines         8069     8069           
  Branches      1696     1696           
========================================
  Hits          5999     5999           
  Misses        1561     1561           
  Partials       509      509           
Flag Coverage Δ
c_api 68.68% <ø> (ø)
fortran_api 50.70% <ø> (ø)
python_api 67.71% <ø> (ø)
unit_tests 11.67% <ø> (ø)

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.

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

- "All rights reserved" doe not apply to FOSS licenses
- Converted license to SPDX

Signed-off-by: Cristian Le <[email protected]>
@LecrisUT LecrisUT requested review from atztogo and lan496 February 28, 2025 09:34
@LecrisUT
Copy link
Copy Markdown
Collaborator Author

Important to note that I have removed the All rights reserved because that would mean the software is closed. BSD-3-clause license should instead look like this

Copy link
Copy Markdown
Collaborator

@atztogo atztogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@LecrisUT
Copy link
Copy Markdown
Collaborator Author

The CI should be unblocked tomorrow https://src.fedoraproject.org/rpms/python-scikit-build-core/pull-request/74

Copy link
Copy Markdown
Member

@lan496 lan496 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LecrisUT LecrisUT merged commit d6ba3e3 into spglib:develop Mar 2, 2025
44 of 60 checks passed
LecrisUT added a commit that referenced this pull request Mar 5, 2025
Without it `License-File` is missing in the python metadata, which is
needed for Fedora `%license`

Fixup for #554

Signed-off-by: Cristian Le <[email protected]>
@LecrisUT LecrisUT deleted the fix/python branch May 28, 2025 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants