From dd6f71d7971dcc3c22662e1d0af41d5823977d80 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Sat, 26 Oct 2024 00:53:48 +0900 Subject: [PATCH 1/2] Use python -m build for wheel and sdist --- .github/workflows/make-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml index cb7bbcb1..3dadadb3 100644 --- a/.github/workflows/make-release.yml +++ b/.github/workflows/make-release.yml @@ -21,9 +21,10 @@ jobs: - name: Install Dependencies run: | python -m pip install --upgrade pip + python -m pip install build python -m pip install -e . # need full install so we can build type stubs - name: Build Distribution - run: python setup.py sdist bdist_wheel + run: python -m build - name: Publish PyPI Package uses: pypa/gh-action-pypi-publish@release/v1 with: From be9ad871e9df768950ed49b0b74f2854b4f1a885 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Sat, 26 Oct 2024 00:55:07 +0900 Subject: [PATCH 2/2] Add this PR to release notes --- doc/misc/release-notes/release-v0.12.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/misc/release-notes/release-v0.12.md b/doc/misc/release-notes/release-v0.12.md index 418ed2c9..18faaf34 100644 --- a/doc/misc/release-notes/release-v0.12.md +++ b/doc/misc/release-notes/release-v0.12.md @@ -58,6 +58,8 @@ release! 🙏 You can find the full list of changes below: ## Misc +- [#232](https://github.com/jni/skan/pull/232): Use python -m build for wheel + and sdist - [#218](https://github.com/jni/skan/pull/218): Fix pyproject.toml metadata formatting - [#217](https://github.com/jni/skan/pull/217): Migrate from setup.cfg to