8000 Merge pull request #20687 from QuLogic/pypy34 · matplotlib/matplotlib@3664dc3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3664dc3

Browse files
authored
Merge pull request #20687 from QuLogic/pypy34
Enable PyPy wheels for v3.4.x
2 parents fafc53c + 7a5b9eb commit 3664dc3

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,10 @@ jobs:
104104
run: |
105105
python -m cibuildwheel --output-dir dist
106106
env:
107-
CIBW_BUILD: "pp3?-*"
107+
CIBW_BUILD: "pp37-*"
108108
CIBW_BEFORE_BUILD: pip install certifi numpy==${{ env.min-numpy-version }}
109109
CIBW_ARCHS: ${{ matrix.cibw_archs }}
110-
if: >
111-
runner.os != 'Windows' && (
112-
startsWith(github.ref, 'refs/heads/v3.3') ||
113-
startsWith(github.ref, 'refs/tags/v3.3') )
110+
if: runner.os != 'Windows' && matrix.cibw_archs != 'aarch64'
114111

115112
- name: Validate that LICENSE files are included in wh AA8F eels
116113
run: |

src/_path.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
#include "_backend_agg_basic_types.h"
2222
#include "numpy_cpp.h"
2323

24+
/* Compatibility for PyPy3.7 before 7.3.4. */
25+
#ifndef Py_DTSF_ADD_DOT_0
26+
#define Py_DTSF_ADD_DOT_0 0x2
27+
#endif
28+
2429
struct XY
2530
{
2631
double x;

0 commit comments

Comments
 (0)
0