Skip to content

Commit 77c05eb

Browse files
author
Test User
committed
Readd arm with xcookie
1 parent 20f4bf1 commit 77c05eb

3 files changed

Lines changed: 42 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ jobs:
130130
- ubuntu-latest
131131
- macOS-latest
132132
- windows-latest
133+
- ubuntu-24.04-arm
133134
cibw_skip:
134135
- '*-win32 cp3{10}-win_arm64 cp313-musllinux_i686'
135136
arch:
@@ -229,6 +230,10 @@ jobs:
229230
install-extras: tests-strict,runtime-strict
230231
os: windows-latest
231232
arch: auto
233+
- python-version: '3.9'
234+
install-extras: tests-strict,runtime-strict
235+
os: ubuntu-24.04-arm
236+
arch: auto
232237
- python-version: '3.13'
233238
install-extras: tests-strict,runtime-strict,optional-strict
234239
os: ubuntu-latest
@@ -241,6 +246,10 @@ jobs:
241246
install-extras: tests-strict,runtime-strict,optional-strict
242247
os: windows-latest
243248
arch: auto
249+
- python-version: '3.13'
250+
install-extras: tests-strict,runtime-strict,optional-strict
251+
os: ubuntu-24.04-arm
252+
arch: auto
244253
- python-version: '3.13'
245254
install-extras: tests-strict,runtime-strict,optional-strict
246255
os: windows-11-arm
@@ -253,6 +262,10 @@ jobs:
253262
install-extras: tests
254263
os: windows-latest
255264
arch: auto
265+
- python-version: '3.13'
266+
install-extras: tests
267+
os: ubuntu-24.04-arm
268+
arch: auto
256269
- python-version: '3.13'
257270
install-extras: tests
258271
os: windows-11-arm
@@ -329,6 +342,30 @@ jobs:
329342
install-extras: tests,optional
330343
os: windows-latest
331344
arch: auto
345+
- python-version: '3.9'
346+
install-extras: tests,optional
347+
os: ubuntu-24.04-arm
348+
arch: auto
349+
- python-version: '3.10'
350+
install-extras: tests,optional
351+
os: ubuntu-24.04-arm
352+
arch: auto
353+
- python-version: '3.11'
354+
install-extras: tests,optional
355+
os: ubuntu-24.04-arm
356+
arch: auto
357+
- python-version: '3.12'
358+
install-extras: tests,optional
359+
os: ubuntu-24.04-arm
360+
arch: auto
361+
- python-version: '3.13'
362+
install-extras: tests,optional
363+
os: ubuntu-24.04-arm
364+
arch: auto
365+
- python-version: '3.14'
366+
install-extras: tests,optional
367+
os: ubuntu-24.04-arm
368+
arch: auto
332369
- python-version: '3.11'
333370
install-extras: tests,optional
334371
os: windows-11-arm

docs/source/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ class PatchedPythonDomain(PythonDomain):
435435
"""
436436

437437
def resolve_xref(
438-
self, env, fromdocname, builder, typ, target, node, contnode
438+
self, env, fromdocname, builder, type, target, node, contnode
439439
):
440440
"""
441441
Helps to resolves cross-references
@@ -445,7 +445,7 @@ def resolve_xref(
445445
if target.startswith('xdoc.'):
446446
target = 'xdoctest.' + target[3]
447447
return_value = super(PatchedPythonDomain, self).resolve_xref(
448-
env, fromdocname, builder, typ, target, node, contnode
448+
env, fromdocname, builder, type, target, node, contnode
449449
)
450450
return return_value
451451

@@ -842,6 +842,7 @@ def create_doctest_figure(app, obj, name, lines):
842842
import types
843843

844844
import xdoctest
845+
import xdoctest.core
845846

846847
if isinstance(obj, types.ModuleType):
847848
module = obj
@@ -1064,6 +1065,7 @@ def fix_rst_todo_section(lines):
10641065

10651066
def setup(app):
10661067
import sphinx
1068+
import sphinx.application
10671069

10681070
app: sphinx.application.Sphinx = app
10691071
app.add_domain(PatchedPythonDomain, override=True)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ archs = ['AMD64', 'ARM64']
5959
ignore_missing_imports = true
6060

6161
[tool.xcookie]
62-
tags = [ "pyutils", "binpy", "github", "mypy"]
62+
tags = [ "pyutils", "binpy", "github", "mypy", "binpy-ubuntu-arm"]
6363
mod_name = "line_profiler"
6464
repo_name = "line_profiler"
6565
rel_mod_parent_dpath = "."

0 commit comments

Comments
 (0)