You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
macos-latest GitHub runners run on arm64 (m1) architecture.
These runners fail to run tests with errors:
Traceback (most recent call last):
File "/Users/runner/work/xml2rfc/xml2rfc/test.py", line 8, in <module>
import xml2rfc
File "/Users/runner/work/xml2rfc/xml2rfc/xml2rfc/__init__.py", line 38, in <module>
-----
from weasyprint.text.ffi import pango
WeasyPrint could not import some external libraries. Please carefully follow the installation steps before reporting an issue:
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#installation
File "<frozen importlib._bootstrap>", line 1322, in _find_and_load_unlocked
https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#troubleshooting
File "<frozen importlib._bootstrap>", line 1262, in _find_spec
File "<frozen importlib._bootstrap_external>", line 1528, in find_spec
-----
File "<frozen importlib._bootstrap_external>", line 1497, in _get_spec
File "<frozen importlib._bootstrap_external>", line 1368, in __iter__
File "<frozen importlib._bootstrap_external>", line 1355, in _recalculate
-----
File "<frozen importlib._bootstrap_external>", line 1351, in _get_parent_path
KeyError: 'weasyprint'
WeasyPrint could not import some external libraries. Please carefully follow the installation steps before reporting an issue:
https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#installation
https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#troubleshooting
* ci: Use xml2rfc-fonts for tests
* ci: Bump up setup-python action to v5
* ci: Bump up checout action to v4
* ci: Restrict macOS testing to intel processor
See #1129
* fix: Fix text extraction issues with updated fonts
* build: Use xml2rfc-fonts in docker image
* fix: Use xml2rfc-fonts xml2rfc compatible version
* docs: Update documentation to use xml2rfc-fonts
* docs: Update font install instructions
Describe the issue
macos-latest
GitHub runners run onarm64 (m1)
architecture.These runners fail to run tests with errors:
See https://github.com/ietf-tools/xml2rfc/actions/runs/9511526289/job/26217825833?pr=1124
A quick fix for this is to restrict to
macos-12
so the tests will run onintel
architecture.The issue seems to be GitHub-related since I can't reproduce these errors locally on macOS 14.5 with
arm64 (m1)
.Code of Conduct
The text was updated successfully, but these errors were encountered: