Update CI/CD for Python 3.7, 3.10, 3.13, 3.14 and fix compatibility issues#65
Merged
Merged
Conversation
- Update test matrix to [3.7, 3.10, 3.13, 3.14] - Update actions/checkout to v4 and actions/setup-python to v5 - Replace deprecated logger.warn() with logger.warning() - Remove future package dependency (Python 2 compat layer) - Replace setup.py sdist bdist_wheel with python -m build - Add PEP 517/518 build-system config to pyproject.toml - Update black target-version in pyproject.toml Agent-Logs-Url: https://github.com/murphycj/AGFusion/sessions/e49f3a3e-549d-48df-8578-155ae7490dfb Co-authored-by: murphycj <3837196+murphycj@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
murphycj
April 8, 2026 19:42
View session
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.
Summary
Updates the GitHub CI/CD pipeline to test against Python 3.7, 3.10, 3.13, and 3.14, and fixes Python 3.13/3.14 compatibility issues in the codebase.
Changes
CI/CD Workflows
.github/workflows/test.yaml: Updated test matrix from[3.7, 3.8, 3.9, 3.10]to[3.7, 3.10, 3.13, 3.14]. Updatedactions/checkoutto v4, addedactions/setup-python@v5. Replaced deprecatedpython setup.py sdist bdist_wheelwithpython -m build..github/workflows/deploy-pypi.yaml: Updatedactions/setup-pythonfrom v1 to v5, bumped deploy Python from 3.7 to 3.10, replacedpython setup.py sdist bdist_wheelwithpython -m build.Python 3.13/3.14 Compatibility Fixes
agfusion/cli.py: Replaced 3 occurrences of deprecatedlogger.warn()withlogger.warning()(removed in Python 3.12+). Removedfuturepackage import (from future.standard_library import install_aliases) — this was a Python 2/3 compatibility layer that is unnecessary for Python 3.agfusion/parsers.py: Replaced 1 occurrence of deprecatedlogger.warn()withlogger.warning().Dependency & Build Config
setup.py: Removedfuture>=0.16.0frominstall_requires.requirements.txt: Removedfuture>=0.16.0.pyproject.toml: Added PEP 517/518[build-system]configuration. Updated blacktarget-versionto['py37', 'py310', 'py311', 'py312', 'py313'].