Skip to content

Commit 54c914e

Browse files
committed
Set pybind11 compatible with 3.0; bump version 2.2.0
1 parent 8238afb commit 54c914e

17 files changed

+51
-51
lines changed

.github/workflows/test-linux-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,23 @@ jobs:
3636
uses: actions/cache/restore@v4
3737
with:
3838
path: CASMcode_global/dist
39-
key: ${{ runner.os }}-libcasm-global-v2-1-0
39+
key: ${{ runner.os }}-libcasm-global-v2-2-0
4040

4141
### libcasm-composition ###
4242
- name: restore libcasm-composition cache
4343
id: cache-libcasm-composition-restore
4444
uses: actions/cache/restore@v4
4545
with:
4646
path: CASMcode_composition/dist
47-
key: ${{ runner.os }}-libcasm-composition-v2-1-0
47+
key: ${{ runner.os }}-libcasm-composition-v2-2-0
4848

4949
### libcasm-xtal ###
5050
- name: restore libcasm-xtal cache
5151
id: cache-libcasm-xtal-restore
5252
uses: actions/cache/restore@v4
5353
with:
5454
path: CASMcode_crystallography/dist
55-
key: ${{ runner.os }}-libcasm-xtal-v2-1-0
55+
key: ${{ runner.os }}-libcasm-xtal-v2-2-0
5656

5757
- name: Install CASM dependencies
5858
run: |

.github/workflows/test-linux-cxx-only.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,23 @@ jobs:
3636
uses: actions/cache/restore@v4
3737
with:
3838
path: CASMcode_global/dist
39-
key: ${{ runner.os }}-libcasm-global-v2-1-0
39+
key: ${{ runner.os }}-libcasm-global-v2-2-0
4040

4141
### libcasm-composition ###
4242
- name: restore libcasm-composition cache
4343
id: cache-libcasm-composition-restore
4444
uses: actions/cache/restore@v4
4545
with:
4646
path: CASMcode_composition/dist
47-
key: ${{ runner.os }}-libcasm-composition-v2-1-0
47+
key: ${{ runner.os }}-libcasm-composition-v2-2-0
4848

4949
### libcasm-xtal ###
5050
- name: restore libcasm-xtal cache
5151
id: cache-libcasm-xtal-restore
5252
uses: actions/cache/restore@v4
5353
with:
5454
path: CASMcode_crystallography/dist
55-
key: ${{ runner.os }}-libcasm-xtal-v2-1-0
55+
key: ${{ runner.os }}-libcasm-xtal-v2-2-0
5656

5757
- name: Install CASM dependencies
5858
run: |

.github/workflows/test-linux-dependencies.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ jobs:
2424
uses: actions/cache/restore@v4
2525
with:
2626
path: CASMcode_global/dist
27-
key: ${{ runner.os }}-libcasm-global-v2-1-0
27+
key: ${{ runner.os }}-libcasm-global-v2-2-0
2828

2929
- name: checkout libcasm-global
3030
if: steps.cache-libcasm-global-restore.outputs.cache-hit != 'true'
3131
uses: actions/checkout@v4
3232
with:
3333
repository: prisms-center/CASMcode_global
3434
path: CASMcode_global
35-
ref: v2.1.0
35+
ref: v2.2.0
3636

3737
- name: make global
3838
if: steps.cache-libcasm-global-restore.outputs.cache-hit != 'true'
@@ -58,15 +58,15 @@ jobs:
5858
uses: actions/cache/restore@v4
5959
with:
6060
path: CASMcode_composition/dist
61-
key: ${{ runner.os }}-libcasm-composition-v2-1-0
61+
key: ${{ runner.os }}-libcasm-composition-v2-2-0
6262

6363
- name: checkout libcasm-composition
6464
if: steps.cache-libcasm-composition-restore.outputs.cache-hit != 'true'
6565
uses: actions/checkout@v4
6666
with:
6767
repository: prisms-center/CASMcode_composition
6868
path: CASMcode_composition
69-
ref: v2.1.0
69+
ref: v2.2.0
7070

7171
- name: make composition
7272
if: steps.cache-libcasm-composition-restore.outputs.cache-hit != 'true'
@@ -91,15 +91,15 @@ jobs:
9191
uses: actions/cache/restore@v4
9292
with:
9393
path: CASMcode_crystallography/dist
94-
key: ${{ runner.os }}-libcasm-xtal-v2-1-0
94+
key: ${{ runner.os }}-libcasm-xtal-v2-2-0
9595

9696
- name: checkout libcasm-xtal
9797
if: steps.cache-libcasm-xtal-restore.outputs.cache-hit != 'true'
9898
uses: actions/checkout@v4
9999
with:
100100
repository: prisms-center/CASMcode_crystallography
101101
path: CASMcode_crystallography
102-
ref: v2.1.0
102+
ref: v2.2.0
103103

104104
- name: make xtal
105105
if: steps.cache-libcasm-xtal-restore.outputs.cache-hit != 'true'

.github/workflows/test-linux-pip-install-dependencies.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
with:
2828
repository: prisms-center/CASMcode_global
2929
path: CASMcode_global
30-
ref: v2.1.0
30+
ref: v2.2.0
3131

3232
- name: test libcasm-global
3333
shell: bash
3434
run: |
3535
cd CASMcode_global
36-
pip install libcasm-global==2.1.0
36+
pip install libcasm-global==2.2.0
3737
pip install -r test_requirements.txt
3838
python -m pytest -rsap python/tests
3939
@@ -43,14 +43,14 @@ jobs:
4343
with:
4444
repository: prisms-center/CASMcode_composition
4545
path: CASMcode_composition
46-
ref: v2.1.0
46+
ref: v2.2.0
4747

4848
- name: test libcasm-composition
4949
if: steps.cache-libcasm-composition-restore.outputs.cache-hit != 'true'
5050
shell: bash
5151
run: |
5252
cd CASMcode_composition
53-
pip install libcasm-composition==2.1.0
53+
pip install libcasm-composition==2.2.0
5454
pip install -r test_requirements.txt
5555
python -m pytest -rsap python/tests
5656
@@ -60,12 +60,12 @@ jobs:
6060
with:
6161
repository: prisms-center/CASMcode_crystallography
6262
path: CASMcode_crystallography
63-
ref: v2.1.0
63+
ref: v2.2.0
6464

6565
- name: test libcasm-xtal
6666
shell: bash
6767
run: |
6868
cd CASMcode_crystallography
69-
pip install libcasm-xtal==2.1.0
69+
pip install libcasm-xtal==2.2.0
7070
pip install -r test_requirements.txt
7171
python -m pytest -rsap python/tests

.github/workflows/test-linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,23 @@ jobs:
3636
uses: actions/cache/restore@v4
3737
with:
3838
path: CASMcode_global/dist
39-
key: ${{ runner.os }}-libcasm-global-v2-1-0
39+
key: ${{ runner.os }}-libcasm-global-v2-2-0
4040

4141
### libcasm-composition ###
4242
- name: restore libcasm-composition cache
4343
id: cache-libcasm-composition-restore
4444
uses: actions/cache/restore@v4
4545
with:
4646
path: CASMcode_composition/dist
47-
key: ${{ runner.os }}-libcasm-composition-v2-1-0
47+
key: ${{ runner.os }}-libcasm-composition-v2-2-0
4848

4949
### libcasm-xtal ###
5050
- name: restore libcasm-xtal cache
5151
id: cache-libcasm-xtal-restore
5252
uses: actions/cache/restore@v4
5353
with:
5454
path: CASMcode_crystallography/dist
55-
key: ${{ runner.os }}-libcasm-xtal-v2-1-0
55+
key: ${{ runner.os }}-libcasm-xtal-v2-2-0
5656

5757
- name: Install CASM dependencies
5858
run: |

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ All notable changes to `libcasm-monte` will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [2.2.0] - 2025-08-14
99

1010
### Changed
1111

12-
- Set pybind11~=2.8
12+
- Set pybind11~=3.0
1313

1414

1515
## [2.1.0] - 2025-08-07

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.20)
22
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")
33

4-
project(CASMcode_monte VERSION 2.1.0 LANGUAGES CXX)
4+
project(CASMcode_monte VERSION 2.2.0 LANGUAGES CXX)
55

66
# set CMAKE_INSTALL_X variables
77
include(GNUInstallDirs)

CMakeLists.txt.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.20)
22
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15" CACHE STRING "Minimum OS X deployment version")
33

4-
project(CASMcode_monte VERSION 2.1.0 LANGUAGES CXX)
4+
project(CASMcode_monte VERSION 2.2.0 LANGUAGES CXX)
55

66
# set CMAKE_INSTALL_X variables
77
include(GNUInstallDirs)

build_requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ setuptools>=42
33
scikit-build
44
cmake>=3.20
55
ninja
6-
pybind11~=2.8
6+
pybind11~=3.0
77
numpy
8-
libcasm-global>=2.1.0
9-
libcasm-xtal>=2.1.0
10-
libcasm-composition>=2.1.0
8+
libcasm-global>=2.2.0
9+
libcasm-xtal>=2.2.0
10+
libcasm-composition>=2.2.0

doc/doxygen_config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = "CASM_monte"
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 2.1.0
41+
PROJECT_NUMBER = 2.2.0
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

0 commit comments

Comments
 (0)