Skip to content
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

Fails to build with python3.6 on FreeBSD #1649

Closed
yurivict opened this issue May 13, 2018 · 1 comment
Closed

Fails to build with python3.6 on FreeBSD #1649

yurivict opened this issue May 13, 2018 · 1 comment

Comments

@yurivict
Copy link

===>  Configuring for py36-biopython-1.71_1
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 435, in <module>
    readme_rst = handle.read()
  File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 7116: ordinal not in range(128)
@peterjc
Copy link
Member

peterjc commented May 13, 2018

There were some funny quotes in the README.rst file, the simple fix is to remove them as in 6421d36 (or just replace it with an empty file).

Closing as a duplicate of #1600, see also long term fix in #1607. Sorry about this.

@peterjc peterjc closed this as completed May 13, 2018
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue May 13, 2018
Two items prevented python3 compatibility:
* Breakage of ASCII codec due to non-ascii characters in README: biopython/biopython#1649
* The outdated dependency: print/py-reportlab1 instead of the modern version 3.X print/py-reportlab

Port changes:
* USES=python:2.7 -> USES=python
* Add pre-configure that clears the README file
* Add LICENSE/LICENSE_FILE

Testing:
* Ran the tutorial testcase http://biopython.org/DIST/docs/tutorial/Tutorial.html,
  particularly pdf writing through print/py-reportlab worked fine.

Asked the upstream to clarify the acceptable dependency version: biopython/biopython#1650

Approved by:	portmgr blanket (unbreak for python3; add license)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@469835 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this issue May 13, 2018
Two items prevented python3 compatibility:
* Breakage of ASCII codec due to non-ascii characters in README: biopython/biopython#1649
* The outdated dependency: print/py-reportlab1 instead of the modern version 3.X print/py-reportlab

Port changes:
* USES=python:2.7 -> USES=python
* Add pre-configure that clears the README file
* Add LICENSE/LICENSE_FILE

Testing:
* Ran the tutorial testcase http://biopython.org/DIST/docs/tutorial/Tutorial.html,
  particularly pdf writing through print/py-reportlab worked fine.

Asked the upstream to clarify the acceptable dependency version: biopython/biopython#1650

Approved by:	portmgr blanket (unbreak for python3; add license)
Jehops pushed a commit to Jehops/freebsd-ports-legacy that referenced this issue May 14, 2018
Two items prevented python3 compatibility:
* Breakage of ASCII codec due to non-ascii characters in README: biopython/biopython#1649
* The outdated dependency: print/py-reportlab1 instead of the modern version 3.X print/py-reportlab

Port changes:
* USES=python:2.7 -> USES=python
* Add pre-configure that clears the README file
* Add LICENSE/LICENSE_FILE

Testing:
* Ran the tutorial testcase http://biopython.org/DIST/docs/tutorial/Tutorial.html,
  particularly pdf writing through print/py-reportlab worked fine.

Asked the upstream to clarify the acceptable dependency version: biopython/biopython#1650

Approved by:	portmgr blanket (unbreak for python3; add license)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@469835 35697150-7ecd-e111-bb59-0022644237b5
swills pushed a commit to swills/freebsd-ports that referenced this issue May 14, 2018
Two items prevented python3 compatibility:
* Breakage of ASCII codec due to non-ascii characters in README: biopython/biopython#1649
* The outdated dependency: print/py-reportlab1 instead of the modern version 3.X print/py-reportlab

Port changes:
* USES=python:2.7 -> USES=python
* Add pre-configure that clears the README file
* Add LICENSE/LICENSE_FILE

Testing:
* Ran the tutorial testcase http://biopython.org/DIST/docs/tutorial/Tutorial.html,
  particularly pdf writing through print/py-reportlab worked fine.

Asked the upstream to clarify the acceptable dependency version: biopython/biopython#1650

Approved by:	portmgr blanket (unbreak for python3; add license)


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@469835 35697150-7ecd-e111-bb59-0022644237b5
svmhdvn pushed a commit to svmhdvn/freebsd-ports that referenced this issue Jan 10, 2024
Two items prevented python3 compatibility:
* Breakage of ASCII codec due to non-ascii characters in README: biopython/biopython#1649
* The outdated dependency: print/py-reportlab1 instead of the modern version 3.X print/py-reportlab

Port changes:
* USES=python:2.7 -> USES=python
* Add pre-configure that clears the README file
* Add LICENSE/LICENSE_FILE

Testing:
* Ran the tutorial testcase http://biopython.org/DIST/docs/tutorial/Tutorial.html,
  particularly pdf writing through print/py-reportlab worked fine.

Asked the upstream to clarify the acceptable dependency version: biopython/biopython#1650

Approved by:	portmgr blanket (unbreak for python3; add license)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants