Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1771·dowhy

[Repo Assist] eng(tooling): correct isort py_version from 38 to 39

Author: github-actions[bot]Created Aug 23, 2026Updated Aug 23, 2026
Labelsautomationrepo-assistagentic-workflows

This PR was created by Repo Assist, an automated AI assistant.

Problem

The [tool.isort] section in pyproject.toml had py_version = 38 (Python 3.8) despite DoWhy officially requiring Python 3.9+ since at least the requires-python = ">=3.9" constraint in the same file. This inconsistency causes isort to sort imports as if targeting Python 3.8 when the actual minimum is Python 3.9.

Fix

Change py_version = 38 → py_version = 39 in [tool.isort] so isort's internal logic (e.g. which stdlib modules exist for the given Python version) matches the project's actual minimum.

This is a single-line tooling-only change. No runtime behaviour is affected.

Test Status

  • ✅ black --check passes
  • ✅ isort --check passes
  • ✅ flake8 passes

Generated by Repo Assist, see workflow run. Learn more.


[!WARNING] Protected Files

This was originally intended as a pull request, but the patch modifies protected files. These files may affect project dependencies, CI/CD pipelines, or agent behaviour. Please review the changes carefully before creating the pull request.

Click here to create the pull request once you have reviewed the changes

Protected files
  • pyproject.toml

To route changes like this to a review issue instead of blocking, configure protected-files: fallback-to-issue in your workflow configuration.

Generated by Repo Assist, see workflow run. Learn more.

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@11c9a2c442e519ff2b427bf58679f5a525353f76

Source: py-why/dowhy

View original on GitHubView discussion on GitHub