Opened 5 months ago
Closed 5 months ago
#70438 closed defect (fixed)
py312-scipy @1.11.0_0+gfortran: AttributeError: module 'gast' has no attribute 'MatchStar'
Reported by: | zzanderr | Owned by: | reneeotten (Renee Otten) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.3 |
Keywords: | Cc: | emcrisostomo (Enrico Maria Crisostomo), michaelld (Michael Dickens) | |
Port: | py-scipy py-beniget py-gast |
Description
5296 :info:build [804/1619] Generating scipy/linalg/flapack_module with a custom command 5297 :info:build ninja: build stopped: subcommand failed. 5298 :info:build ERROR Backend subprocess exited when trying to invoke build_wheel
Attachments (1)
Change History (6)
Changed 5 months ago by zzanderr
comment:1 Changed 5 months ago by zzanderr
I am building on MacBook Pro M2 Max, MacOS 14.5 Sonoma.
py311-scipy had similar build problems.
I have installed OpenBLAS @0.3.27_0+gcc14+lapack+native
comment:2 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to michaelld |
---|---|
Status: | new → assigned |
Summary: | py312-scipy @1.11.0_0+gfortran fails in build stage → py312-scipy @1.11.0_0+gfortran: AttributeError: module 'gast' has no attribute 'MatchStar' |
Looks like the relevant error in the log may be:
[791/1619] Generating scipy/stats/_stats_pythran with a custom command FAILED: scipy/stats/_stats_pythran.cpp /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/pythran -E ../scipy/stats/_stats_pythran.py -o scipy/stats/_stats_pythran.cpp Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/pythran", line 8, in <module> sys.exit(run()) ^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/run.py", line 190, in run pythran.compile_pythranfile(args.input_file, File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/toolchain.py", line 541, in compile_pythranfile output_file = compile_pythrancode(module_name, fd.read(), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/toolchain.py", line 442, in compile_pythrancode module, error_checker = generate_cxx(module_name, pythrancode, specs, opts, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/toolchain.py", line 142, in generate_cxx pm, ir, docstrings = front_middle_end(module_name, code, optimizations, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/toolchain.py", line 109, in front_middle_end refine(pm, ir, optimizations, report_times) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/middlend.py", line 57, in refine pm.apply(FalsePolymorphism, node, run_times) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/passmanager.py", line 243, in apply ret=a.apply(node) ^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/passmanager.py", line 200, in apply new_node = self.run(node) ^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/passmanager.py", line 189, in run n = super(Transformation, self).run(node) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/passmanager.py", line 97, in run return self.visit(node) ^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/passmanager.py", line 79, in visit return super(ContextManager, self).visit(node) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ast.py", line 407, in visit return visitor(node) ^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ast.py", line 483, in generic_visit value = self.visit(value) ^^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/passmanager.py", line 79, in visit return super(ContextManager, self).visit(node) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/ast.py", line 407, in visit return visitor(node) ^^^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pythran/transformations/false_polymorphism.py", line 55, in visit_FunctionDef if curr.name() != def_.name(): ^^^^^^^^^^^ File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/beniget/beniget.py", line 112, in name elif isinstance(self.node, (ast.MatchStar, ast.MatchAs)): ^^^^^^^^^^^^^ AttributeError: module 'gast' has no attribute 'MatchStar'
comment:3 Changed 5 months ago by jmroot (Joshua Root)
Cc: | emcrisostomo michaelld added |
---|---|
Owner: | changed from michaelld to reneeotten |
Port: | py-scipy py-beniget py-gast added; py312-scipy removed |
Looks like the problem may be that py-beniget was updated without updating py-gast.
comment:4 Changed 5 months ago by jmroot (Joshua Root)
Or even that py311- and py312-gast were created without updating the version, as 0.5.2 doesn't appear to even support Python 3.11 properly.
comment:5 Changed 5 months ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
main.log