pyre-check
pyre-check copied to clipboard
Issue with release 0.9.16 and Python 3.6
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
- Install Python 3.6
- Install pyre-check
- run
pyre check
- 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:
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.