[kdev-python] [Bug 411956] Fails to build against Python 3.8

2020-08-19 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=411956

--- Comment #7 from Francis Herne  ---
Those files should not be byte-compiled.

They are never intended to be executed; kdev-python parses them as-is to
provide information about the relevant modules.

Compiling or executing them in any other way will not do anything useful and
may cause problems.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdev-python] [Bug 411956] Fails to build against Python 3.8

2020-03-27 Thread Jan Grulich
https://bugs.kde.org/show_bug.cgi?id=411956

Jan Grulich  changed:

   What|Removed |Added

 Blocks||419290


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=419290
[Bug 419290] Fails to build against Python 3.9
-- 
You are receiving this mail because:
You are watching all bug changes.

[kdev-python] [Bug 411956] Fails to build against Python 3.8

2019-11-02 Thread John
https://bugs.kde.org/show_bug.cgi?id=411956

John  changed:

   What|Removed |Added

 CC||jo...@posteo.net

--- Comment #6 from John  ---
The PyKDE4 documentation (khtml.py and kdecore.py) still contain invalid syntax
for python 3.8


kdevelop-python-5.4.2_2: configuring ...
Byte-compiling python code in usr/share/kdevpythonsupport...
*** Error compiling
'usr/share/kdevpythonsupport/documentation_files/PyKDE4/kdecore.py'...
  File "usr/share/kdevpythonsupport/documentation_files/PyKDE4/kdecore.py",
line 315
def setExecutesAsync(self, async):
   ^
SyntaxError: invalid syntax

*** Error compiling
'usr/share/kdevpythonsupport/documentation_files/PyKDE4/khtml.py'...
  File "usr/share/kdevpythonsupport/documentation_files/PyKDE4/khtml.py", line
1622
def async(self):
^
SyntaxError: invalid syntax


And a bunch of warnings for others:

usr/share/kdevpythonsupport/documentation_files/numpy.py:33741: SyntaxWarning:
'NoneType' object is not callable; perhaps you missed a comma?
  return None()

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdev-python] [Bug 411956] Fails to build against Python 3.8

2019-10-25 Thread David Geiger
https://bugs.kde.org/show_bug.cgi?id=411956

--- Comment #5 from David Geiger  ---
Confirmed on Mageia Cauldron that now kdev-python build against python 3.8.

Thanks!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdev-python] [Bug 411956] Fails to build against Python 3.8

2019-10-23 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=411956

--- Comment #4 from Francis Herne  ---
Note: the patch linked also applies cleanly against 5.4.x, pending a 5.5
release.

Testing now.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdev-python] [Bug 411956] Fails to build against Python 3.8

2019-10-23 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=411956

Francis Herne  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/kde/
   ||kdev-python/commit/e23fa8f1
   ||5af89a8bd4bd84dd96b5fd70174
   ||57516
 Status|ASSIGNED|RESOLVED
   Version Fixed In||5.5.0

--- Comment #3 from Francis Herne  ---
Git commit e23fa8f15af89a8bd4bd84dd96b5fd7017457516 by Francis Herne.
Committed on 23/10/2019 at 14:08.
Pushed by flherne into branch 'master'.

Initial Python 3.8 support.

This allows kdev-python to be built and run against CPython 3.8,
 and if so to parse files containing 3.8 syntax.
FIXED-IN: 5.5.0

M  +2-2CMakeLists.txt
M  +9-1duchain/declarationbuilder.cpp
M  +1-0duchain/declarationbuilder.h
M  +4-0duchain/expressionvisitor.cpp
M  +1-0duchain/expressionvisitor.h
M  +19   -0duchain/tests/pyduchaintest.cpp
M  +6-1parser/ast.cpp
M  +9-0parser/ast.h
M  +6-0parser/astbuilder.cpp
M  +6-0parser/astdefaultvisitor.cpp
M  +2-0parser/astdefaultvisitor.h
M  +1-0parser/astvisitor.cpp
M  +1-0parser/astvisitor.h
M  +7-4parser/conversionGenerator.py
M  +36   -0parser/generated.h
R  +49   -6parser/python38.sdef [from: parser/python36.sdef - 082%
similarity]
M  +5-0parser/tests/pyasttest.cpp

https://invent.kde.org/kde/kdev-python/commit/e23fa8f15af89a8bd4bd84dd96b5fd7017457516

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdev-python] [Bug 411956] Fails to build against Python 3.8

2019-10-20 Thread Heiko Becker
https://bugs.kde.org/show_bug.cgi?id=411956

Heiko Becker  changed:

   What|Removed |Added

 CC||heire...@exherbo.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdev-python] [Bug 411956] Fails to build against Python 3.8

2019-10-02 Thread David Geiger
https://bugs.kde.org/show_bug.cgi?id=411956

David Geiger  changed:

   What|Removed |Added

 CC||geiger.david68...@gmail.com

--- Comment #2 from David Geiger  ---
Same issue here on Mageia Cauldron with Python 3.8.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdev-python] [Bug 411956] Fails to build against Python 3.8

2019-09-19 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=411956

Francis Herne  changed:

   What|Removed |Added

   Priority|NOR |HI
   Assignee|m...@svenbrauch.de  |m...@flherne.uk
 CC||m...@flherne.uk
 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #1 from Francis Herne  ---
As usual, the ast API in 3.8 has incompatible changes.

I'm looking at it now.

-- 
You are receiving this mail because:
You are watching all bug changes.