Skip to content

Use pyproject.toml#432

Merged
mhs4670go merged 2 commits intoSamsung:mainfrom
dayo09:0112-fix-build
Jan 19, 2026
Merged

Use pyproject.toml#432
mhs4670go merged 2 commits intoSamsung:mainfrom
dayo09:0112-fix-build

Conversation

@dayo09
Copy link
Copy Markdown
Contributor

@dayo09 dayo09 commented Jan 12, 2026

Use pyproject.toml
Let's use pyproject.toml.
This change also includes..

  • bump version to 0.2.0 and tag nightly as 0.2.0.devYYMMDD
  • use versioiningit pypi tool to generate dev tag

TICO-DCO-1.0-Signed-off-by: Dayoung Lee dayoung.lee@samsung.com


For #429

ubuntu_version: [22.04]
steps:
- uses: actions/checkout@v4
with:
Copy link
Copy Markdown
Contributor Author

@dayo09 dayo09 Jan 15, 2026

Choose a reason for hiding this comment

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

workflow test succeeded!

I tested this workflow runs well and successfully published to testpypi with tag: 0.2.0.dev260115 with the DRAFT.

pr: #439
workflow: https://github.com/Samsung/TICO/actions/runs/21028314000

testpypi deployment
https://test.pypi.org/project/tico/0.2.0.dev260115/

@dayo09 dayo09 force-pushed the 0112-fix-build branch 2 times, most recently from e712e36 to 2338f14 Compare January 16, 2026 09:22
Let's use pyproject.toml.
This change also includes..
- bump version to 0.2.0 and tag nightly as 0.2.0.devYYMMDD
- use versioiningit pypi tool to generate dev tag

TICO-DCO-1.0-Signed-off-by: Dayoung Lee <dayoung.lee@samsung.com>
Comment thread .gitignore
# Distribution
build/
dist/
*/_version.py
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.

This will be produced by versioningit while building package (./ccex build)

Comment thread infra/scripts/build.sh
# Install Required Package
#
# NOTE To add additional build dependencies, append to `requires` field of [build-system] in pyproject.toml
python3 -m pip install build
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.

Use build instead of setuptools

apt-get install -f -y
onecc --version || echo "Installation failed."

- name: Trust all directories for Git
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.

Required for git action to access cloned git repository

@dayo09 dayo09 changed the title DRAFT: Update build tools Use pyproject.toml Jan 16, 2026
@dayo09 dayo09 marked this pull request as ready for review January 16, 2026 09:28
apt-get install -y curl git lsb-release unzip jq
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Import all commit history and tag
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.

What is this line for?

Copy link
Copy Markdown
Contributor Author

@dayo09 dayo09 Jan 19, 2026

Choose a reason for hiding this comment

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

@mhs4670go
versioningit requires branch information to inspect whether there's new commit after recently released tags.
So, git clone needs to fetch all commit history and tag.

Copy link
Copy Markdown
Contributor

@mhs4670go mhs4670go left a comment

Choose a reason for hiding this comment

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

LGTM

@mhs4670go mhs4670go merged commit aaf55d7 into Samsung:main Jan 19, 2026
8 checks passed
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.

2 participants