New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SyntaxError on python2.7.5 in 0.15.3 #1544
Comments
should be an easy fix, let me see what I can do here, I've never seen this error before though! |
I recommend adding 2.7.5 to your tox.ini
…On Tue, May 14, 2019, 20:17 Anthony Sottile ***@***.***> wrote:
should be an easy fix, let me see what I can do here, I've never seen this
error before though!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1544?email_source=notifications&email_token=AIQ6EKRWNORHHCPG3IJFHSLPVNQBFA5CNFSM4HM6OKBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVNHJKI#issuecomment-492467369>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIQ6EKQXWOD2YAUB6OIKH63PVNQBFANCNFSM4HM6OKBA>
.
|
It wouldn't do any good, most people don't have 2.7.5 installed, adding an entry to tox wouldn't solve that. Additionally we don't have unlimited resources to check every patch version of every Python on CI. At some point we have to assume people install patches. |
True for the most part, but imo the versions that ship with CentOS and are
in epel are good to have just because they're the ones commonly in usage.
…On Tue, May 14, 2019, 20:22 David Lord ***@***.***> wrote:
It wouldn't do any good, most people don't have 2.7.5 installed, adding an
entry to tox wouldn't solve that. Additionally we don't have unlimited
resources to check every patch version of every Python on CI. At some point
we have to assume people install patches.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1544?email_source=notifications&email_token=AIQ6EKXAK3RPZGGD6XCUJELPVNQUVA5CNFSM4HM6OKBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVNHRCI#issuecomment-492468361>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIQ6EKS2YXURY5X57JVH2JTPVNQUVANCNFSM4HM6OKBA>
.
|
#1545 has a fix, wasn't too difficult. tox both doesn't support 3-number versions and doens't help you install that version of python. Neither travis-ci nor azure pipelines ship with that old of a python version either -- we would have to do some complex docker trickery to end up with that version which simply isn't worth it for a soon-dead version of python |
Makes sense. Forget I asked.
…On Tue, May 14, 2019, 20:25 Anthony Sottile ***@***.***> wrote:
#1545 <#1545> has a fix, wasn't
too difficult. tox both doesn't support 3-number versions and doens't help
you install that version of python.
Neither travis-ci nor azure pipelines ship with that old of a python
version either -- we would have to do some complex docker trickery to end
up with that version which simply isn't worth it for a soon-dead version of
python
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1544?email_source=notifications&email_token=AIQ6EKQDGGQCHU43MU6FZS3PVNQ7RA5CNFSM4HM6OKBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVNHVIA#issuecomment-492468896>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIQ6EKVJQSGXPAKZE375SQ3PVNQ7RANCNFSM4HM6OKBA>
.
|
nah it's fine <3 -- good thought on putting some testing in place to prevent regressions, it's just prohibitively difficult in this situation |
Released 0.15.4 |
That was fast! thanks! |
Avoid syntax error on old Python: pallets/werkzeug#1544
Traceback:
I haven't dug too deep into this, but I suspect it's the comprehensions which, in python2.7.5, are treated as subfunctions https://stackoverflow.com/a/52498591/8826764
python2.7.5 is important to support as it's the default python version shipped with centos7, and we're not at EOL quite yet.
I'll have time on the weekend to make an MR for this if that's OK with y'all.
If not, please change the setup python_requires to require a higher version of python.
The text was updated successfully, but these errors were encountered: