Is there documentation about what python versions are supported now?
I took a look at updating the homebrew formula for quex. Homebrew has python 3.7, 3.8, and 3.9 available currently. I hit some immediate issues with 3.8 but that seems to be fixed if I backported one little fix from the git head, but I'm not sure if that is really a complete fix for 3.7 use: https://github.com/Homebrew/homebrew-core/pull/70789
Of course best would be an upstream release with an explicit indication of what python versions it can use.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not an end-user of quex. I was only looking into it as part of doing some maintenance works on Homebrew.
Homebrew has had a quex build formula for a long time but until recently it was using a python-2 version (which has been deprecated in homebrew) and am just trying to get a reliable python 3 version integrated.
As mentioned above we are now using 0.71.0 but are using it with python 3.7 (the earliest homebrew supports) with it and are just working around obvious incompatibilities. Obviously a formal release that includes support for python 3.9 would be ideal from homebrew's perspective.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I do
python3.8 quex-exe.py
I get
Exception occurred -- please, report a bug under
Getting a little inside I do
python3.8
from quex.blackboard import setup
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/tmp/portage/dev-python/quex-0.71.0-r1/work/quex-0.71.0/quex/blackboard.py", line 22, in <module>
setup = QuexSetup(SETUP_INFO, bc_factory)
File "/var/tmp/portage/dev-python/quex-0.71.0-r1/work/quex-0.71.0/quex/input/setup.py", line 72, in init
self.init(SetupInfo)
File "/var/tmp/portage/dev-python/quex-0.71.0-r1/work/quex-0.71.0/quex/input/setup.py", line 130, in init
elif entry[1] in SetupParTypes:
File "/usr/lib/python3.8/enum.py", line 352, in contains
raise TypeError(
TypeError: unsupported operand type(s) for 'in': 'int' and 'EnumMeta'</module></module></stdin>
OK, I am on it. However, on my linux machine I am not able to reproduce the error. I will try to submit a tar file this evening with a current stable version of Quex. If I get a chance, I am also investigating on MacOs.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there documentation about what python versions are supported now?
I took a look at updating the homebrew formula for quex. Homebrew has python 3.7, 3.8, and 3.9 available currently. I hit some immediate issues with 3.8 but that seems to be fixed if I backported one little fix from the git head, but I'm not sure if that is really a complete fix for 3.7 use: https://github.com/Homebrew/homebrew-core/pull/70789
Of course best would be an upstream release with an explicit indication of what python versions it can use.
I will look into it this weekend. Python 3.9 should be supported, then. Can you please, send me your use-case?
I am not an end-user of quex. I was only looking into it as part of doing some maintenance works on Homebrew.
Homebrew has had a quex build formula for a long time but until recently it was using a python-2 version (which has been deprecated in homebrew) and am just trying to get a reliable python 3 version integrated.
See: https://github.com/Homebrew/homebrew-core/blob/master/Formula/quex.rb
As mentioned above we are now using 0.71.0 but are using it with python 3.7 (the earliest homebrew supports) with it and are just working around obvious incompatibilities. Obviously a formal release that includes support for python 3.9 would be ideal from homebrew's perspective.
If I do
python3.8 quex-exe.py
I get
Exception occurred -- please, report a bug under
Getting a little inside I do
python3.8
from quex.blackboard import setup
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/tmp/portage/dev-python/quex-0.71.0-r1/work/quex-0.71.0/quex/blackboard.py", line 22, in <module>
setup = QuexSetup(SETUP_INFO, bc_factory)
File "/var/tmp/portage/dev-python/quex-0.71.0-r1/work/quex-0.71.0/quex/input/setup.py", line 72, in init
self.init(SetupInfo)
File "/var/tmp/portage/dev-python/quex-0.71.0-r1/work/quex-0.71.0/quex/input/setup.py", line 130, in init
elif entry[1] in SetupParTypes:
File "/usr/lib/python3.8/enum.py", line 352, in contains
raise TypeError(
TypeError: unsupported operand type(s) for 'in': 'int' and 'EnumMeta'</module></module></stdin>
OK, I am on it. However, on my linux machine I am not able to reproduce the error. I will try to submit a tar file this evening with a current stable version of Quex. If I get a chance, I am also investigating on MacOs.
I just uploaded version 0.71.2 in which I am definitely not able to see the issue anymore. Please, verify
OK I opened a homebrew PR to update to 0.71.2: https://github.com/Homebrew/homebrew-core/pull/76539
Still does not work here on python3.8. It does on python 3.9. Maybe is my environment? However I am happy with it.