File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - uses : actions/checkout@v5
1818
1919 - name : Install uv
20- uses : astral-sh/setup-uv@v6
20+ uses : astral-sh/setup-uv@v7
2121 with :
22- version : " 0.9.5 "
22+ version : " 0.9.11 "
2323
2424 - name : Install dependencies
2525 run : uv sync --dev
Original file line number Diff line number Diff line change 1717 - uses : actions/checkout@v5
1818
1919 - name : Install uv
20- uses : astral-sh/setup-uv@v6
20+ uses : astral-sh/setup-uv@v7
2121 with :
22- version : " 0.9.5 "
22+ version : " 0.9.11 "
2323
2424 - name : Install dependencies
2525 run : uv sync --dev
Original file line number Diff line number Diff line change 1+ name : Publish datacrunch compat package
2+
3+ on :
4+ release :
5+ types : [published]
6+ # TODO(shamrin) remove ability to manual trigger after the first "redirect to verda" release
7+ workflow_dispatch :
8+
9+ jobs :
10+ deploy :
11+ runs-on : ubuntu-24.04
12+
13+ environment :
14+ name : pypi
15+
16+ permissions :
17+ id-token : write
18+ contents : read
19+
20+ steps :
21+ - name : Checkout
22+ uses : actions/checkout@v5
23+
24+ - name : Install uv
25+ uses : astral-sh/setup-uv@v7
26+ with :
27+ version : " 0.9.11"
28+
29+ - name : Sync datacrunch version and dependency to verda
30+ working-directory : datacrunch
31+ run : |
32+ # read version from top-level project
33+ VERSION=$(uv version --short --project ..)
34+ echo "Syncing datacrunch to verda==$VERSION"
35+
36+ uv version "$VERSION"
37+ uv add "verda==$VERSION"
38+
39+ echo
40+ echo "Resulting pyproject.toml:"
41+ cat pyproject.toml
42+
43+ - name : Set up Python
44+ working-directory : datacrunch
45+ run : uv python install
46+
47+ - name : Build
48+ working-directory : datacrunch
49+ run : uv build
50+
51+ - name : Publish
52+ working-directory : datacrunch
53+ env :
54+ UV_PUBLISH_USERNAME : ${{ secrets.PYPI_USERNAME }}
55+ UV_PUBLISH_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
56+ run : uv publish
File renamed without changes.
Original file line number Diff line number Diff line change 2020 - uses : actions/checkout@v5
2121
2222 - name : Install uv
23- uses : astral-sh/setup-uv@v6
23+ uses : astral-sh/setup-uv@v7
2424 with :
25- version : " 0.9.5 "
25+ version : " 0.9.11 "
2626 python-version : ${{ matrix.python-version }}
2727
2828 - name : Set up Python
Original file line number Diff line number Diff line change 1+ # datacrunch is now verda
2+
3+ This package has been [ renamed] ( https://verda.com/blog/datacrunch-is-changing-its-name-to-verda ) . Use ` pip install verda ` or ` uv add verda ` instead.
4+
5+ New package: https://pypi.org/project/verda/
Original file line number Diff line number Diff line change 1+ from verda import *
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " datacrunch"
3+ version = " 0.0.0"
4+ description = " datacrunch is now verda"
5+ readme = " README.md"
6+ requires-python = " >=3.10"
7+
8+ authors = [{ name = " Verda Cloud Oy" , email = " info@verda.com" }]
9+
10+ classifiers = [
11+ " Development Status :: 7 - Inactive" ,
12+ " Intended Audience :: Developers" ,
13+ " License :: OSI Approved :: MIT License" ,
14+ " Natural Language :: English" ,
15+ " Operating System :: OS Independent" ,
16+ " Programming Language :: Python :: 3" ,
17+ " Programming Language :: Python :: 3.10" ,
18+ " Programming Language :: Python :: 3.11" ,
19+ " Programming Language :: Python :: 3.12" ,
20+ ]
21+
22+ dependencies = [
23+ " verda==0.2.0" ,
24+ ]
25+
26+ [project .urls ]
27+ Homepage = " https://github.com/verda-cloud"
28+ Documentation = " https://datacrunch-python.readthedocs.io/"
29+ Repository = " https://github.com/verda-cloud/sdk-python"
30+ Changelog = " https://datacrunch-python.readthedocs.io/en/latest/changelog.html"
31+
32+ [build-system ]
33+ requires = [" uv_build>=0.9.5,<0.10.0" ]
34+ build-backend = " uv_build"
35+
36+ [tool .uv .build-backend ]
37+ module-name = " datacrunch"
38+ module-root = " "
You can’t perform that action at this time.
0 commit comments