diff options
| author | 2026-04-03 15:17:13 +0200 | |
|---|---|---|
| committer | 2026-04-03 15:17:13 +0200 | |
| commit | 1e704530cea02cc5b1b5a9049da432f232f0276f (patch) | |
| tree | 749d19dd3ee0a7777cf28393ec38dbd1c9cb481e /pyproject.toml | |
| parent | 06ec1f69e11fc52c0e2c6b5f12c3c89b9ef18436 (diff) | |
| download | client-2.3.0.tar.gz client-2.3.0.tar.bz2 client-2.3.0.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 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml index ba7a2d8..08140a3 100644 --- a/pyproject.toml +++ b/pyproject.toml | |||
| @@ -1,6 +1,37 @@ | |||
| 1 | [build-system] | 1 | [build-system] |
| 2 | requires = [ "setuptools>=41", "wheel", "setuptools-git-versioning", ] | 2 | requires = ["setuptools>=41", "wheel", "setuptools-git-versioning"] |
| 3 | build-backend = "setuptools.build_meta" | 3 | build-backend = "setuptools.build_meta" |
| 4 | 4 | ||
| 5 | [project] | ||
| 6 | name = "ttun" | ||
| 7 | dynamic = ["version"] | ||
| 8 | authors = [{name = "Tom van der Lee"}] | ||
| 9 | description = "Expose a local port via your selfhosted TTUN Server" | ||
| 10 | readme = "README.rst" | ||
| 11 | license = {text = "BSD-3-Clause"} | ||
| 12 | requires-python = ">=3.10" | ||
| 13 | dependencies = [ | ||
| 14 | "websockets ~= 16.0", | ||
| 15 | "aiohttp[speedups] ~= 3.13.5", | ||
| 16 | "appdirs ~= 1.4", | ||
| 17 | ] | ||
| 18 | |||
| 19 | [project.scripts] | ||
| 20 | ttun = "ttun.__main__:main" | ||
| 21 | |||
| 22 | [tool.setuptools] | ||
| 23 | include-package-data = true | ||
| 24 | |||
| 25 | [tool.setuptools.packages.find] | ||
| 26 | where = ["."] | ||
| 27 | |||
| 5 | [tool.setuptools-git-versioning] | 28 | [tool.setuptools-git-versioning] |
| 6 | enabled = true | 29 | enabled = true |
| 30 | |||
| 31 | [dependency-groups] | ||
| 32 | dev = [ | ||
| 33 | "setuptools", | ||
| 34 | "build", | ||
| 35 | "setuptools-git-versioning", | ||
| 36 | "pre-commit", | ||
| 37 | ] | ||
