tinyfpga / TinyFPGA-B-Series

Open source design files for the TinyFPGA B-Series boards.
GNU General Public License v3.0
190 stars 35 forks source link

tinyfpgab doesn't work with Python 3 #13

Closed afiskon closed 6 years ago

afiskon commented 6 years ago

Considering that Python 2 will be officially deprecated in 2020 it's worth considering to make tinyfpgab compatible with Python 3.

Obijuan commented 6 years ago

We are migrating icestudio and Apio to python3. Everything has been already migrated except the tinyFPGA programmer. It would be great to achieve it.

I will do it, and test it. If @tinyfpga agree, the first task is to create a branch (let's call it python3 for example). Then I will pull-req the migration to that branch so that we all can test it. Is it ok for you, Luke?

tinyfpga commented 6 years ago

That would be great. I agree that Python 3 is the way to go. If you move tinyfpgab to Python 3 and its tested I will merge it in. Thanks!

Obijuan commented 6 years ago

There you have an initial pull request. I am waiting for your commands on how to proceed. As you like

Jesus89 commented 6 years ago

Hi @tinyfpga.

Could you create and upload a new release for the programmer (1.1.0) with the latest changes (Python2 and Python3 support)?

Then, we could close finally this ticket :wink:

Thanks.

tinyfpga commented 6 years ago

Ok @Jesus89 and @Obijuan, it took too long, but tinyfpgab v1.1.0 with Python 3 support is released on pypi.

Jesus89 commented 6 years ago

Thanks Luke!