From ed6df7a5d2583ed644091676254c4973bba0f896 Mon Sep 17 00:00:00 2001 From: Jirka Date: Tue, 14 Feb 2023 13:34:09 +0100 Subject: [PATCH 1/3] ci: build package --- .github/actions/pkg-create/action.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/actions/pkg-create/action.yml b/.github/actions/pkg-create/action.yml index 3a1f79c5..d9737b99 100644 --- a/.github/actions/pkg-create/action.yml +++ b/.github/actions/pkg-create/action.yml @@ -15,13 +15,9 @@ runs: run: pip install "twine==4.0.2" setuptools wheel shell: bash - - name: Source check - run: python setup.py check --metadata --strict - shell: bash - - name: Create package 📦 # python setup.py clean - run: python setup.py sdist bdist_wheel + run: python -m build shell: bash - name: Check package 📦 From 5122a2a89ecd59d02e8024bebf2d7fa0746324e4 Mon Sep 17 00:00:00 2001 From: Jirka Date: Tue, 14 Feb 2023 13:36:06 +0100 Subject: [PATCH 2/3] chlog --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9596e72..219be1d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - CI/docs: allow passing env. variables ([#96](https://github.com/Lightning-AI/utilities/pull/96)) +- CI: build package ([#104](https://github.com/Lightning-AI/utilities/pull/104)) + + ### Fixed - Fixed `StrEnum.from_str` with source as key ([#99](https://github.com/Lightning-AI/utilities/pull/99)) From cc241db1e4b1119a17090a029e4aa47ab9e4e426 Mon Sep 17 00:00:00 2001 From: Jirka Date: Tue, 14 Feb 2023 13:40:17 +0100 Subject: [PATCH 3/3] build --- .github/actions/pkg-create/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pkg-create/action.yml b/.github/actions/pkg-create/action.yml index d9737b99..20cf34df 100644 --- a/.github/actions/pkg-create/action.yml +++ b/.github/actions/pkg-create/action.yml @@ -12,7 +12,7 @@ runs: steps: - name: Prepare dev. env - run: pip install "twine==4.0.2" setuptools wheel + run: pip install "twine==4.0.2" setuptools wheel build shell: bash - name: Create package 📦