Skip to content
This repository was archived by the owner on Sep 3, 2026. It is now read-only.

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

Open
pragyan69 wants to merge 1 commit into
velocity-exchange:masterfrom
pragyan69:fix/python312-install-error
Open

pragyan69 wants to merge 1 commit into
velocity-exchange:masterfrom
pragyan69:fix/python312-install-error

Conversation

@pragyan69

Copy link
Copy Markdown

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.

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant