Skip to content

Commit 7297f31

Browse files
authored
Merge pull request numpy#28475 from mattip/slow_pypy
MAINT: skip slow_pypy tests on pypy
2 parents 5dcf87b + 84271a7 commit 7297f31

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

.spin/cmds.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import os
2-
import shutil
32
import pathlib
43
import importlib
4+
import shutil
55
import subprocess
6+
import sys
67

78
import click
89
import spin
910
from spin.cmds import meson
1011

12+
IS_PYPY = (sys.implementation.name == 'pypy')
1113

1214
# Check that the meson git submodule is present
1315
curdir = pathlib.Path(__file__).parent
@@ -127,12 +129,16 @@ def docs(*, parent_callback, **kwargs):
127129
jobs_param = next(p for p in docs.params if p.name == 'jobs')
128130
jobs_param.default = 1
129131

132+
if IS_PYPY:
133+
default = "not slow and not slow_pypy"
134+
else:
135+
default = "not slow"
130136

131137
@click.option(
132138
"-m",
133139
"markexpr",
134140
metavar='MARKEXPR',
135-
default="not slow",
141+
default=default,
136142
help="Run tests with the given markers"
137143
)
138144
@spin.util.extend_command(spin.cmds.meson.test)
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
Build manylinux_2_28 wheels
22
---------------------------
3-
Wheels for linux systems will use the ``manylinux_2_28`` tag, which means
3+
4+
Wheels for linux systems will use the ``manylinux_2_28`` tag (instead of the ``manylinux2014`` tag), which means
45
dropping support for redhat7/centos7, amazonlinux2, debian9, ubuntu18.04, and
5-
other pre-glibc2.28 operating system versions.
6+
other pre-glibc2.28 operating system versions, as per the `PEP 600 support
7+
table`_.
8+
9+
.. _`PEP 600 support table`: https://github.com/mayeut/pep600_compliance?tab=readme-ov-file#pep600-compliance-check
10+

0 commit comments

Comments
 (0)