Skip to content

fix: restrict python version <3.12 due to dependency incompatibility …#258

Open
pragyan69 wants to merge 1 commit intodrift-labs:masterfrom
pragyan69:fix/python312-install-error
Open

fix: restrict python version <3.12 due to dependency incompatibility …#258
pragyan69 wants to merge 1 commit intodrift-labs:masterfrom
pragyan69:fix/python312-install-error

Conversation

@pragyan69
Copy link

Summary

This PR fixes Issue #76: "Doesn't install on python=3.12".

DriftPy depends on multiple libraries that do not yet support Python 3.12
(anchorpy, solana-py, solders, protobuf, apischema, grpcio, etc.)

Attempting to install DriftPy on Python 3.12 results in dependency
resolution failures, confusing errors, and partial installs.

What this PR does

  • Updates python version requirement from ^3.10 to >=3.10,<3.12
    inside pyproject.toml.

Why this is needed

Until the dependency stack provides full Python 3.12 support,
restricting the version prevents installation errors and improves
user experience.

satus
Ready for review.

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.

1 participant