Opened 5 years ago

Closed 5 years ago

#57559 closed defect (fixed)

py-ipython-sql @0.3.9: TypeError: 'encoding' is an invalid keyword argument for this function

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-ipython-sql

Description

https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/74705/steps/install-port/logs/stdio

Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    README = open(os.path.join(here, 'README.rst'), encoding='utf-8').read()
TypeError: 'encoding' is an invalid keyword argument for this function
Command failed:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-ipython-sql/py27-ipython-sql/work/ipython-sql-0.3.9" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
Exit code: 1

Change History (1)

comment:1 Changed 5 years ago by reneeotten <reneeotten@…>

Resolution: fixed
Status: assignedclosed

In 1dd5b0ad5eabbcc4335c7ccb33d7939350ed6545/macports-ports (master):

py-ipython-sql: fix install for py27 subport

  • add upstream patch to setup.py for PY2 compatibility
  • make use of python.rootname
  • use default PyPI livecheck

Closes: #57559

Note: See TracTickets for help on using tickets.