Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224677?usp=email )
Change subject: Tests: Do not run GraalPy tests on Windows
......................................................................
Tests: Do not run GraalPy tests on Windows
- Windows tests always fails due missing '_WindowsConsoleIO';
therefore remove Windows from test matrix
- Increase support status of GraalPy in compatibility.rst
- Add GraalPy to pypi classifier
Bug: T414086
Change-Id: I0652ae85c6ce3da573ced244ece4b66b57f859a4
---
M .github/workflows/graalpy_tests.yml
M docs/compatibility.rst
M pyproject.toml
3 files changed, 4 insertions(+), 4 deletions(-)
Approvals:
Xqt: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/.github/workflows/graalpy_tests.yml
b/.github/workflows/graalpy_tests.yml
index 4492e1a5..41a4f83 100644
--- a/.github/workflows/graalpy_tests.yml
+++ b/.github/workflows/graalpy_tests.yml
@@ -24,7 +24,7 @@
matrix:
python-version: [graalpy-24.1, graalpy-25.0]
site: ['wikipedia:test']
- os: ['windows-latest', 'macOS-latest', 'ubuntu-latest']
+ os: ['macOS-latest', 'ubuntu-latest']
experimental: [True]
steps:
- name: Checkout Repository
@@ -52,7 +52,6 @@
python -Werror::UserWarning -m pwb generate_user_files
-site:${{matrix.site}} -v -debug;
- name: Test with pytest
id: ci_test
- shell: bash
continue-on-error: true
timeout-minutes: 25
env:
@@ -60,7 +59,7 @@
PYWIKIBOT_TEST_NO_RC: 1
run: |
python pwb.py version
- if [[ "${{ matrix.os }}" == "windows-latest" || ( "${{
matrix.python-version }}" == "graalpy-25.0" && "${{ matrix.os }}" ==
"ubuntu-latest" ) ]]; then
+ if [[ "${{ matrix.python-version }}" == "graalpy-25.0" && "${{
matrix.os }}" == "ubuntu-latest" ]]; then
echo "Running tests without coverage"
pytest -k "not TestDate" -a "not net"
--ignore=tests/script_tests.py
else
diff --git a/docs/compatibility.rst b/docs/compatibility.rst
index 96c788a..9976aed 100644
--- a/docs/compatibility.rst
+++ b/docs/compatibility.rst
@@ -13,7 +13,7 @@
================= ===================== ====== ==== =======
================= ================
Pywikibot version Python version No GIL PyPy GraalPy MediaWiki
version 1st Release Date
================= ===================== ====== ==== =======
================= ================
-11.0+ 3.9–3.15 ⚠️ ✅ ❓ 1.31–1.46
2026
+11.0+ 3.9–3.15 ⚠️ ✅ ⚠️ 1.31–1.46
2026
10.0–10.7.4 3.8–3.14 ❓ ✅ ❌ 1.31–1.44
2025-03-01
9.0–9.6.3 3.7–3.13 ❓ ✅ ❌ 1.27–1.42
2024-03-08
8.0–8.6 3.6.1–3.12 ❌ ✅ ❌ 1.27–1.41
2023-01-21
diff --git a/pyproject.toml b/pyproject.toml
index a56894f..37a2d06 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -100,6 +100,7 @@
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
+ "Programming Language :: Python :: Implementation :: GraalPy",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Wiki",
"Topic :: Software Development :: Libraries :: Python Modules",
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224677?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I0652ae85c6ce3da573ced244ece4b66b57f859a4
Gerrit-Change-Number: 1224677
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]