From ffc2b69623b94ff1480ae5eff3d797a96923e1f4 Mon Sep 17 00:00:00 2001 From: Pavel Iakubovskii Date: Tue, 7 Jan 2025 20:44:00 +0000 Subject: [PATCH 1/2] Bump version --- segmentation_models_pytorch/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/segmentation_models_pytorch/__version__.py b/segmentation_models_pytorch/__version__.py index 478f3a06..b87975ee 100644 --- a/segmentation_models_pytorch/__version__.py +++ b/segmentation_models_pytorch/__version__.py @@ -1,3 +1,3 @@ -VERSION = (0, 3, "5dev0") +VERSION = (0, 4, 0) __version__ = ".".join(map(str, VERSION)) From b73b62442b43808edb0cf006c4151be727548ed2 Mon Sep 17 00:00:00 2001 From: Pavel Iakubovskii Date: Tue, 7 Jan 2025 20:56:04 +0000 Subject: [PATCH 2/2] Update PyPI upload CI --- .github/workflows/pypi.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 0b94f6f3..7cd9c3ec 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -15,12 +15,12 @@ jobs: python-version: '3.9' - name: Install dependencies run: | - python -m pip install --upgrade pip uv - python -m uv pip install setuptools wheel twine + pip install --upgrade pip uv + uv pip install build twine - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - python setup.py sdist bdist_wheel + python -m build twine upload dist/*