Skip to content

Commit f94b430

Browse files
authored
CI: Remove PyPy references in CI testing (#61814)
1 parent d5f97ed commit f94b430

File tree

4 files changed

+0
-44
lines changed

4 files changed

+0
-44
lines changed

.github/workflows/unit-tests.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,6 @@ jobs:
7575
env_file: actions-311.yaml
7676
pandas_future_infer_string: "1"
7777
platform: ubuntu-24.04
78-
- name: "Pypy"
79-
env_file: actions-pypy-39.yaml
80-
pattern: "not slow and not network and not single_cpu"
81-
test_args: "--max-worker-restart 0"
82-
platform: ubuntu-24.04
8378
- name: "Numpy Dev"
8479
env_file: actions-311-numpydev.yaml
8580
pattern: "not slow and not network and not single_cpu"
@@ -169,12 +164,9 @@ jobs:
169164
with:
170165
# xref https://github.com/cython/cython/issues/6870
171166
werror: ${{ matrix.name != 'Freethreading' }}
172-
# TODO: Re-enable once Pypy has Pypy 3.10 on conda-forge
173-
if: ${{ matrix.name != 'Pypy' }}
174167

175168
- name: Test (not single_cpu)
176169
uses: ./.github/actions/run-tests
177-
if: ${{ matrix.name != 'Pypy' }}
178170
env:
179171
# Set pattern to not single_cpu if not already set
180172
PATTERN: ${{ env.PATTERN == '' && 'not single_cpu' || matrix.pattern }}

.github/workflows/wheels.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ jobs:
101101
- [macos-14, macosx_arm64]
102102
- [windows-2022, win_amd64]
103103
- [windows-11-arm, win_arm64]
104-
# TODO: support PyPy?
105104
python: [["cp310", "3.10"], ["cp311", "3.11"], ["cp312", "3.12"], ["cp313", "3.13"], ["cp313t", "3.13"]]
106105
include:
107106
# Build Pyodide wheels and upload them to Anaconda.org

ci/deps/actions-pypy-39.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

scripts/validate_min_versions_in_sync.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
YAML_PATH = pathlib.Path("ci/deps")
3838
ENV_PATH = pathlib.Path("environment.yml")
3939
EXCLUDE_DEPS = {"tzdata", "pyqt", "pyqt5"}
40-
EXCLUSION_LIST = frozenset(["python=3.8[build=*_pypy]"])
4140
# pandas package is not available
4241
# in pre-commit environment
4342
sys.path.append("pandas/compat")
@@ -111,7 +110,6 @@ def get_yaml_map_from(
111110
for dependency in yaml_dic:
112111
if (
113112
isinstance(dependency, dict)
114-
or dependency in EXCLUSION_LIST
115113
or dependency in yaml_map
116114
):
117115
continue
@@ -124,11 +122,6 @@ def get_yaml_map_from(
124122
yaml_package, yaml_version2 = yaml_dependency.split(operator)
125123
yaml_version2 = operator + yaml_version2
126124
yaml_map[yaml_package] = [yaml_version1, yaml_version2]
127-
elif "[build=*_pypy]" in dependency:
128-
search_text = search_text.replace("[build=*_pypy]", "")
129-
yaml_package, yaml_version = search_text.split(operator)
130-
yaml_version = operator + yaml_version
131-
yaml_map[yaml_package] = [yaml_version]
132125
elif operator is not None:
133126
yaml_package, yaml_version = search_text.split(operator)
134127
yaml_version = operator + yaml_version
@@ -164,8 +157,6 @@ def pin_min_versions_to_yaml_file(
164157
) -> str:
165158
data = yaml_file_data
166159
for yaml_package, yaml_versions in yaml_map.items():
167-
if yaml_package in EXCLUSION_LIST:
168-
continue
169160
old_dep = yaml_package
170161
if yaml_versions is not None:
171162
old_dep = old_dep + ", ".join(yaml_versions)

0 commit comments

Comments
 (0)