Skip to content

Conversation

lukazlim
Copy link

@lukazlim lukazlim commented Mar 4, 2025

Existing Sample Changes

Description

Pip normalizes all package names which shouldn't have any errors when installing packages e.g., tensorflow_hub and tensorflow-hub is treated as the same and will install tensorflow-hub, however if users install using 'conda install' it will encounter module not found errors as conda does not normalize module package names. This change is also to standardize those module names to be the same as the names in package repositories.

Not related to any issue tickets.

External Dependencies

No additional external dependencies.

Type of change

Please delete options that are not relevant. Add a 'X' to the one that is applicable.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Command Line
  • oneapi-cli
  • Visual Studio
  • Eclipse IDE
  • VSCode
  • When compiling the compliler flag "-Wall -Wformat-security -Werror=format-security" was used

Pip normalizes all package names which shouldn't have any errors when
installing packages e.g., tensorflow_hub and tensorflow-hub is treated as
the same and will install tensorflow-hub, however if users install using
'conda install' it will encounter module not found errors as conda does
not normalize module package names. This change is also to standardize
module names in requirements.txt files to be the same as the names in
pip repositories

Signed-off-by: Lim, Lukaz Wei Hwang <[email protected]>
@fongjiantan
Copy link
Contributor

This PR is submitted under oneAPI_CS_Team4 for hackathon

@Ankur-singh
Copy link
Contributor

@lukazlim thanks for the great PR. It's a subtle but good quality of life improvement.

@jimmytwei the PR LGTM.

@jimmytwei jimmytwei merged commit 399c2a9 into oneapi-src:development Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants