Skip to content

[common-artifacts] Split python package list#15319

Merged
seanshpark merged 1 commit into
Samsung:masterfrom
seanshpark:cmnarts_pkglist_split_810
May 8, 2025
Merged

[common-artifacts] Split python package list#15319
seanshpark merged 1 commit into
Samsung:masterfrom
seanshpark:cmnarts_pkglist_split_810

Conversation

@seanshpark

Copy link
Copy Markdown
Contributor

This will split python package list by python version 3.8 and 3.10.

This will split python package list by python version 3.8 and 3.10.

ONE-DCO-1.0-Signed-off-by: SaeHie Park <saehie.park@gmail.com>
@seanshpark

Copy link
Copy Markdown
Contributor Author

@seanshpark seanshpark requested a review from a team May 8, 2025 01:08

@shs-park shs-park left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a question,
PTAL
=)

Comment on lines +77 to +102
if (PYTHON_VERSION_MINOR EQUAL 8)
# python3.8; Ubuntu 18.04, 20.04
if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
list(APPEND PY_PKG_LIST "tensorflow==2.12.1")
else(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
list(APPEND PY_PKG_LIST "tensorflow-cpu==2.12.1")
endif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
list(APPEND PY_PKG_LIST "flatbuffers==23.5.26")
list(APPEND PY_PKG_LIST "protobuf==4.23.3")
list(APPEND PY_PKG_LIST "pydot==1.4.2")
list(APPEND PY_PKG_LIST "pytest==7.4.3")
list(APPEND PY_PKG_LIST "h5py==3.11.0")
list(APPEND PY_PKG_LIST "cffi==1.16.0")
elseif (PYTHON_VERSION_MINOR EQUAL 10)
# python 3.10; Ubuntu 22.04
if(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
list(APPEND PY_PKG_LIST "tensorflow==2.12.1")
else(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
list(APPEND PY_PKG_LIST "tensorflow-cpu==2.12.1")
endif(CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "aarch64")
list(APPEND PY_PKG_LIST "flatbuffers==23.5.26")
list(APPEND PY_PKG_LIST "protobuf==4.23.3")
list(APPEND PY_PKG_LIST "pydot==1.4.2")
list(APPEND PY_PKG_LIST "pytest==7.4.3")
list(APPEND PY_PKG_LIST "h5py==3.11.0")
list(APPEND PY_PKG_LIST "cffi==1.16.0")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that all the versions between Python 3.8 and 3.10 are currently the same.
Was this intentional?

@seanshpark seanshpark May 8, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this PR is splitting for supporting two versions.
upcoming PRs will do modifications and add 12 and so on.

@shs-park shs-park left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
=)

@seanshpark seanshpark merged commit 0c678e2 into Samsung:master May 8, 2025
@seanshpark seanshpark deleted the cmnarts_pkglist_split_810 branch May 8, 2025 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants