Update actions/setup-python action to v6 - autoclosed#106
Closed
renovate[bot] wants to merge 1 commit intomasterfrom
Closed
Update actions/setup-python action to v6 - autoclosed#106renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
2533e6e to
29b0188
Compare
NaweedAghmad
added a commit
that referenced
this pull request
Mar 11, 2026
build.yml: - actions/checkout: v2 → v6 (PR #111) - actions/setup-python: v2 → v6 (PR #106) - Add astral-sh/setup-uv@v5 for faster installs - Test Python 3.11, 3.12, 3.13 (dropped 3.10) - Enable uv caching for faster CI runs black.yml: - actions/checkout: v2 → v6 (PR #111) - Add explicit Python 3.11 setup Estimated CI speedup: 50-70% with uv Addresses PRs #106 and #111
9 tasks
NaweedAghmad
added a commit
that referenced
this pull request
Mar 11, 2026
build.yml: - actions/checkout: v2 → v6 (PR #111) - actions/setup-python: v2 → v6 (PR #106) - Add astral-sh/setup-uv@v5 for faster installs - Test Python 3.11, 3.12, 3.13 (dropped 3.10) - Enable uv caching for faster CI runs black.yml: - actions/checkout: v2 → v6 (PR #111) - Add explicit Python 3.11 setup Estimated CI speedup: 50-70% with uv Addresses PRs #106 and #111 Signed-off-by: naweedkhan <naweed.khan@ibm.com>
NaweedAghmad
added a commit
that referenced
this pull request
Mar 11, 2026
* ADD: Modern Python packaging with pyproject.toml - Migrate from setup.py to PEP 621 compliant pyproject.toml - Use hatchling as build backend - Python 3.11+ required (networkx 3.6.1 constraint) - Include all runtime and development dependencies - Add tool configurations for black, pytest, ruff, flake8 - Set .python-version to 3.11 for consistency - Enables modern tooling and reproducible builds This addresses the foundation for merging security PRs #102-#111 Signed-off-by: naweedkhan <naweed.khan@ibm.com> * FIX: NumPy 2.0 compatibility in tensorise function - Update tensorise() to handle np.bool_ (NumPy 2.0) and np.bool (NumPy <2.0) - Add proper handling for numpy boolean arrays with astype(bool) - Add comprehensive docstring explaining compatibility - Fixes TypeError when converting numpy scalar bools to tensors - Maintains backward compatibility with NumPy 1.x Resolves compatibility issues for PR #108 (numpy 2.x update) Location: lnn/neural/activations/node.py:216-255 Signed-off-by: naweedkhan <naweed.khan@ibm.com> * UPDATE: All dependencies to latest secure versions Security and maintenance updates: - torch: 2.7.1 → 2.8.0 (SECURITY - PR #102) - numpy: 1.23.4 → 2.4.3 (PR #108, #100) - matplotlib: 3.3.3 → 3.10.8 (PR #97) - networkx: 2.5.1 → 3.6.1 (PR #107, #98) - tqdm: 4.66.3 → 4.67.3 (PR #103) All updates tested with 117 tests passing on Python 3.11.13 Enables merging of all 9 open dependency security PRs Signed-off-by: naweedkhan <naweed.khan@ibm.com> * MAINT: Remove setup.py in favor of pyproject.toml - Fully migrate to modern PEP 621 packaging - Remove problematic == to >= conversion hack - setup.py functionality now in pyproject.toml - Uses hatchling for building (faster, modern) - No breaking changes - pip install still works Part of migration to modern Python tooling Signed-off-by: naweedkhan <naweed.khan@ibm.com> * UPDATE: GitHub Actions to v6 with uv integration build.yml: - actions/checkout: v2 → v6 (PR #111) - actions/setup-python: v2 → v6 (PR #106) - Add astral-sh/setup-uv@v5 for faster installs - Test Python 3.11, 3.12, 3.13 (dropped 3.10) - Enable uv caching for faster CI runs black.yml: - actions/checkout: v2 → v6 (PR #111) - Add explicit Python 3.11 setup Estimated CI speedup: 50-70% with uv Addresses PRs #106 and #111 Signed-off-by: naweedkhan <naweed.khan@ibm.com> * UPDATE: Development and automation tooling .pre-commit-config.yaml: - pre-commit-hooks: v2.3.0 → v5.0.0 - black: 22.3.0 → 24.10.0 - Add security hooks: detect-private-key, check-merge-conflict - Add check-added-large-files - Set Python 3.11 for black renovate.json: - Group major updates separately - Group ML frameworks (torch, numpy, etc.) - Auto-merge safe dev tool updates - Enhanced security alert configuration - Add lock file maintenance for uv.lock - Better PR organization and labeling Improves development workflow and dependency management Signed-off-by: naweedkhan <naweed.khan@ibm.com> * ADD: uv.lock for reproducible builds - Lock file with 182 resolved packages - Ensures consistent dependency versions across environments - Speeds up installs with uv package manager - Generated with uv 0.10.9 - Compatible with Python 3.11+ Enables: - Reproducible builds in CI and local dev - Faster dependency resolution - Better dependency conflict detection File size: 478KB Signed-off-by: naweedkhan <naweed.khan@ibm.com> * ADD: Security coverage analysis and documentation - Comprehensive security coverage analysis - All 9 Renovate PRs addressed and verified - torch 2.10.0 exceeds security requirement of 2.8.0 - Documents all dependency versions in uv.lock - Lists security tooling improvements - Updated PR description with security details This confirms all known vulnerabilities are resolved. Signed-off-by: naweedkhan <naweed.khan@ibm.com> * FIX: Use approximate equality for floating-point tests - Replace exact equality checks with tolerance-based comparison - Fixes test_rv_or_n.py failures due to floating-point precision - torch 2.10.0/numpy 2.4.3 have slightly different precision - Use 1e-6 tolerance for lower/upper bound comparisons Resolves CI test failures in Python 3.11, 3.12, 3.13 Signed-off-by: naweedkhan <naweed.khan@ibm.com> --------- Signed-off-by: naweedkhan <naweed.khan@ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v2→v6Release Notes
actions/setup-python (actions/setup-python)
v6Compare Source
v5Compare Source
v4Compare Source
v3Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.