Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#64407 closed defect (fixed)

py36-sphinx-autodoc-typehints: SyntaxError: future feature annotations is not defined

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: judaew (Vadym-Valdis Yudaiev)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: py-sphinx-autodoc-typehints

Description

https://build.macports.org/builders/ports-11_x86_64-builder/builds/60012

  File "setup.py", line 1
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined

Change History (2)

comment:1 Changed 2 years ago by Vadim-Valdis Yudaev <judaew@…>

Resolution: fixed
Status: assignedclosed

In 54b668dd934e567f3e708ae2e45b33a06f508e75/macports-ports (master):

py-sphinx-autodoc-typehints: Remove py36 subport

from __future__ import annotations is only available from Python 3.7

Closed: #64407

See: https://lists.macports.org/pipermail/macports-dev/2021-December/044043.html

comment:2 Changed 2 years ago by judaew (Vadym-Valdis Yudaiev)

Thanks Ryan!

Note: See TracTickets for help on using tickets.