File tree Expand file tree Collapse file tree 5 files changed +5
-94
lines changed
Expand file tree Collapse file tree 5 files changed +5
-94
lines changed Original file line number Diff line number Diff line change 4343 steps :
4444 - name : Checkout repo
4545 uses : actions/checkout@v4
46- with :
47- # Fetch all history for all branches and tags
48- # (important for guessing the correct version with setuptools_scm)
49- fetch-depth : 0
5046
5147 - name : Set up Python
5248 uses : actions/setup-python@v5
9187
9288 steps :
9389 - uses : actions/checkout@v4
94- with :
95- # Fetch all history for all branches and tags
96- # (important for guessing the correct version with setuptools_scm)
97- fetch-depth : 0
9890
9991 - uses : actions/setup-python@v5
10092 name : Setup Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ python-blosc2 release procedure
44Preliminaries
55-------------
66
7- * Do not worry about the version number. setuptools_scm in scikit-build-core has machinery
8- to figure it out based on git tags:
9- https://scikit-build-core.readthedocs.io/en/latest/configuration.html#dynamic-metadata
7+ * Set the version number in ``pyproject.toml `` to the new version number (e.g. ``X.Y.Z ``).
108
119* Make sure that the c-blosc2 repository is updated to the latest version (or a specific
1210 version that will be documented in the ``RELEASE_NOTES.md ``). In ``CMakeLists.txt `` edit::
@@ -111,6 +109,9 @@ Post-release actions
111109
112110 XXX version-specific blurb XXX
113111
112+ * Update the version number in ``pyproject.toml `` to the next version number
113+ (e.g. ``X.Y.(Z+1).dev ``).
114+
114115* Commit your changes with::
115116
116117 git commit -a -m "Post X.Y.Z release actions done"
Original file line number Diff line number Diff line change 1- # generate_version.py
2-
31import tomllib as toml
42
5- # Read the pyproject.toml file
63with open ("pyproject.toml" , "rb" ) as f :
74 pyproject = toml .load (f )
85
9- # Extract the version
106version = pyproject ["project" ]["version" ]
117
12- # Write the version to blosc2/_version.py
138with open ("src/blosc2/version.py" , "w" ) as f :
149 f .write (f'__version__ = "{ version } "\n ' )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ build-backend = "scikit_build_core.build"
88
99[project ]
1010name = " blosc2"
11- description = " A flexible computational engine for the fast Blosc2 compression library "
11+ description = " A high-performance compressed ndarray library with a flexible computational engine "
1212readme = {file = " README.rst" , content-type = " text/x-rst" }
1313authors = [{
name =
" Blosc Development Team" ,
email =
" [email protected] " }]
1414maintainers = [{
name =
" Blosc Development Team" ,
email =
" [email protected] " }]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments