This repository was archived by the owner on Jul 5, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 54
MSVC 10.0 build failing for ast27/Python/ast.c #121
Comments
Python 3.4 is not supported anymore (reached its EoL), is this also relevant for newer versions of Python? |
I don't posses the knowledge of he ecosystem - as long as typed_ast can be
compiled with MSVC 10 for newer python versions then this problem still
applies.
Dne čt 6. 6. 2019 11:51 uživatel Ivan Levkivskyi <[email protected]>
napsal:
… Python 3.4 is not supported anymore (reached its EoL), is this also
relevant for newer versions of Python?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#121?email_source=notifications&email_token=AAWMMDEC3LUAZBSNGGY4NWLPZDMYPA5CNFSM4HU7BBLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXCKXUI#issuecomment-499428305>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAWMMDANU5ITJ4DT6VFRWODPZDMYPANCNFSM4HU7BBLA>
.
|
@vladak Python 3.5+ use the newer VS 14.x compiler, so you probably want to use that. |
OK, let's close this then. |
We also ran into this issue, e.g. see this Appveyor log Python 3.4 was retired just in march this year. Many people are still using it and many packages still define Python 3.4 as a minimum Python version. For example, this article (also from march this year) describes how to install Python 3.3, 3.4, 3.5, 3.6 into CentOS 7. RHEL 7 and CentOS 7 are still widely used. It may be an easy way out not to fix this issue just because Python 3.4 is retired, but it is not very user friendly. |
andy-maier
added a commit
to andy-maier/python-yagot
that referenced
this issue
Mar 7, 2020
Details: * Building the wheel for typed-ast fails with an error that was already reported to typed-ast as python/typed_ast#121 but was decided not to be fixed because the error only showed up on Python 3.4 (or only with MSVC 10.0 ?). This fix pins the version of typed-ast to <1.4.0 on Python 3.4. * In addition, typed-ast was missing completely so far from the requirements anbd constraints files, and was added with a minimum version of 1.3.0. Signed-off-by: Andreas Maier <[email protected]>
andy-maier
added a commit
to andy-maier/python-yagot
that referenced
this issue
Mar 7, 2020
Details: * Building the wheel for typed-ast fails with an error that was already reported to typed-ast as python/typed_ast#121 but was decided not to be fixed because the error only showed up on Python 3.4 (or only with MSVC 10.0 ?). This fix pins the version of typed-ast to <1.4.0 on Python 3.4. * In addition, typed-ast was missing completely so far from the requirements and constraints files, and was added with a minimum version of 1.3.0. * For Python 3.8 and higher, defined typed-ast verion 1.4.0 as the minimum, see issue python/typed_ast#126 Signed-off-by: Andreas Maier <[email protected]>
andy-maier
added a commit
to andy-maier/python-yagot
that referenced
this issue
Mar 7, 2020
Details: * Building the wheel for typed-ast fails with an error that was already reported to typed-ast as python/typed_ast#121 but was decided not to be fixed because the error only showed up on Python 3.4 (or only with MSVC 10.0 ?). This fix pins the version of typed-ast to <1.4.0 on Python 3.4. * In addition, typed-ast was missing completely so far from the requirements and constraints files, and was added with a minimum version of 1.3.0. * For Python 3.8 and higher, defined typed-ast verion 1.4.0 as the minimum, see issue python/typed_ast#126 Signed-off-by: Andreas Maier <[email protected]>
andy-maier
added a commit
to andy-maier/python-yagot
that referenced
this issue
Mar 7, 2020
Details: * Building the wheel for typed-ast fails with an error that was already reported to typed-ast as python/typed_ast#121 but was decided not to be fixed because the error only showed up on Python 3.4 (or only with MSVC 10.0 ?). This fix pins the version of typed-ast to <1.4.0 on Python 3.4. * In addition, typed-ast was missing completely so far from the requirements and constraints files, and was added with a minimum version of 1.3.0. * For Python 3.8 and higher, defined typed-ast verion 1.4.0 as the minimum, see issue python/typed_ast#126 Signed-off-by: Andreas Maier <[email protected]>
andy-maier
added a commit
to andy-maier/cookiecutter-python
that referenced
this issue
Mar 7, 2020
Details: * Building the wheel for typed-ast fails with an error that was already reported to typed-ast as python/typed_ast#121 but was decided not to be fixed because the error only showed up on Python 3.4 (or only with MSVC 10.0 ?). This fix pins the version of typed-ast to <1.4.0 on Python 3.4. * In addition, typed-ast was missing completely so far from the requirements and constraints files, and was added with a minimum version of 1.3.0. * For Python 3.8 and higher, defined typed-ast verion 1.4.0 as the minimum, see issue python/typed_ast#126 Signed-off-by: Andreas Maier <[email protected]>
andy-maier
added a commit
to andy-maier/cookiecutter-python
that referenced
this issue
Mar 7, 2020
Details: * Building the wheel for typed-ast fails with an error that was already reported to typed-ast as python/typed_ast#121 but was decided not to be fixed because the error only showed up on Python 3.4 (or only with MSVC 10.0 ?). This fix pins the version of typed-ast to <1.4.0 on Python 3.4. * In addition, typed-ast was missing completely so far from the requirements and constraints files, and was added with a minimum version of 1.3.0. * For Python 3.8 and higher, defined typed-ast verion 1.4.0 as the minimum, see issue python/typed_ast#126 Signed-off-by: Andreas Maier <[email protected]>
andy-maier
added a commit
to andy-maier/cookiecutter-python-package
that referenced
this issue
Jan 27, 2021
Details: * Building the wheel for typed-ast fails with an error that was already reported to typed-ast as python/typed_ast#121 but was decided not to be fixed because the error only showed up on Python 3.4 (or only with MSVC 10.0 ?). This fix pins the version of typed-ast to <1.4.0 on Python 3.4. * In addition, typed-ast was missing completely so far from the requirements and constraints files, and was added with a minimum version of 1.3.0. * For Python 3.8 and higher, defined typed-ast verion 1.4.0 as the minimum, see issue python/typed_ast#126 Signed-off-by: Andreas Maier <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The MSVC 10.0 compilation of ast27/Python/ast.c seems to have started failing couple of days ago with:
see https://ci.appveyor.com/api/buildjobs/80p1fa1y6lompwt8/log for full log.
I see a change has been made to the file via #116 some 2 days ago: https://github.com/python/typed_ast/blame/master/ast27/Python/ast.c#L300 and it looks like MSVC C compiler does not like variable declarations in the middle of a block. In this case it is the
type_ignore_ty ti
definition.There have been some related fixups in the past like #47 so this seems to be just another case.
Sorry about not providing a fix, this is happening in our AppVeyor build; normally I don't have access to Windows.
The text was updated successfully, but these errors were encountered: