Skip to content

Update install_requires for 1.0.0#1136

Merged
bo3z merged 2 commits intofastmachinelearning:mainfrom
vloncar:update_setup_reqs_100
Nov 23, 2024
Merged

Update install_requires for 1.0.0#1136
bo3z merged 2 commits intofastmachinelearning:mainfrom
vloncar:update_setup_reqs_100

Conversation

@vloncar
Copy link
Contributor

@vloncar vloncar commented Nov 22, 2024

Description

The current hls4ml won't install properly on an empty environment as this will pull TF 2.18 and keras v3 which are not compatible. We mention in the docs the supported versions of TF are between 2.8 and 2.14, but this was not enforced. Due to the restriction of TF 2.14 not working on python 3.12, we can only support python 3.10 and 3.11. Furthermore QKeras installation pulls version 0.9.0 which is not supported anymore. This was changed to the git version (we can put our own version if needed).

In the future once we move to a more modular base (beginnings of which are in #1094) we should also move to pyproject.toml for managing dependencies.

Type of change

  • Other (Specify) - setup update

Tests

Only concerns the environments. Shouldn't break existing test pipeline.

Checklist

yeah, yeah, I've done all of this.

@vloncar vloncar added the please test Trigger testing by creating local PR branch label Nov 22, 2024
@vloncar vloncar mentioned this pull request Nov 22, 2024
4 tasks
@bo3z
Copy link
Contributor

bo3z commented Nov 23, 2024

Looks good to me, just tested locally and it worked.

@bo3z bo3z merged commit 22878ce into fastmachinelearning:main Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

please test Trigger testing by creating local PR branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants