Skip to content

Commit eec8f35

Browse files
committed
fix: update wheel count and Python version matrix in CI workflows to reflect changes in supported configurations
1 parent 40f2219 commit eec8f35

4 files changed

Lines changed: 31 additions & 19 deletions

File tree

.github/workflows/release-python-packages.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ jobs:
102102
echo "📦 Wheels for PyPI (current platforms):"
103103
ls dist/*.whl
104104
105-
# Count wheels (should be 20: 4 platforms x 5 Python versions)
105+
# Count wheels (should be 16: 4 platforms x 4 Python versions)
106106
WHEEL_COUNT=$(ls dist/*.whl | wc -l)
107-
echo "📊 Wheel count: $WHEEL_COUNT (expected: 20)"
107+
echo "📊 Wheel count: $WHEEL_COUNT (expected: 16)"
108108
109109
echo ""
110110
echo "ℹ️ Current PyPI platforms: linux x86_64, linux arm64, macOS Apple Silicon, windows x86_64"
111111
112-
if [ "$WHEEL_COUNT" -ne 20 ]; then
113-
echo "❌ Expected 20 wheels (4 platforms x 5 Python versions), got $WHEEL_COUNT"
112+
if [ "$WHEEL_COUNT" -ne 16 ]; then
113+
echo "❌ Expected 16 wheels (4 platforms x 4 Python versions), got $WHEEL_COUNT"
114114
exit 1
115115
fi
116116

.github/workflows/test-python-bindings.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,12 @@ jobs:
121121
# Don't cancel other matrix jobs if one fails
122122
fail-fast: false
123123
matrix:
124-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
124+
python-version:
125+
- '3.10'
126+
- '3.11'
127+
- '3.12'
128+
- '3.13'
129+
# - '3.14' # Temporarily disabled to reduce wheel storage usage
125130
# Temporarily limit to four platforms (skip macOS x86_64, Windows ARM64)
126131
# platform: ['linux/amd64', 'linux/arm64', 'darwin/amd64', 'darwin/arm64', 'windows/amd64', 'windows/arm64']
127132
platform: ['linux/amd64', 'linux/arm64', 'darwin/arm64', 'windows/amd64']
@@ -428,8 +433,9 @@ jobs:
428433
echo "**Package**: arcadedb-embedded" >> $GITHUB_STEP_SUMMARY
429434
echo "" >> $GITHUB_STEP_SUMMARY
430435
echo "ℹ️ **Note**: Some platform/Python combinations are excluded from testing:" >> $GITHUB_STEP_SUMMARY
431-
echo "- Windows ARM64 + Python 3.10, 3.14 (no GitHub-hosted runners available)" >> $GITHUB_STEP_SUMMARY
432-
echo "- macOS x86_64 + Python 3.13, 3.14 (no suitable dependencies available)" >> $GITHUB_STEP_SUMMARY
436+
echo "- Python 3.14 is temporarily disabled to reduce wheel storage usage" >> $GITHUB_STEP_SUMMARY
437+
echo "- Windows ARM64 (no GitHub-hosted runners available)" >> $GITHUB_STEP_SUMMARY
438+
echo "- macOS x86_64 (temporarily disabled)" >> $GITHUB_STEP_SUMMARY
433439
else
434440
echo "❌ **Some platforms failed testing**" >> $GITHUB_STEP_SUMMARY
435441
echo "" >> $GITHUB_STEP_SUMMARY

.github/workflows/test-python-examples.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,12 @@ jobs:
130130
strategy:
131131
fail-fast: false
132132
matrix:
133-
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
133+
python-version:
134+
- '3.10'
135+
- '3.11'
136+
- '3.12'
137+
- '3.13'
138+
# - '3.14' # Temporarily disabled to reduce wheel storage usage
134139
# Temporarily limit to four platforms (skip macOS x86_64, Windows ARM64)
135140
# platform: ['linux/amd64', 'linux/arm64', 'darwin/amd64', 'darwin/arm64', 'windows/amd64', 'windows/arm64']
136141
platform: ['linux/amd64', 'linux/arm64', 'darwin/arm64', 'windows/amd64']

bindings/python/docs/development/ci-setup.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
The CI/CD workflows now support building and releasing across **4 platforms** for a total of **20 wheel packages** per release (4 platforms × 5 Python versions), all under the single `arcadedb-embedded` package.
5+
The CI/CD workflows now support building and releasing across **4 platforms** for a total of **16 wheel packages** per release (4 platforms × 4 Python versions), all under the single `arcadedb-embedded` package.
66

77
## Build Matrix
88

@@ -19,26 +19,27 @@ The CI/CD workflows now support building and releasing across **4 platforms** fo
1919

2020
### Total Artifacts
2121

22-
**20 wheels per release**: 1 package × 4 platforms × 5 Python versions = 20 wheels
22+
**16 wheels per release**: 1 package × 4 platforms × 4 Python versions = 16 wheels
2323

2424
## Workflow Changes
2525

2626
### `test-python-bindings.yml`
2727

28-
- **Matrix**: `platform: [linux/amd64, linux/arm64, darwin/arm64, windows/amd64]` and `python-version: [3.10, 3.11, 3.12, 3.13, 3.14]`
28+
- **Matrix**: `platform: [linux/amd64, linux/arm64, darwin/arm64, windows/amd64]` and `python-version: [3.10, 3.11, 3.12, 3.13]`
29+
- **Note**: Python 3.14 is temporarily disabled (commented out) to reduce wheel storage usage
2930
- **Runners**: All native (no QEMU emulation)
3031
- ubuntu-24.04 (Linux x64)
3132
- ubuntu-24.04-arm (Linux ARM64)
3233
- macos-15 (macOS Apple Silicon)
3334
- windows-2025 (Windows x86_64)
34-
- **Jobs**: 20 total (4 platforms × 5 Python versions)
35-
- **Artifacts**: `wheel-{platform}-py{version}` (20 artifacts)
35+
- **Jobs**: 16 total (4 platforms × 4 Python versions)
36+
- **Artifacts**: `wheel-{platform}-py{version}` (16 artifacts)
3637

3738
### `release-python-packages.yml`
3839

39-
- **Artifacts**: `wheel-{platform}-py{version}` (20 artifacts)
40+
- **Artifacts**: `wheel-{platform}-py{version}` (16 artifacts)
4041
- **Publish Job**:
41-
- `publish-pypi`: Collects all 20 wheels and publishes to `arcadedb-embedded`
42+
- `publish-pypi`: Collects all 16 wheels and publishes to `arcadedb-embedded`
4243

4344
## GitHub Repository Setup Required
4445

@@ -86,15 +87,15 @@ You need to create one environment in GitHub repository settings:
8687
4. **Monitor the workflow**:
8788
- Go to Actions tab
8889
- Watch `Build and Release Python Packages to PyPI`
89-
- Check that 20 wheels are built and publish job succeeds
90+
- Check that 16 wheels are built and publish job succeeds
9091

9192
## Validation
9293

9394
### Expected Artifacts
9495

9596
After a successful release, you should see:
9697

97-
- **20 wheel files** on PyPI for `arcadedb-embedded` (4 platforms × 5 Python versions)
98+
- **16 wheel files** on PyPI for `arcadedb-embedded` (4 platforms × 4 Python versions)
9899

99100
### Test Results (CI run #96)
100101

@@ -180,7 +181,7 @@ All platforms now use platform-specific JVM library paths:
180181
181182
### Wheel count mismatch
182183
183-
- The publish job validates that exactly 20 wheels exist
184+
- The publish job validates that exactly 16 wheels exist
184185
- If validation fails, check the build matrix jobs for failures
185186
- Ensure all 4 platform builds succeeded
186187
@@ -198,6 +199,6 @@ All platforms use pinned runner versions for reproducibility:
198199
1. **Create GitHub environment** (`pypi`)
199200
2. **Set up PyPI trusted publisher** for `arcadedb-embedded`
200201
3. **Test with a dev tag**: `git tag 25.10.1.dev0 && git push origin 25.10.1.dev0`
201-
4. **Verify 20 wheels are published** to PyPI (4 platforms × 5 Python versions)
202+
4. **Verify 16 wheels are published** to PyPI (4 platforms × 4 Python versions)
202203
5. **Test installation** on the supported platforms
203204
6. **Verify no Java required** on end-user systems (JRE bundled)

0 commit comments

Comments
 (0)