-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
openSUSE packages failing when built with Nuitka #522
Comments
I've mostly figured out cryptography, and cryptography_vectors. I needed to copy all of the subdirectories of Then for I also tried doing Then I did the following before performing the build, and success. echo 'from cryptography.hazmat.bindings import _padding' >> src/cryptography/hazmat/bindings/__init__.py
echo 'from cryptography.hazmat.bindings import _constant_time' >> src/cryptography/hazmat/bindings/__init__.py
echo 'from cryptography.hazmat.bindings import _openssl' >> src/cryptography/hazmat/bindings/__init__.py |
I don't think this is being worked on, is it? I would like to see this closed therefore. Let me know if I am mistaken. |
Project https://build.opensuse.org/project/show/home:jayvdb:Nuitka - Python 3 only
The collection of packages contains the initial set of dependencies needed to bootstrap a standard Python installation, with all build dependencies and necessary testing tools needed to verify the built packages. Still quite a few unresolved packages, preventing building of larger frameworks like Django.
Nuitka build failures:
assert locals_dict_name not in locals_dict_handles, locals_dict_name
:globals_testtools$_compat2x
: "Cannot recurse to import module 'testtools/_compat2x.py' (..) because of 'SyntaxError'
" (Fixed by deletingtesttools/_compat2x.py
on Python 3)assert locals_dict_name not in locals_dict_handles, locals_dict_name
:globals_js2py$internals$speed
: "Cannot recurse to import module 'js2py/internals/speed.py' (...) because of 'SyntaxError'
"; bypassing that results in OOM in clang and gccassert locals_dict_name not in locals_dict_handles, locals_dict_name
: globals_paste$deploy$paster_templates (_Fixed withmv paste/deploy/paster_templates.py paste/deploy/paster_templates/__init__.py
)assert locals_dict_name not in locals_dict_handles, locals_dict_name
:globals_tests$support
(Fixed by removingtests/
)Missing both compile_packages and py_modules, aborting...
/tmp/timer_createamusva27.c:2: undefined reference to
timer_create'`Error, 'hook-PIL.Image' is not a proper python module name.
Missing artifacts (#530 is a workaround for someone of these):
Jinja2.tests
not available https://github.com/Nuitka/Nuitka/issues/525sockshandler
discardedpeewee
andpwiz
discardedModuleNotFoundError: No module named 'cryptography.hazmat.bindings._constant_time'
Seg faults
test_shared_data_middleware
test_stracker_create_summary
(test_sys_mods
fails for less concerning reasons)As I go through getting those packages to build, any which build but cause other failures I will disable "Use for Build Flag" e.g. https://build.opensuse.org/repositories/home:jayvdb:Nuitka/python-setuptools . I will attempt to adjust them so the tests fail.
Builds but breaks other packages:
inspect.getsource(source)
fails, breaking pytestzope.*
,sphinxcontrib.*
,paste.*
zope components built with Nuitka are all called zope.so #524AttributeError: module 'werkzeug' has no attribute 'test'
Test failures:
test_element_tree_import_script
failsTestSpecialPaths
case fails (5 tests)test_egg_parser
failstest_out_of_range_entity
failstest_run_in_subprocess_passes_stderr
failstest_safe_format_safety
andtest_safe_format_all_okay
failtest_import_no_ssl
test_existing_file
&test_existing_path
test_default_stream_factory[True-???]
(two tests)test_shared_data_middleware
(seg fault)test/fixture/wrapper.py
&test/fixture/wrapper_with_args.py
test_funcarg_not_active PASSED [ 52%]
TypeError: Nuitka doesn't support __defaults__ size changes
- c.f. graphviztests/conftest.py
which uses this.Convertion to setuptools pending:
TypeError: dist must be a Distribution instance
error: each element of 'ext_modules' option must be an Extension instance or 2-tuple
- workaround was create alternative python-gpg which is only the Python component, but also without the tests.The text was updated successfully, but these errors were encountered: