Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 May 2021 20:53:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255579] devel/py-pip: build fails with DOCS option
Message-ID:  <bug-255579-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255579

            Bug ID: 255579
           Summary: devel/py-pip: build fails with DOCS option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org

When DOCS option is on, the build calls 'setup.py build_sphinx'.  This error
occurs when using python3.6:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 .
 .
  File "/tmp/pip-20.3.4/docs/docs_feedback_sphinxext.py", line 3
    from __future__ import annotations
                                 ^
SyntaxError: future feature annotations is not defined
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

20.3.4 has a new docs_feedback_sphinxext.py file which has:

from __future__ import annotations


This fails with python3.6.


Workaround: WITHOUT=3DDOCS for python3.6


The easy change is probably to change USES=3Dpython:3.6+ to 3.7+ (this coul=
d be
dependent on whether DOCS is on but that is probably more trouble than it's
worth).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255579-7788>