Skip to content

Conversation

@tangelll
Copy link
Contributor

I encountered an AttributeError related to AST objects in the untokenize dependency while installing DeepForest on macOS (M4) using Python 3.14.

Signed-off-by: Salih Tangel salihtangel@gmail.com

Description

This PR adds a Python Version Compatibility matrix to the install.md documentation. The goal is to provide clear guidance for users on which Python versions are stable (3.10-3.12) and to warn about experimental versions (3.13+) where certain dependencies like docformatter currently fail due to AST changes in newer Python releases.

Related Issue(s)

No internal issue exists for this in DeepForest, but this change is needed to address installation failures on experimental Python environments. This is related to the known upstream issue: PyCQA/docformatter#327.

AI-Assisted Development

[x] I used AI tools (e.g., GitHub Copilot, ChatGPT, etc.) in developing this PR

[x] I understand all the code I'm submitting

[x] I have reviewed and validated all AI-generated code

AI tools used (if applicable):
Google Gemini (Assisted in drafting the compatibility table and structuring the PR description).

I encountered an AttributeError related to AST in the untokenize dependency while installing DeepForest on Python 3.14 (macOS M4).

Signed-off-by: Salih Tangel salihtangel@gmail.com
@henrykironde
Copy link
Contributor

@tangelll Thank you for this input. We are working on getting to 3.14. We don't support 3.14 both in the release or dev versions requires-python = ">=3.10,<3.13".
Ref: #1157

@tangelll tangelll deleted the tangelll-patch-1 branch January 23, 2026 19:48
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