From 6828194176557d8a9e05535e31a356a023988ff7 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Tue, 4 Nov 2025 06:50:39 +0100 Subject: [PATCH 1/2] ci --- .github/workflows/publish-pypi.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index dfa5f87..71b1d3e 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -5,29 +5,29 @@ on: jobs: build-n-publish: - name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI + name: Build and publish Python 🐍 distributions 📦 to PyPI runs-on: ubuntu-latest + environment: pypi + permissions: + # IMPORTANT: this permission is mandatory for Trusted Publishing + id-token: write steps: - uses: actions/checkout@v5 with: ref: master - - name: Set up Python 3.12 - uses: actions/setup-python@v6 + + - name: Install the latest version of uv and set the python version + uses: astral-sh/setup-uv@v7 with: python-version: '3.12' + activate-environment: true - - name: Install setuptools - run: | - python -m pip install --upgrade pip - python -m pip install --upgrade setuptools wheel twine + - name: Install Packages + run: uv sync --frozen - - name: Build a binary wheel and a source tarball - run: | - python setup.py sdist bdist_wheel + - name: Build package + run: uv build - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.pypi_api_key }} From 2205a48fc09019b69bc832e370354fdd325b21d8 Mon Sep 17 00:00:00 2001 From: spacemanspiff2007 <10754716+spacemanspiff2007@users.noreply.github.com> Date: Tue, 4 Nov 2025 06:54:17 +0100 Subject: [PATCH 2/2] ci --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4503f70..44b9dcb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pyartnet" -version = "1.0.1" +version = "2.0" description = "Python wrappers for the Art-Net protocol to send DMX over Ethernet" keywords = ["DMX", "Art-Net", "ArtNet", "sACN", "E1.31", "KiNet"]