File tree Expand file tree Collapse file tree 10 files changed +154
-7
lines changed
Expand file tree Collapse file tree 10 files changed +154
-7
lines changed 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+
7+ jobs :
8+ deploy :
9+ runs-on : ubuntu-24.04
10+
11+ environment :
12+ name : pypi
13+
14+ permissions :
15+ id-token : write
16+ contents : read
17+
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v5
21+
22+ - name : Install uv
23+ uses : astral-sh/setup-uv@v7
24+ with :
25+ version : " 0.9.11"
26+
27+ - name : Sync datacrunch version and dependency to verda
28+ working-directory : datacrunch_compat
29+ run : |
30+ # read version from top-level project
31+ VERSION=$(uv version --short --project ..)
32+ echo "Syncing datacrunch to verda==$VERSION"
33+
34+ uv version "$VERSION"
35+ uv add "verda==$VERSION"
36+
37+ echo
38+ echo "Resulting pyproject.toml:"
39+ cat pyproject.toml
40+
41+ - name : Set up Python
42+ working-directory : datacrunch_compat
43+ run : uv python install
44+
45+ - name : Build
46+ working-directory : datacrunch_compat
47+ run : uv build
48+
49+ - name : Publish
50+ working-directory : datacrunch_compat
51+ env :
52+ UV_PUBLISH_USERNAME : ${{ secrets.PYPI_USERNAME }}
53+ UV_PUBLISH_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
54+ 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 @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ Unreleased]
9+
10+ ### Changed
11+
12+ - ` datacrunch ` package now imports ` verda ` , tracking its releases
13+ - Moved ` verda/datacrunch.py ` to ` datacrunch_compat/datacrunch/datacrunch.py `
14+
815## [ 1.17.0] - 2025-11-26
916
1017### Highlights
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+ # Compatibility layer for old `from datacrunch import *``
2+
3+ from verda import (
4+ DataCrunchClient ,
5+ InferenceClient ,
6+ authentication ,
7+ balance ,
8+ constants ,
9+ containers ,
10+ datacrunch ,
11+ exceptions ,
12+ helpers ,
13+ http_client ,
14+ images ,
15+ instance_types ,
16+ instances ,
17+ locations ,
18+ ssh_keys ,
19+ startup_scripts ,
20+ volume_types ,
21+ volumes ,
22+ )
23+
24+ __all__ = [
25+ 'DataCrunchClient' ,
26+ 'InferenceClient' ,
27+ 'authentication' ,
28+ 'balance' ,
29+ 'constants' ,
30+ 'containers' ,
31+ 'datacrunch' ,
32+ 'exceptions' ,
33+ 'helpers' ,
34+ 'http_client' ,
35+ 'images' ,
36+ 'instance_types' ,
37+ 'instances' ,
38+ 'locations' ,
39+ 'ssh_keys' ,
40+ 'startup_scripts' ,
41+ 'volume_types' ,
42+ 'volumes' ,
43+ ]
Original file line number Diff line number Diff line change 1- # Frozen, minimal compatibility layer for old DataCrunch API
1+ # Compatibility layer for old `from datacrunch.datacrunch import *``
22
33from verda import DataCrunchClient
44from verda ._version import __version__
Original file line number Diff line number Diff line change 1+ [project ]
2+ name = " datacrunch"
3+ version = " 1.17.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==1.17.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