How to get latest version of myhdl?

Hi,
I was following the official MyHDL site instructions, and installed myhdl using “pip install myhdl” and “pip install --upgrade myhdl”.
As a result, I got version 0.11 which dates back to 2019 and does not work with python 3.9+(!).
I wasted many hours trying to understand what I am doing wrong until I found out this is a known issue which was already fixed 1.5 years ago. after I downgraded my python version the issue was indeed gone.
but my question is - how can I get latest release with all the fixes?
Thanks,
Noam

Hi Noam,

Apologies, but the PyPi is not kept up to date by the previous maintainers and I don’t have the ‘key’
You can install the master branch directly from the GutHub repository:
pip install git+https://github.com/josyb/myhdl.git@master
The master branch is tested against CPython 3.7, 3.8, 3.9, 3.10, 3.11 and PyPy 3.9

Best regards,
Josy

Oops, I copied the link from another test.
The correct command is: pip install git+https://github.com/myhdl/myhdl.git@master
(although my fork is almost always up to date)

1 Like

Thank you very much :pray:

The release to PyPi can be done through github actions and tags.

Who do you have to talk to, to get ownership added to the PyPi account? If that isn’t possible it is possible to request it be transferred.

Dave,

I reached out to our BDFL, who gave me write rights to the repositories. I asked about PyPi and he added me as a maintainer - but I haven’t figured out yet how to. Sure you will give me hand?

First thing to add is a subminor version - so we can keep track

Sure, you will need to add me as a maintainer at least, lets see if that is enough to enable it, my PyPi user id is davekeeshan

@josyb Actually that might be overkill, all I might need is PYPI_API_TOKEN and even then all I need to do is have it added to the github actions setup. I know how to generate that token though, if that is where you are stuck