Skip to content

Commit 1fc0a07

Browse files
authored
Use Pyodide 0.28 alpha for testing (#234)
* 3.12 -> 3.13 * Fix version * fix another test * Fix emfs test
1 parent 04ad759 commit 1fc0a07

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ubuntu-latest]
25-
pyodide-version: ["0.27.2"]
25+
pyodide-version: ["0.28.0a2"]
2626
test-config: [
2727
# FIXME: recent version of chrome gets timeout
2828
{ runner: selenium, runtime: chrome, runtime-version: "125" },
@@ -36,7 +36,7 @@ jobs:
3636

3737
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3838
with:
39-
python-version: 3.12
39+
python-version: 3.13
4040

4141
- uses: pyodide/pyodide-actions/download-pyodide@012fa537869d343726d01863a34b773fc4d96a14 # v2
4242
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2222
with:
23-
python-version: 3.12
23+
python-version: 3.13
2424

2525
# IMPORTANT: always build sdist, and then the wheel from
2626
# the sdist (like it is currently done here). This is

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default_language_version:
2-
python: "3.12"
2+
python: "3.13"
33

44
exclude: (^micropip/_vendored|^tests/vendored|^tests/test_data)
55
repos:

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ python:
2020
build:
2121
os: ubuntu-22.04
2222
tools:
23-
python: "3.12"
23+
python: "3.13"

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
]
2020

2121
intersphinx_mapping = {
22-
"python": ("https://docs.python.org/3.12", None),
22+
"python": ("https://docs.python.org/3.13", None),
2323
"pyodide": ("https://pyodide.org/en/stable/", None),
2424
}
2525

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = [
66
description = "A lightweight Python package installer for the web"
77
readme = "README.md"
88
license = { file="LICENSE" }
9-
requires-python = ">=3.12"
9+
requires-python = ">=3.13"
1010
classifiers = [
1111
"Programming Language :: Python :: 3",
1212
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
@@ -66,7 +66,7 @@ known-first-party = [
6666

6767
[tool.mypy]
6868
exclude = ["micropip/_vendored/"]
69-
python_version = "3.12"
69+
python_version = "3.13"
7070
show_error_codes = true
7171
warn_unreachable = true
7272
ignore_missing_imports = true

tests/test_install.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,11 @@ def test_emfs_error(selenium_standalone_micropip):
360360
async def run_test(selenium):
361361
import micropip
362362

363-
await micropip.install("emfs:a-2.0.2-cp312-cp312-pyodide_2024_0_wasm32.whl")
363+
await micropip.install("emfs:a-2.0.2-cp313-cp313-pyodide_2025_0_wasm32.whl")
364364

365365
with pytest.raises(
366366
FileNotFoundError,
367-
match="No such file or directory: 'a-2.0.2-cp312-cp312-pyodide_2024_0_wasm32.whl'",
367+
match="No such file or directory: 'a-2.0.2-cp313-cp313-pyodide_2025_0_wasm32.whl'",
368368
):
369369
run_test(selenium_standalone_micropip)
370370

tests/test_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ def test_check_compatible(mock_platform, interp, abi, arch, ctx):
108108
@run_in_pyodide
109109
def test_check_compatible_wasm32(selenium_standalone_micropip):
110110
"""
111-
Here we check in particular that pyodide_2024_0_wasm32 wheels are seen as
111+
Here we check in particular that pyodide_2025_0_wasm32 wheels are seen as
112112
compatible as the platform is emscripten
113113
"""
114114
from micropip._utils import check_compatible
115115

116-
wheel_name = "pywavelets-1.8.0.dev0-cp312-cp312-pyodide_2024_0_wasm32.whl"
116+
wheel_name = "pywavelets-1.8.0.dev0-cp313-cp313-pyodide_2025_0_wasm32.whl"
117117
check_compatible(wheel_name)
118118

119119

0 commit comments

Comments
 (0)