Fix Python 3.13 dependency issues: cffi 1.17.1, pin setuptools<82#512
Draft
Fix Python 3.13 dependency issues: cffi 1.17.1, pin setuptools<82#512
Conversation
cffi==1.16.0 has no pre-built wheel for Python 3.13 and fails to compile from source on Toolforge (missing libffi-dev headers). Bumped to 1.17.1 which ships a Python 3.13 wheel. setuptools 82.0.0 removed pkg_resources entirely. python-graph-core uses pkg_resources for namespace package declarations, causing ModuleNotFoundError on startup. Pinned to 81.0.0 until python-graph-core is replaced (#421). Discovered during Python 3.13 Toolforge deployment of #505. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Collaborator
Author
|
Blocked on #505. |
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.
Fixes Python 3.13 compatibility issues discovered during Toolforge beta deployment of #505.
cffi1.16.0 → 1.17.1: no pre-built wheel for Python 3.13 on 1.16.0, source build fails on Toolforge (missinglibffi-devheaders)setuptools==81.0.0: setuptools 82 removedpkg_resourcesentirely;python-graph-coredepends on it via namespace package declarations, causingModuleNotFoundErroron startup. Remove this pin oncepython-graph-coreis replaced (tracked in Automate setuptools installation #421)Keep as draft until #505 merges.
🤖 Generated with Claude Code