Opened 3 years ago
Closed 3 years ago
#64763 closed defect (fixed)
py27-bottleneck: SyntaxError: invalid syntax
Reported by: | dershow | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-bottleneck |
Description
I have py27-bottleneck 1.3.2_0 installed as a dependent of pandas. I tried to upgrade it to 1.3.4_0 and it fails.
I've attached the log. Here's an excerpt from the log that seems like the issue:
:debug:build Executing org.macports.build (py27-bottleneck) :debug:build Environment: :debug:build CC='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-bottleneck/py27-bottleneck/work/compwrap/cc/usr/bin/clang' :debug:build CC_PRINT_OPTIONS='YES' :debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-bottleneck/py27-bottleneck/work/.CC_PRINT_OPTIONS' :debug:build CFLAGS='-arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk' :debug:build CPATH='/opt/local/include' :debug:build CXX='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-bottleneck/py27-bottleneck/work/compwrap/cxx/usr/bin/clang++' :debug:build CXXFLAGS='-arch x86_64 -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk' :debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:build F90FLAGS='-m64' :debug:build FCFLAGS='-m64' :debug:build FFLAGS='-m64' :debug:build LDFLAGS='-arch x86_64' :debug:build LIBRARY_PATH='/opt/local/lib' :debug:build MACOSX_DEPLOYMENT_TARGET='11.0' :debug:build OBJC='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-bottleneck/py27-bottleneck/work/compwrap/objc/usr/bin/clang' :debug:build OBJCFLAGS='-arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk' :debug:build OBJCXX='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-bottleneck/py27-bottleneck/work/compwrap/objcxx/usr/bin/clang++' :debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk' :info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-bottleneck/py27-bottleneck/work/Bottleneck-1.3.4" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-bottleneck/py27-bottleneck/work/Bottleneck-1.3.4" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build :info:build Traceback (most recent call last): :info:build File "setup.py", line 12, in <module> :info:build import versioneer :info:build File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-bottleneck/py27-bottleneck/work/Bottleneck-1.3.4/versioneer.py", line 369 :info:build LONG_VERSION_PY: Dict[str, str] = {} :info:build ^ :info:build SyntaxError: invalid syntax :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-bottleneck/py27-bottleneck/work/Bottleneck-1.3.4" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build :info:build Exit code: 1 :error:build Failed to build py27-bottleneck: command execution failed :debug:build Error code: CHILDSTATUS 49826 1 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-bottleneck/py27-bottleneck/main.log for details.
Attachments (1)
Change History (4)
Changed 3 years ago by dershow
comment:1 Changed 3 years ago by reneeotten (Renee Otten)
Cc: | stromnov removed |
---|---|
Owner: | set to stromnov |
Status: | new → assigned |
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | py-bottleneck added; py27-bottleneck removed |
---|---|
Summary: | bottleneck won't upgrade → py27-bottleneck: SyntaxError: invalid syntax |
comment:3 Changed 3 years ago by stromnov (Andrey Stromnov)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
In 2f7acf0657ee4b2349ab10cb20f44403960694e7/macports-ports (master):