Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-python (Nobody) <pyt...@freebsd.org> for maintainer-feedback: Bug 255579: devel/py-pip: build fails with DOCS option https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255579
--- Description --- When DOCS option is on, the build calls 'setup.py build_sphinx'. This error occurs when using python3.6: ==================== . . File "/tmp/pip-20.3.4/docs/docs_feedback_sphinxext.py", line 3 from __future__ import annotations ^ SyntaxError: future feature annotations is not defined ==================== 20.3.4 has a new docs_feedback_sphinxext.py file which has: from __future__ import annotations This fails with python3.6. Workaround: WITHOUT=DOCS for python3.6 The easy change is probably to change USES=python:3.6+ to 3.7+ (this could be dependent on whether DOCS is on but that is probably more trouble than it's worth). _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"