From f047dfcf539d04f6f8a1e98fe28d0a2b3eaee302 Mon Sep 17 00:00:00 2001 From: xadupre Date: Sun, 20 Jul 2025 23:01:01 +0200 Subject: [PATCH] try 3.13 on CI --- azure-pipelines.yml | 10 +++++----- .../docassert/sphinx_docassert_extension.py | 4 +--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index abfd50d..4949857 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,11 +1,11 @@ jobs: -- job: 'TestLinuxWheelPip' +- job: 'TestLinuxWheelPip313' pool: vmImage: 'ubuntu-latest' strategy: matrix: Python312-Linux: - python.version: '3.12' + python.version: '3.13' maxParallel: 3 steps: @@ -45,7 +45,7 @@ jobs: artifactName: 'wheel-linux-wheel-$(python.version)' targetPath: 'dist' -- job: 'TestLinux' +- job: 'TestLinux312' pool: vmImage: 'ubuntu-latest' strategy: @@ -93,7 +93,7 @@ jobs: artifactName: 'wheel-linux-$(python.version)' targetPath: 'dist' -- job: 'TestWindows' +- job: 'TestWindows312' pool: vmImage: 'windows-latest' strategy: @@ -124,7 +124,7 @@ jobs: artifactName: 'wheel-windows-$(python.version)' targetPath: 'dist' -- job: 'TestMac' +- job: 'TestMac312' pool: vmImage: 'macOS-latest' strategy: diff --git a/sphinx_runpython/docassert/sphinx_docassert_extension.py b/sphinx_runpython/docassert/sphinx_docassert_extension.py index 0481f25..7a9fe62 100644 --- a/sphinx_runpython/docassert/sphinx_docassert_extension.py +++ b/sphinx_runpython/docassert/sphinx_docassert_extension.py @@ -336,9 +336,7 @@ def override_transform(self, other_self, node): reasons = "unknown" logger = logging.getLogger("docassert") logger.warning( - "[docassert] unable to import object %r, reasons:\n%s", - docs, - reasons, + "[docassert] unable to import object %r, reasons: %s", docs, reasons ) if myfunc is None: