fastmachinelearning / hls4ml

Machine learning on FPGAs using HLS
https://fastmachinelearning.org/hls4ml
Apache License 2.0
1.22k stars 396 forks source link

Fix version extraction in Sphinx config #669

Closed vloncar closed 1 year ago

vloncar commented 1 year ago

Description

With the merging of #479 the location of __version__ changed and Sphinx config still tries to extract it from hls4ml/__init__.py. This changes the config of Sphinx to extract the version information from the new _version.py.

Type of change

jmduarte commented 1 year ago

@vloncar what a nightmare trying to get the sphinx-action GitHub action to work. Let me summarize:

Now it works.

vloncar commented 1 year ago

@jmduarte I fixed the failing test of reading h5 file. It failed in quartus for unrelated reason, due to the name of the project not being propagated. Ready to (squash and) merge now?