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

mrjobs doesn't work with Python 3.13 #189

Open
JayBazuzi opened this issue Nov 10, 2024 · 0 comments
Open

mrjobs doesn't work with Python 3.13 #189

JayBazuzi opened this issue Nov 10, 2024 · 0 comments

Comments

@JayBazuzi
Copy link
Contributor

To reproduce

  1. In Python 3.13, run ./run_tests

Result

ImportError while importing test module '/Users/runner/work/ApprovalTests.Python/ApprovalTests.Python/tests/test_options.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_options.py:11: in <module>
    from approvaltests.integrations.mrjob import mrjob_approvals
approvaltests/integrations/mrjob/mrjob_approvals.py:6: in <module>
    from mrjob.job import MRJob
.tox/py/lib/python3.13/site-packages/mrjob/job.py:36: in <module>
    from mrjob.conf import combine_dicts
.tox/py/lib/python3.13/site-packages/mrjob/conf.py:34: in <module>
    from mrjob.util import expand_path
.tox/py/lib/python3.13/site-packages/mrjob/util.py:23: in <module>
    import pipes
E   ModuleNotFoundError: No module named 'pipes'

Note

Pipes was removed in Python 3.13 (deprecated in 3.12)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant