From 1e704530cea02cc5b1b5a9049da432f232f0276f Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Fri, 3 Apr 2026 15:17:13 +0200 Subject: Upgraded libraries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Python: - Migrate to uv for dependency management; consolidate setup.cfg and requirements files into pyproject.toml (PEP 621) - Upgrade websockets 10 → 16; update import to ClientConnection and remove deprecated WebSocketClientProtocol - Fix PubSub.history classmethod/property combo removed in Python 3.13 - Set requires-python = ">=3.10" (minimum for match statement) JavaScript: - Upgrade React 18 → 19, Vite 5 → 8, TypeScript 5 → 6 and all other frontend dependencies to latest - Replace ReactDOM.render with createRoot (removed in React 18) - Swap react-json-view for @microlink/react-json-view (React 19 support) CI: - Switch GitHub Actions build to uv and --frozen-lockfile yarn install --- .github/workflows/python-publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.github/workflows/python-publish.yml') diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 506f187..3c34e1f 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -23,15 +23,15 @@ jobs: node-version: '22' - name: Install node dependencies run: | - yarn install + yarn install --frozen-lockfile - name: Install python dependencies run: | - python -m pip install --upgrade pip - pip install build + pip install uv + uv sync --no-group dev - name: Build package run: | yarn build - python -m build + uv build - name: Publish package uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 if: github.event_name != 'pull_request' -- cgit v1.2.3