[MacPorts] #68619: py27-smmap @5.0.0: TypeError: 'encoding' is an invalid keyword argument for this function
MacPorts
noreply at macports.org
Thu Nov 2 01:52:37 UTC 2023
#68619: py27-smmap @5.0.0: TypeError: 'encoding' is an invalid keyword argument for
this function
-------------------------+------------------------
Reporter: cooljeanius | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: py27-smmap
-------------------------+------------------------
Attempting to upgrade py27-smmap results in the following error:
{{{
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
smmap/py27-smmap/work/smmap-5.0.0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
DEBUG: system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
smmap/py27-smmap/work/smmap-5.0.0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
Traceback (most recent call last):
File "setup.py", line 14, in <module>
long_description = open('README.md',
encoding="utf-8").read().replace('\r\n', '\n')
TypeError: 'encoding' is an invalid keyword argument for this function
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
smmap/py27-smmap/work/smmap-5.0.0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
Exit code: 1
Error: Failed to build py27-smmap: command execution failed
DEBUG: Error code: CHILDSTATUS 84277 1
DEBUG: Backtrace: command execution failed
while executing
"system {*}$notty {*}$callback {*}$nice $fullcmdstring"
invoked from within
"command_exec -callback portprogress::target_progress_callback build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
}}}
I'm on x86_64 Big Sur with Xcode 13.
--
Ticket URL: <https://trac.macports.org/ticket/68619>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list