8000 Require pybind11>=2.8. · matplotlib/mplcairo@4d3d292 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4d3d292

Browse files
committed
Require pybind11>=2.8.
1 parent d1d9600 commit 4d3d292

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ next
22
====
33

44
- Fixed support for Matplotlib 3.5.
5+
- Bumped dependencies to pybind11≥2.8.
56
- Bumped supported raqm versions to ≥0.7; fixed integration with raqm 0.7.2.
67
- Support Qt6 and GTK4.
78
- Support HiDPI on GTK (it was already supported on Qt).

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def exec_module(module):
218218
python_requires=">=3.7",
219219
setup_requires=[
220220
"setuptools_scm",
221-
"pybind11>=2.6.0",
221+
"pybind11>=2.8.0",
222222
*(["pycairo>=1.16.0"] if not MANYLINUX else []),
223223
],
224224
use_scm_version={ # xref __init__.py

src/_mplcairo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ py::bytes Region::get_straight_argb32_bytes()
135135
u32_ptr[i] = (u32_ptr[i] >> 8) + (u32_ptr[i] << 24); // RGBA->ARGB
136136
}
137137
}
138-
return py::bytes{static_cast<char const*>(buf.ptr), size_t(size)};
138+
return py::bytes{static_cast<char const*>(buf.ptr), size};
139139
}
140140

141141
py::object renderer_base(std::string meth_name)

0 commit comments

Comments
 (0)
0