diff --git a/CHANGELOG.md b/CHANGELOG.md index aaab5b3..707cc9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,14 @@ All notable changes to `libcasm-xtal` will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] +## [2.0a10] - 2024-07-12 ### Changed - Clarified documentation for `libcasm.xtal.Lattice.is_equivalent_to` +- Wheels compiled with numpy>=2.0.0 +- Run github actions on push, pull_request, and weekly +- Use ruff NPY201 ## [2.0a9] - 2024-03-13 diff --git a/build_requirements.txt b/build_requirements.txt index 50998bb..7df1a6f 100644 --- a/build_requirements.txt +++ b/build_requirements.txt @@ -4,4 +4,4 @@ scikit-build cmake>=3.20 ninja pybind11>=2.6 -libcasm-global>=2.0.4 +libcasm-global>=2.0.5 diff --git a/pyproject.toml b/pyproject.toml index 515204e..c005ce7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,13 +6,13 @@ requires = [ "cmake>=3.20", "ninja", "pybind11>=2.6", - "libcasm-global>=2.0.4", + "libcasm-global>=2.0.5", ] build-backend = "setuptools.build_meta" [project] name = "libcasm-xtal" -version = "2.0a9" +version = "2.0a10" authors = [ { name="CASM developers", email="casm-developers@lists.engr.ucsb.edu" }, ] @@ -28,7 +28,7 @@ classifiers = [ "Topic :: Scientific/Engineering", ] dependencies = [ - "libcasm-global>=2.0.4", + "libcasm-global>=2.0.5", "numpy", ] @@ -41,13 +41,13 @@ source-dir = "doc" build-dir = "doc/build" all_files = 1 -[tool.ruff] -select = ["E", "F", "I"] +[tool.ruff.lint] +select = ["NPY201", "E", "F", "I"] -[tool.ruff.per-file-ignores] +[tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"] -[tool.ruff.isort] +[tool.ruff.lint.isort] known-first-party = ["libcasm", "casm"] [tool.cibuildwheel] @@ -57,7 +57,7 @@ build = "cp39-* cp310-* cp311-* cp312-*" skip = "pp*" # Need libcasm-global at wheel repair stage -before-build = "pip install libcasm-global>=2.0.4" +before-build = "pip install libcasm-global>=2.0.5" # Testing test-requires = "pytest pytest-datadir" diff --git a/python/doc/conf.py b/python/doc/conf.py index 702b4a0..b17a198 100644 --- a/python/doc/conf.py +++ b/python/doc/conf.py @@ -3,7 +3,7 @@ # -- package specific configuration -- project = "libcasm-xtal" version = "2.0" # The short X.Y version. -release = "2.0a9" # The full version, including alpha/beta/rc tags. +release = "2.0a10" # The full version, including alpha/beta/rc tags. project_desc = "CASM Crystallography" logo_text = "libcasm-xtal" github_url = "https://github.com/prisms-center/CASMcode_crystallography/" diff --git a/python/pyproject.toml b/python/pyproject.toml index faf36ec..796ed8d 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -4,6 +4,6 @@ requires = [ "setuptools", "wheel", "pybind11>=2.8.0", - "libcasm-global>=2.0.4", + "libcasm-global>=2.0.5", ] build-backend = "setuptools.build_meta" diff --git a/python/setup.py b/python/setup.py index e6be42e..72c097f 100644 --- a/python/setup.py +++ b/python/setup.py @@ -1,6 +1,6 @@ import os -__version__ = "2.0a9" +__version__ = "2.0a10" # Available at setup time due to pyproject.toml from pybind11.setup_helpers import Pybind11Extension, build_ext @@ -71,7 +71,7 @@ name="libcasm-xtal", version=__version__, packages=["libcasm", "libcasm.xtal"], - install_requires=["pybind11", "libcasm-global>=2.0.4"], + install_requires=["pybind11", "libcasm-global>=2.0.5"], ext_modules=ext_modules, cmdclass={"build_ext": build_ext}, ) diff --git a/setup.py b/setup.py index e7d518d..b00f531 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="libcasm-xtal", - version="2.0a9", + version="2.0a10", packages=["libcasm", "libcasm.xtal"], package_dir={"": "python"}, cmake_install_dir="python/libcasm",