summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2026-04-03 15:17:13 +0200
committerGravatar Tom van der Lee <tom@vanderlee.io>2026-04-03 15:17:13 +0200
commit1e704530cea02cc5b1b5a9049da432f232f0276f (patch)
tree749d19dd3ee0a7777cf28393ec38dbd1c9cb481e /.github
parent06ec1f69e11fc52c0e2c6b5f12c3c89b9ef18436 (diff)
downloadclient-1e704530cea02cc5b1b5a9049da432f232f0276f.tar.gz
client-1e704530cea02cc5b1b5a9049da432f232f0276f.tar.bz2
client-1e704530cea02cc5b1b5a9049da432f232f0276f.zip
Upgraded librariesv2.3.0
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/python-publish.yml8
1 files changed, 4 insertions, 4 deletions
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:
23 node-version: '22' 23 node-version: '22'
24 - name: Install node dependencies 24 - name: Install node dependencies
25 run: | 25 run: |
26 yarn install 26 yarn install --frozen-lockfile
27 - name: Install python dependencies 27 - name: Install python dependencies
28 run: | 28 run: |
29 python -m pip install --upgrade pip 29 pip install uv
30 pip install build 30 uv sync --no-group dev
31 - name: Build package 31 - name: Build package
32 run: | 32 run: |
33 yarn build 33 yarn build
34 python -m build 34 uv build
35 - name: Publish package 35 - name: Publish package
36 uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 36 uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37 if: github.event_name != 'pull_request' 37 if: github.event_name != 'pull_request'