Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,17 @@ jobs:
wheel-distribution: ${{ steps.wheel-distribution.outputs.path }}
steps:
- uses: actions/checkout@v4
with: {fetch-depth: 0} # deep clone for setuptools-scm
with:
fetch-depth: 0 # deep clone for setuptools-scm
ref: ${{ github.ref }} # ensure tags are checked out correctly
- uses: actions/setup-python@v5
id: setup-python
with: {python-version: "3.12"}
- name: Run static analysis and format checkers
continue-on-error: true
run: pipx run pre-commit run --all-files --show-diff-on-failure
- name: Reset any changes from linting
run: git reset --hard HEAD
- name: Build package distribution files
run: >-
pipx run --python '${{ steps.setup-python.outputs.python-path }}'
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [Unreleased]

### Fixed
- 2025-11-19: Fixed PyPI version generation to produce clean version numbers (e.g., 0.1.3) instead of post/dev suffixes (e.g., 0.1.3.post1.dev0) when creating releases via GitHub UI by: (1) ensuring the CI workflow checks out the exact tag commit, and (2) resetting any uncommitted changes from linting before building to avoid setuptools_scm detecting a dirty repository.
- 2025-11-19: Fixed ImportError by removing non-existent flow imports (custom_movements_flow, test_sequence_flow, duty_cycle_monitoring_flow, scheduled_duty_cycle_check) from src/progressive_automations_python/__init__.py. These flows only exist in scripts/prefect_flows.py, not in the package module. (Fixes job 55773363544)
- 2025-11-19: tests: Add tests/conftest.py to mock RPi.GPIO in CI so pytest can run in non-Raspberry Pi environments. (Fixes job 55770449647)

Expand Down
Loading