pyre-check icon indicating copy to clipboard operation
pyre-check copied to clipboard

Issue with release 0.9.16 and Python 3.6

Open MatteoH2O1999 opened this issue 2 years ago • 0 comments

Release 0.9.16 is classified as compatible with Python 3.6 while it is not

Bug description Latest release (v0.9.16) is classified by PyPY as being compatible with Python 3.6 while support for it has been dropped.

Reproduction steps

  1. Install Python 3.6
  2. Install pyre-check
  3. run pyre check
  4. Error with line `from future import annotations

Expected behavior PyPI should not let me download version 0.9.16 but instead recognizing that the last compatible version is 0.9.15

Logs

In general the error looks something like this:

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.6.15/x64/bin/pyre", line 5, in <module>
    from pyre_check.client.pyre import main
  File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/pyre_check/client/pyre.py", line 1[9](https://github.com/MatteoH2O1999/python_code_extractor/actions/runs/3167079130/jobs/5157311051#step:8:10), in <module>
    from . import (
  File "/opt/hostedtoolcache/Python/3.6.[15](https://github.com/MatteoH2O1999/python_code_extractor/actions/runs/3167079130/jobs/5157311051#step:8:16)/x64/lib/python3.6/site-packages/pyre_check/client/command_arguments.py", line 6
    from __future__ import annotations
    ^
SyntaxError: future feature annotations is not defined

Please run your reproduction steps followed by pyre rage > pyre_rage.log, and upload the file here:

pyre-CI-3_6.txt

Additional context

Additional venv dependencies black code formatter

Possible fix #670 should fix this issue for future version but 0.9.16 is released already so I don't really know how to solve this issue.

MatteoH2O1999 avatar Oct 02 '22 12:10 MatteoH2O1999