File tree 5 files changed +5
-94
lines changed
5 files changed +5
-94
lines changed Original file line number Diff line number Diff line change 43
43
steps :
44
44
- name : Checkout repo
45
45
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
50
46
51
47
- name : Set up Python
52
48
uses : actions/setup-python@v5
91
87
92
88
steps :
93
89
- 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
98
90
99
91
- uses : actions/setup-python@v5
100
92
name : Setup Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change @@ -4,9 +4,7 @@ python-blosc2 release procedure
4
4
Preliminaries
5
5
-------------
6
6
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 ``).
10
8
11
9
* Make sure that the c-blosc2 repository is updated to the latest version (or a specific
12
10
version that will be documented in the ``RELEASE_NOTES.md ``). In ``CMakeLists.txt `` edit::
@@ -111,6 +109,9 @@ Post-release actions
111
109
112
110
XXX version-specific blurb XXX
113
111
112
+ * Update the version number in ``pyproject.toml `` to the next version number
113
+ (e.g. ``X.Y.(Z+1).dev ``).
114
+
114
115
* Commit your changes with::
115
116
116
117
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
-
3
1
import tomllib as toml
4
2
5
- # Read the pyproject.toml file
6
3
with open ("pyproject.toml" , "rb" ) as f :
7
4
pyproject = toml .load (f )
8
5
9
- # Extract the version
10
6
version = pyproject ["project" ]["version" ]
11
7
12
- # Write the version to blosc2/_version.py
13
8
with open ("src/blosc2/version.py" , "w" ) as f :
14
9
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"
8
8
9
9
[project ]
10
10
name = " 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 "
12
12
readme = {file = " README.rst" , content-type = " text/x-rst" }
13
13
authors = [{
name =
" Blosc Development Team" ,
email =
" [email protected] " }]
14
14
maintainers = [{
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