Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ homepage = "https://github.com/drift-labs/driftpy"
documentation = "https://drift-labs.github.io/driftpy/"

[tool.poetry.dependencies]
python = "^3.10"
python = ">=3.10,<3.12"
anchorpy = "0.21.0"
solana = "^0.36"
requests = "^2.28.1"
Expand Down
3 changes: 1 addition & 2 deletions src/driftpy/constants/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
PerpMarketAccount,
SpotMarketAccount,
)
print("⚡ USING LOCAL DRIFTPY CONFIG — gzip removed patch active")

DriftEnv = Literal["devnet", "mainnet"]

Expand Down Expand Up @@ -176,7 +177,6 @@ async def find_all_market_and_oracles(
post = program.provider.connection._provider.session.post(
program.provider.connection._provider.endpoint_uri,
json=perp_request,
headers={"content-encoding": "gzip"},
)
resp = await asyncio.wait_for(post, timeout=120)
parsed_resp = jsonrpcclient.parse(resp.json())
Expand Down Expand Up @@ -208,7 +208,6 @@ async def find_all_market_and_oracles(
post = program.provider.connection._provider.session.post(
program.provider.connection._provider.endpoint_uri,
json=spot_request,
headers={"content-encoding": "gzip"},
)
resp = await asyncio.wait_for(post, timeout=120)
parsed_resp = jsonrpcclient.parse(resp.json())
Expand Down