Skip to content

Commit 7a8fbbe

Browse files
committed
REL: Release v0.8.0
1 parent 746420e commit 7a8fbbe

File tree

5 files changed

+28
-14
lines changed

5 files changed

+28
-14
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.8.0] - 2024-06-12
4+
5+
### Changes
6+
7+
* Adds support for Numpy v2
8+
* BREAKING Minimum Pybind11 version is 2.12.0
9+
310
## [0.7.0] - 2024-03-27
411

512
### Changes

CMakeLists.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.16)
22

33
set(CARMA_VERSION_MAJOR 0)
4-
set(CARMA_VERSION_MINOR 7)
4+
set(CARMA_VERSION_MINOR 8)
55
set(CARMA_VERSION_PATCH 0)
66
set(CARMA_VERSION_INFO
77
"${CARMA_VERSION_MAJOR}.${CARMA_VERSION_MINOR}.${CARMA_VERSION_PATCH}")
@@ -14,9 +14,9 @@ include(GNUInstallDirs)
1414

1515
set(CMAKE_MODULE_PATH_SAVED ${CMAKE_MODULE_PATH})
1616
list(INSERT CMAKE_MODULE_PATH 0 "${PROJECT_SOURCE_DIR}/cmake")
17-
# # #############################################################################
17+
# # # ############################################################################
1818
# SETTINGS #
19-
# # #############################################################################
19+
# # # ############################################################################
2020
option(CARMA_INSTALL_LIB "Install CARMA headers" OFF)
2121
set(CARMA_INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}/carma")
2222

@@ -43,9 +43,9 @@ configure_file(
4343
${PROJECT_SOURCE_DIR}/include/carma_bits/config.h.in
4444
${PROJECT_BINARY_DIR}/include/carma_bits/generated_config.h @ONLY)
4545

46-
# # #############################################################################
46+
# # # ############################################################################
4747
# TARGET #
48-
# # #############################################################################
48+
# # # ############################################################################
4949
add_library(carma INTERFACE)
5050
add_library(carma::carma ALIAS carma)
5151

@@ -151,9 +151,9 @@ if(CARMA_INSTALL_LIB)
151151
DESTINATION ${CARMA_INCLUDE_INSTALL_DIR}/carma_bits)
152152

153153
else()
154-
# # ###########################################################################
154+
# # # ##########################################################################
155155
# REQUIREMENTS #
156-
# # ###########################################################################
156+
# # # ##########################################################################
157157
find_package(
158158
Python3
159159
COMPONENTS Development NumPy
@@ -176,9 +176,9 @@ else()
176176
target_precompile_headers(carma INTERFACE
177177
${PROJECT_SOURCE_DIR}/include/carma_bits/cnalloc.h)
178178
endif()
179-
# # #############################################################################
179+
# # # ############################################################################
180180
# TEST TARGETS #
181-
# # #############################################################################
181+
# # # ############################################################################
182182

183183
if(CARMA_BUILD_TESTS OR CARMA_BUILD_EXAMPLES)
184184
set(CMAKE_CXX_STANDARD 14)

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,18 @@ CARMA provides a number of configurations that can be set in the `carma_config.c
7070

7171
## Requirements
7272

73-
CARMA >= v0.8 requires a compiler with support for C++14 and supports:
73+
Numpy v2.* is supported by CARMA >= v0.8.0 which requires a compiler with support for C++14 and supports:
7474

7575
* Python 3.8 -- 3.12
7676
* Numpy >= 1.14
77-
* Pybind11 >= v2.12.0
77+
* **Pybind11 >= v2.12.0**
78+
* Armadillo >= 10.5.2
79+
80+
CARMA <= v0.7 requires a compiler with support for C++14 and supports:
81+
82+
* Python 3.8 -- 3.12
83+
* **Numpy >= 1.14 < 2.0**
84+
* **Pybind11 >= v2.6.0 < v2.12.0**
7885
* Armadillo >= 10.5.2
7986

8087
CARMA makes use of Armadillo's `ARMA_ALIEN_MEM_ALLOC` and `ARMA_ALIEN_MEM_FREE` functionality introduced in version 10.5.2 to use Numpy's (de)allocator.

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
author = "R. Urlus"
2424

2525
# The full version, including alpha/beta/rc tags
26-
release = "0.7.0"
26+
release = "0.8.0"
2727

2828

2929
# -- General configuration ---------------------------------------------------

include/carma

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ typedef SSIZE_T ssize_t;
4141

4242
#ifndef CARMA_VERSION_MAJOR
4343
#define CARMA_VERSION_MAJOR 0
44-
#define CARMA_VERSION_MINOR 7
44+
#define CARMA_VERSION_MINOR 8
4545
#define CARMA_VERSION_PATCH 0
46-
#define CARMA_VERSION_NAME "0.7.0 HO"
46+
#define CARMA_VERSION_NAME "0.8.0 HO"
4747
#endif
4848

4949
namespace carma {

0 commit comments

Comments
 (0)