Skip to content

Commit 8b7034d

Browse files
[chore] Fix uv publishing (#108)
Why === I missed the significance of `--locked` vs `--frozen` when setting up for publishing. What changed ============ - Using `--frozen` to _verify_ `uv.lock` but permit metadata changes (like the package `version` that gets updated prior to publishing) - Adding missing package classifiers Test plan ========= Can we publish? Can we install? Does the installed package work?
1 parent 1a24d9c commit 8b7034d

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
4444
- name: Build and publish
4545
run: |
46-
uv sync --locked
46+
uv sync --frozen # NB: Not --locked, since bumping the version changes the lockfile.
4747
uv build
4848
UV_PUBLISH_TOKEN="${{ secrets.PYPI_TOKEN }}" \
4949
uv publish

poetry.toml

Lines changed: 0 additions & 4 deletions
This file was deleted.

pyproject.toml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,19 @@ authors = [{ name = "Replit", email = "[email protected]" }]
66
license = { file = "LICENSE" }
77
keywords = ["rpc", "websockets"]
88
readme = "README.md"
9-
requires-python = ">=3.11"
9+
requires-python = ">=3.11,<4"
10+
classifiers = [
11+
"Development Status :: 4 - Beta",
12+
13+
"Intended Audience :: Developers",
14+
"Topic :: Internet",
15+
16+
"License :: OSI Approved :: MIT License",
17+
18+
"Programming Language :: Python :: 3",
19+
"Programming Language :: Python :: 3.11",
20+
"Programming Language :: Python :: 3.12",
21+
]
1022
dependencies = [
1123
"pydantic==2.9.2",
1224
"aiochannel>=1.2.1",

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)