Skip to content

Commit 63af1e5

Browse files
committed
Final touches for allowing a conda build
1 parent 6b905d1 commit 63af1e5

File tree

5 files changed

+5
-94
lines changed

5 files changed

+5
-94
lines changed

.github/workflows/cibuildwheels.yml

-8
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ jobs:
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
@@ -91,10 +87,6 @@ jobs:
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 }}

RELEASING.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ python-blosc2 release procedure
44
Preliminaries
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"

generate_version.py

-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
1-
# generate_version.py
2-
31
import tomllib as toml
42

5-
# Read the pyproject.toml file
63
with open("pyproject.toml", "rb") as f:
74
pyproject = toml.load(f)
85

9-
# Extract the version
106
version = pyproject["project"]["version"]
117

12-
# Write the version to blosc2/_version.py
138
with open("src/blosc2/version.py", "w") as f:
149
f.write(f'__version__ = "{version}"\n')

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build-backend = "scikit_build_core.build"
88

99
[project]
1010
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"
1212
readme = {file = "README.rst", content-type = "text/x-rst"}
1313
authors = [{name = "Blosc Development Team", email = "[email protected]"}]
1414
maintainers = [{ name = "Blosc Development Team", email = "[email protected]"}]

recipes/blosc2/meta.yaml

-77
This file was deleted.

0 commit comments

Comments
 (0)