Skip to content
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

Make build system use Python3. #100

Closed
m-kru opened this issue May 16, 2020 · 1 comment
Closed

Make build system use Python3. #100

m-kru opened this issue May 16, 2020 · 1 comment

Comments

@m-kru
Copy link

m-kru commented May 16, 2020

make -C gnatstudio default
make[1]: Entering directory '/home/mkru/workspace/gps/gnatstudio'
cd ../kernel/src; python hooks.py
Traceback (most recent call last):
  File "hooks.py", line 2105, in <module>
    generate()
  File "hooks.py", line 1109, in generate
    f.write('''--  Automatically generated from hooks.py
TypeError: a bytes-like object is required, not 'str'
make[1]: *** [Makefile:42: all] Error 1
make[1]: Leaving directory '/home/mkru/workspace/gps/gnatstudio'
make: *** [Makefile:21: all] Error 2

This is due to the fact, that build system requires Python2. As of January 1 2020 Python 2 support has been dropped. Can you please update the build system? It has been more than 5 months.

@godunko
Copy link
Contributor

godunko commented May 16, 2020

Thank you for report. We are working on transition to Python3. Right now, Python 2 is required to build GNAT Studio.

@godunko godunko closed this as completed May 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants