mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-19 22:39:09 +00:00
PyPy3 support (#2146)
* Error out eval_file * Enable dynamic attribute support for Pypy >= 6 * Add a test for dynamic attribute support * Skip test for eval_file on pypy * Workaround for __qualname__ on PyPy3 * Add a PyPy3.6 7.3.0 build * Only disable in PyPy3 * Fix travis testing * No numpy and scipy for pypy * Enable test on pypy2 * Fix logic in eval_file * Skip a few tests due to bugs in PyPy * scipy wheels are broken. make pypy2 a failrue Co-authored-by: Andreas Kloeckner <inform@tiker.net>
This commit is contained in:
@@ -193,7 +193,7 @@ TEST_SUBMODULE(multiple_inheritance, m) {
|
||||
.def_readwrite_static("static_value", &VanillaStaticMix2::static_value);
|
||||
|
||||
|
||||
#if !defined(PYPY_VERSION)
|
||||
#if !(defined(PYPY_VERSION) && (PYPY_VERSION_NUM < 0x06000000))
|
||||
struct WithDict { };
|
||||
struct VanillaDictMix1 : Vanilla, WithDict { };
|
||||
struct VanillaDictMix2 : WithDict, Vanilla { };
|
||||
|
||||
Reference in New Issue
Block a user