Skip to content

Commit df7bd7e

Browse files
committed
bump version 2.0.0
1 parent 88cd2c0 commit df7bd7e

25 files changed

Lines changed: 110 additions & 75 deletions

.github/workflows/build_wheels.yml

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88

99
jobs:
1010
build_wheels_linux_x86_64:
11-
name: Build x86_64 wheels on ubuntu-22.04
12-
runs-on: ubuntu-22.04
11+
name: Build x86_64 wheels on ubuntu-24.04
12+
runs-on: ubuntu-24.04
1313

1414
steps:
1515
- uses: actions/checkout@v4
@@ -21,7 +21,24 @@ jobs:
2121

2222
- uses: actions/upload-artifact@v4
2323
with:
24-
name: dist_linux
24+
name: dist_linux_x86_64
25+
path: ./wheelhouse/*.whl
26+
27+
build_wheels_linux_aarch64:
28+
name: Build aarch64 wheels on ubuntu-24.04
29+
runs-on: ubuntu-24.04-arm
30+
31+
steps:
32+
- uses: actions/checkout@v4
33+
34+
- name: Build wheels
35+
uses: pypa/cibuildwheel@v2.23.3
36+
env:
37+
CIBW_ARCHS_LINUX: aarch64
38+
39+
- uses: actions/upload-artifact@v4
40+
with:
41+
name: dist_linux_aarch64
2542
path: ./wheelhouse/*.whl
2643

2744
build_wheels_macos13_x86_64:
@@ -41,9 +58,9 @@ jobs:
4158
name: dist_macos13_x86_64
4259
path: ./wheelhouse/*.whl
4360

44-
build_wheels_macos14_arm64:
45-
name: Build arm64 wheels on macos-14
46-
runs-on: macos-14
61+
build_wheels_macos15_arm64:
62+
name: Build arm64 wheels on macos-15
63+
runs-on: macos-15
4764

4865
steps:
4966
- uses: actions/checkout@v4
@@ -55,7 +72,7 @@ jobs:
5572

5673
- uses: actions/upload-artifact@v4
5774
with:
58-
name: dist_macos14_arm64
75+
name: dist_macos15_arm64
5976
path: ./wheelhouse/*.whl
6077

6178
build_sdist:
@@ -66,13 +83,14 @@ jobs:
6683
- uses: actions/checkout@v4
6784
- uses: actions/setup-python@v5
6885
with:
69-
python-version: '3.11'
86+
python-version: '3.13'
7087

7188
- name: Set up requirements and configuration variables
7289
run: |
7390
sudo apt-get update
7491
sudo apt-get install build-essential cmake
7592
pip install --upgrade pip wheel build
93+
git submodule update --init --recursive
7694
7795
- name: make
7896
shell: bash

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.13'
2525

2626
- name: Set up requirements & configuration variables
2727
run: |
@@ -36,31 +36,31 @@ jobs:
3636
uses: actions/cache/restore@v4
3737
with:
3838
path: CASMcode_global/dist
39-
key: ${{ runner.os }}-libcasm-global-v2-0-5
39+
key: ${{ runner.os }}-libcasm-global-v2-0-6
4040

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

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

5757
### libcasm-clexulator ###
5858
- name: restore libcasm-clexulator cache
5959
id: cache-libcasm-clexulator-restore
6060
uses: actions/cache/restore@v4
6161
with:
6262
path: CASMcode_clexulator/dist
63-
key: ${{ runner.os }}-libcasm-clexulator-v2-0a5
63+
key: ${{ runner.os }}-libcasm-clexulator-v2-0-0
6464

6565
- name: Install CASM dependencies
6666
run: |

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.13'
2525

2626
- name: Set up requirements & configuration variables
2727
run: |
@@ -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-0-5
39+
key: ${{ runner.os }}-libcasm-global-v2-0-6
4040

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

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

5757
- name: Install CASM dependencies
5858
run: |

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
steps:
1111
- uses: actions/setup-python@v5
1212
with:
13-
python-version: '3.11'
13+
python-version: '3.13'
1414

1515
- name: Set up requirements & configuration variables
1616
run: |
@@ -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-0-5
27+
key: ${{ runner.os }}-libcasm-global-v2-0-6
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.0.5
35+
ref: v2.0.6
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_crystallography/dist
61-
key: ${{ runner.os }}-libcasm-xtal-v2-0a12
61+
key: ${{ runner.os }}-libcasm-xtal-v2-0-0
6262

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

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

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

104104
- name: make mapping
105105
if: steps.cache-libcasm-mapping-restore.outputs.cache-hit != 'true'
@@ -124,15 +124,15 @@ jobs:
124124
uses: actions/cache/restore@v4
125125
with:
126126
path: CASMcode_clexulator/dist
127-
key: ${{ runner.os }}-libcasm-clexulator-v2-0a5
127+
key: ${{ runner.os }}-libcasm-clexulator-v2-0-0
128128

129129
- name: checkout libcasm-clexulator
130130
if: steps.cache-libcasm-clexulator-restore.outputs.cache-hit != 'true'
131131
uses: actions/checkout@v4
132132
with:
133133
repository: prisms-center/CASMcode_clexulator
134134
path: CASMcode_clexulator
135-
ref: v2.0a5
135+
ref: v2.0.0
136136

137137
- name: make clexulator
138138
if: steps.cache-libcasm-clexulator-restore.outputs.cache-hit != 'true'

.github/workflows/test-linux.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.11'
24+
python-version: '3.13'
2525

2626
- name: Set up requirements & configuration variables
2727
run: |
@@ -36,31 +36,31 @@ jobs:
3636
uses: actions/cache/restore@v4
3737
with:
3838
path: CASMcode_global/dist
39-
key: ${{ runner.os }}-libcasm-global-v2-0-5
39+
key: ${{ runner.os }}-libcasm-global-v2-0-6
4040

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

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

5757
### libcasm-clexulator ###
5858
- name: restore libcasm-clexulator cache
5959
id: cache-libcasm-clexulator-restore
6060
uses: actions/cache/restore@v4
6161
with:
6262
path: CASMcode_clexulator/dist
63-
key: ${{ runner.os }}-libcasm-clexulator-v2-0a5
63+
key: ${{ runner.os }}-libcasm-clexulator-v2-0-0
6464

6565
- name: Install CASM dependencies
6666
run: |

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-python@v5
1616
with:
17-
python-version: '3.11'
17+
python-version: '3.13'
1818

1919
- name: Set up requirements & configuration variables
2020
run: |

.github/workflows/test-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-python@v5
1616
with:
17-
python-version: '3.11'
17+
python-version: '3.13'
1818

1919
- name: Set up requirements & configuration variables
2020
run: |

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ All notable changes to `libcasm-configuration` 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+
## [2.0.0] - 2025-05-03
9+
10+
### Changed
11+
12+
- Build for Python 3.13
13+
- Restrict requires-python to ">=3.9,<3.14"
14+
- Run CI tests using Python 3.13
15+
- Build MacOS arm64 wheels using MacOS 15
16+
- Build Linux wheels using Ubuntu 24.04
17+
18+
819
## [2.0a8] - 2025-02-10
920

1021
### Fixed

build_requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ scikit-build
44
cmake>=3.20
55
ninja
66
pybind11>=2.6
7-
libcasm-global>=2.0.5
8-
libcasm-xtal>=2.0a12
9-
libcasm-clexulator>=2.0a5
7+
libcasm-global>=2.0.6
8+
libcasm-xtal>=2.0.0
9+
libcasm-clexulator>=2.0.0

pyproject.toml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,32 @@ requires = [
66
"cmake>=3.20",
77
"ninja",
88
"pybind11>=2.6",
9-
"libcasm-global>=2.0.5",
10-
"libcasm-xtal>=2.0a12",
11-
"libcasm-clexulator>=2.0a5",
9+
"libcasm-global>=2.0.6",
10+
"libcasm-xtal>=2.0.0",
11+
"libcasm-clexulator>=2.0.0",
1212
]
1313
build-backend = "setuptools.build_meta"
1414

1515
[project]
1616
name = "libcasm-configuration"
17-
version = "2.0a8"
17+
version = "2.0.0"
1818
authors = [
1919
{ name="CASM developers", email="casm-developers@lists.engr.ucsb.edu" },
2020
]
2121
description = "CASM configuration comparison and enumeration"
2222
readme = "README.md"
23-
requires-python = ">=3.9"
24-
license = {text = "LGPL2.1+"}
23+
requires-python = ">=3.9,<3.14"
24+
license = "LGPL-2.1-or-later"
2525
classifiers = [
26-
"Development Status :: 3 - Alpha",
26+
"Development Status :: 5 - Production/Stable",
2727
"Programming Language :: Python :: 3",
2828
"Programming Language :: C++",
29-
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
3029
"Topic :: Scientific/Engineering",
3130
]
3231
dependencies = [
33-
"libcasm-global>=2.0.5",
34-
"libcasm-xtal>=2.0a12",
35-
"libcasm-clexulator>=2.0a5",
32+
"libcasm-global>=2.0.6",
33+
"libcasm-xtal>=2.0.0",
34+
"libcasm-clexulator>=2.0.0",
3635
"numpy",
3736
"spglib",
3837
]
@@ -53,16 +52,16 @@ known-first-party = ["libcasm", "casm"]
5352

5453

5554
[tool.cibuildwheel]
56-
# Build for python3.9, 3.10, 3.11, 3.12
57-
build = "cp39-* cp310-* cp311-* cp312-*"
55+
# Build for python3.9, 3.10, 3.11, 3.12, 3.13
56+
build = "cp39-* cp310-* cp311-* cp312-* cp313-*"
5857
# Build for cpython only
5958
skip = "pp*"
6059

6160
# Need libcasm dependencies at wheel repair stage
6261
before-build = "pip install -r build_requirements.txt"
6362

6463
# Testing
65-
test-requires = "pytest pytest-datadir sortedcontainers libcasm-mapping>=2.0a4"
64+
test-requires = "pytest pytest-datadir sortedcontainers libcasm-mapping>=2.0.0"
6665
test-command = "pytest -rsap {project}/python/tests"
6766

6867
[tool.cibuildwheel.macos]

0 commit comments

Comments
 (0)