Skip to content

Update CI/CD for Python 3.7, 3.10, 3.13, 3.14 and fix compatibility issues#65

Merged
murphycj merged 5 commits into
masterfrom
copilot/update-github-ci-cd-python-versions
Apr 8, 2026
Merged

Update CI/CD for Python 3.7, 3.10, 3.13, 3.14 and fix compatibility issues#65
murphycj merged 5 commits into
masterfrom
copilot/update-github-ci-cd-python-versions

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 8, 2026

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]. Updated actions/checkout to v4, added actions/setup-python@v5. Replaced deprecated python setup.py sdist bdist_wheel with python -m build.
  • .github/workflows/deploy-pypi.yaml: Updated actions/setup-python from v1 to v5, bumped deploy Python from 3.7 to 3.10, replaced python setup.py sdist bdist_wheel with python -m build.

Python 3.13/3.14 Compatibility Fixes

  • agfusion/cli.py: Replaced 3 occurrences of deprecated logger.warn() with logger.warning() (removed in Python 3.12+). Removed future package 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 deprecated logger.warn() with logger.warning().

Dependency & Build Config

  • setup.py: Removed future>=0.16.0 from install_requires.
  • requirements.txt: Removed future>=0.16.0.
  • pyproject.toml: Added PEP 517/518 [build-system] configuration. Updated black target-version to ['py37', 'py310', 'py311', 'py312', 'py313'].

- 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>
@murphycj murphycj merged commit a1ac615 into master Apr 8, 2026
3 checks passed
@murphycj murphycj deleted the copilot/update-github-ci-cd-python-versions branch April 8, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants