You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately , version 1.5, it's not Python 3 compatible :
+ /usr/bin/python3 http://setup.py build '--executable=/usr/bin/python3 -s'
Traceback (most recent call last):
File "http://setup.py", line 7, in <module>
from fdb import __version__
File "/home/iurt/rpmbuild/BUILD/fdb-1.5/fdb/__init__.py", line 23, in <module>
from fdb.fbcore import *
File "/home/iurt/rpmbuild/BUILD/fdb-1.5/fdb/fbcore.py", line 35, in <module>
from . import schema
File "/home/iurt/rpmbuild/BUILD/fdb-1.5/fdb/schema.py", line 2524
if col.generator.inital_value <> 0:
^
SyntaxError: invalid syntax
we need to change :
if col.generator.inital_value <> 0:
Submitted by: @pmakowski
Unfortunately , version 1.5, it's not Python 3 compatible :
+ /usr/bin/python3 http://setup.py build '--executable=/usr/bin/python3 -s'
Traceback (most recent call last):
File "http://setup.py", line 7, in <module>
from fdb import __version__
File "/home/iurt/rpmbuild/BUILD/fdb-1.5/fdb/__init__.py", line 23, in <module>
from fdb.fbcore import *
File "/home/iurt/rpmbuild/BUILD/fdb-1.5/fdb/fbcore.py", line 35, in <module>
from . import schema
File "/home/iurt/rpmbuild/BUILD/fdb-1.5/fdb/schema.py", line 2524
if col.generator.inital_value <> 0:
^
SyntaxError: invalid syntax
we need to change :
if col.generator.inital_value <> 0:
for :
if col.generator.inital_value != 0:
May be there is other place to check
cf :
https://docs.python.org/3/whatsnew/3.0.html#overview-of-syntax-changes
Removed Syntax :
Removed <> (use != instead).
Commits: 5053509 FirebirdSQL/fbt-repository@cb8c943
The text was updated successfully, but these errors were encountered: