Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0, 15.0, ?] build broken - facturx #1084

Closed
simahawk opened this issue Dec 4, 2024 · 2 comments · Fixed by #1085
Closed

[14.0, 15.0, ?] build broken - facturx #1084

simahawk opened this issue Dec 4, 2024 · 2 comments · Fixed by #1085
Labels

Comments

@simahawk
Copy link
Contributor

simahawk commented Dec 4, 2024

2024-12-03 15:29:44,540 2210 ERROR odoo odoo.tests.loader: Can not `import account_invoice_facturx`. 
Traceback (most recent call last):
  File "/opt/odoo/odoo/tests/loader.py", line 29, in _get_tests_modules
    mod = importlib.import_module('.tests', modpath)
  File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/__w/edi/edi/account_invoice_facturx/tests/__init__.py", line 1, in <module>
    from . import test_facturx_invoice
  File "/__w/edi/edi/account_invoice_facturx/tests/test_facturx_invoice.py", line 7, in <module>
    from facturx import get_facturx_level
  File "/opt/odoo-venv/lib/python3.6/site-packages/facturx/__init__.py", line 1, in <module>
    from .facturx import generate_from_file, \
  File "/opt/odoo-venv/lib/python3.6/site-packages/facturx/facturx.py", line 37, in <module>
    import importlib.resources
ModuleNotFoundError: No module named 'importlib.resources'
@simahawk simahawk added the bug label Dec 4, 2024
@simahawk simahawk changed the title [14.0] build broken - account_invoice_facturx [14.0, 15.0, ?] build broken - account_invoice_facturx Dec 4, 2024
@simahawk
Copy link
Contributor Author

simahawk commented Dec 4, 2024

Issue found here akretion/factur-x#48

We have to pin https://pypi.org/project/factur-x/3.1

@simahawk simahawk changed the title [14.0, 15.0, ?] build broken - account_invoice_facturx [14.0, 15.0, ?] build broken - facturx Dec 4, 2024
simahawk added a commit to camptocamp/edi that referenced this issue Dec 4, 2024
@simahawk
Copy link
Contributor Author

simahawk commented Dec 4, 2024

Auto-merged by GH but 15.0 still pending

@simahawk simahawk reopened this Dec 4, 2024
victoralmau pushed a commit to Tecnativa/edi that referenced this issue Dec 4, 2024
@simahawk simahawk closed this as completed Dec 4, 2024
baguenth pushed a commit to AmetrasIntelligence/edi that referenced this issue Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant