IFermi
IFermi copied to clipboard
Bump spglib from 2.3.1 to 2.4.0
Bumps spglib from 2.3.1 to 2.4.0.
Release notes
Sourced from spglib's releases.
Spglib v2.4.0
What's Changed
🎉 New Features
- feat: Refactor CMake project by
@LecrisUTin spglib/spglib#397- feat: Switch to
importlib.resourcesby@LecrisUTin spglib/spglib#308- feat: Mark C functions as deprecated by
@LecrisUTin spglib/spglib#435🐞 Bug fixes
- fix: Python installation when running outside skbuild by
@LecrisUTin spglib/spglib#335- feat: Explicitly mark exported API by
@LecrisUTin spglib/spglib#437Other changes
- ci: Update codecov to v4 by
@LecrisUTin spglib/spglib#425- ci: Build and inspect the sdist package by
@LecrisUTin spglib/spglib#402- Raise TypeError for invalid cell by
@lan496in spglib/spglib#420- fix: windows export path by
@LecrisUTin spglib/spglib#447- Update top page of web site and COPYING by
@atztogoin spglib/spglib#449- fixup! Update top page of web site and COPYING (#449) by
@LecrisUTin spglib/spglib#452- chore: CMake: tabs -> spaces by
@LecrisUTin spglib/spglib#448- chore: Make measure_rigid_rotation static by
@atztogoin spglib/spglib#453- style: Change a few styles by
@LecrisUTin spglib/spglib#438- fix: Conventions by
@LecrisUTin spglib/spglib#436- ci: Test CMake version by
@LecrisUTin spglib/spglib#431- fix: Debug and warning messages by
@LecrisUTin spglib/spglib#457- ci: Fix CI builders by
@LecrisUTin spglib/spglib#459- Release v2.4.0 by
@lan496in spglib/spglib#467Full Changelog: https://github.com/spglib/spglib/compare/v2.3.1...v2.4.0
Changelog
Sourced from spglib's changelog.
v2.4.0 (11 Apr. 2024)
Main Changes
- Separated the CMake sub-projects to be buildable as standalone projects with pre-installed Spglib C library: test, python, fortran
- Bumped minimum CMake version to 3.20 (Note: previously the project was not tested for the minimum CMake version)
- Migrated the example and package test to the ctest test-suite
- Properly mark all deprecated functions where possible
- Fix excessive debug/warning message prints
- Debug and warning messages are controlled by:
- Environment variable
SPGLIB_DEBUG: Define any value to enable printing of debug messages- Environment variable
SPGLIB_WARNING: Set toOFFto disable warning printing- CMake option
SPGLIB_DEBUG,SPGLIB_WARNINGS: Disable the compilation of these messages all-together- Expanded Python distribution to more MacOS variants, including MacOS-14 (M1)
C Interface
- Mark deprecated api with
[[deprecated]]and pre-C23 equivalents- Explicitly mark public API for export
Python API
- Fixed the Python module build and installation in the pure CMake environment (without scikit-build-core)
- Use importlib to search and load the bundled spglib C library
- Support editable installs
- [#420] Raise
TypeErrorwhen a givencellis invalid- [#420] Add type annotation for
cellCI
Commits
e6bdd0bRelease v2.4.0 (#467)ff1ea66Release v2.4.03785a2dci: Fix CI builders (#459)c726da4Remove test-skip544989cDocument changesda79518chore: Update ci-build-wheeleaf7993Fix importing static library on windows34d43abResolve Windows not allowing variable length arraybdec9e8Dropmacos-12from CId7e124aEnable macos and windows builders- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)