File tree 3 files changed +9
-7
lines changed
3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 9
9
10
10
#pragma once
11
11
12
- #define PYBIND11_VERSION_MAJOR 2
13
- #define PYBIND11_VERSION_MINOR 14
12
+ #define PYBIND11_VERSION_MAJOR 3
13
+ #define PYBIND11_VERSION_MINOR 0
14
14
#define PYBIND11_VERSION_PATCH 0 .dev1
15
15
16
16
// Similar to Python's convention: https://docs.python.org/3/c-api/apiabiversion.html
17
17
// Additional convention: 0xD = dev
18
- #define PYBIND11_VERSION_HEX 0x020E00D1
18
+ #define PYBIND11_VERSION_HEX 0x030000D1
19
19
20
20
// Define some generic pybind11 helper macros for warning management.
21
21
//
Original file line number Diff line number Diff line change 36
36
// / further ABI-incompatible changes may be made before the ABI is officially
37
37
// / changed to the new version.
38
38
#ifndef PYBIND11_INTERNALS_VERSION
39
- # if PY_VERSION_HEX >= 0x030C0000 || defined(_MSC_VER)
39
+ # if PYBIND11_VERSION_MAJOR >= 3
40
+ # define PYBIND11_INTERNALS_VERSION 6
41
+ # elif PY_VERSION_HEX >= 0x030C0000 || defined(_MSC_VER)
40
42
// Version bump for Python 3.12+, before first 3.12 beta release.
41
43
// Version bump for MSVC piggy-backed on PR #4779. See comments there.
42
- # define PYBIND11_INTERNALS_VERSION 6 // BAKEIN_WIP: Only do this for pybind11 v3.0.0
44
+ # define PYBIND11_INTERNALS_VERSION 5
43
45
# else
44
- # define PYBIND11_INTERNALS_VERSION 6 // BAKEIN_WIP: Only do this for pybind11 v3.0.0
46
+ # define PYBIND11_INTERNALS_VERSION 4
45
47
# endif
46
48
#endif
47
49
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ def _to_int(s: str) -> int | str:
8
8
return s
9
9
10
10
11
- __version__ = "2.14 .0.dev1"
11
+ __version__ = "3.0 .0.dev1"
12
12
version_info = tuple (_to_int (s ) for s in __version__ .split ("." ))
You can’t perform that action at this time.
0 commit comments