File tree Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Expand file tree Collapse file tree 3 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 1212 - uses : actions/checkout@v4
1313 - uses : extractions/setup-just@v2
1414 - uses : astral-sh/setup-uv@v3
15- with :
16- enable-cache : true
17- cache-dependency-glob : " **/pyproject.toml"
1815 - run : just publish
1916 env :
2017 PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change @@ -28,5 +28,6 @@ lint-ci:
2828
2929publish :
3030 rm -rf dist
31+ uv version $GITHUB_REF_NAME
3132 uv build
3233 uv publish --token $PYPI_TOKEN
Original file line number Diff line number Diff line change @@ -20,10 +20,7 @@ classifiers = [
2020 " Typing :: Typed" ,
2121 " Topic :: Software Development :: Libraries" ,
2222]
23- dynamic = [" version" ]
24- packages = [
25- { include = " modern_pg" },
26- ]
23+ version = " 0"
2724dependencies = [
2825 " tenacity" ,
2926 " sqlalchemy[asyncio]" ,
@@ -44,11 +41,12 @@ dev-dependencies = [
4441]
4542
4643[build-system ]
47- requires = [" hatchling " , " hatch-vcs " ]
48- build-backend = " hatchling.build "
44+ requires = [" uv_build " ]
45+ build-backend = " uv_build "
4946
50- [tool .hatch .version ]
51- source = " vcs"
47+ [tool .uv .build-backend ]
48+ module-name = " modern_pg"
49+ module-root = " "
5250
5351[tool .mypy ]
5452python_version = " 3.10"
You can’t perform that action at this time.
0 commit comments