Skip to content

Commit 168ac3a

Browse files
committed
fix hacks, skip pypy for now
1 parent 660b272 commit 168ac3a

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ jobs:
7474
- name: Build wheels
7575
uses: pypa/cibuildwheel@v2.21.1
7676
env:
77+
# * APIs not supported by PyPy
78+
CIBW_SKIP: >
79+
pp*
7780
CIBW_ARCHS: ${{ matrix.os.archs }}
7881
CIBW_BUILD_VERBOSITY: "1"
7982
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28

libparse/wrapper.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@
1515
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
// See the License for the specific language governing permissions and
1717
// limitations under the License.
18-
#define private public
19-
#include "libparse.h"
20-
#undef private
18+
#include <sstream>
19+
#include <string>
2120

2221
#include <pybind11/pybind11.h>
2322
#include <pybind11/stl.h>
2423

24+
#include "libparse.h"
25+
2526
#include "stdio_filebuf.h"
2627

2728
namespace py = pybind11;

0 commit comments

Comments
 (0)