try python version env spec (#1484)
* try python version env spec * Test it out on pull request * test env change * test env change 2 * test env change 3 * test env change 4 * address circular import * test * test * test * test * test * undoing test --------- Co-authored-by: Amin Moghaddam <amin@pyth.network>
This commit is contained in:
parent
c7c3527bfe
commit
67132c0572
|
@ -5,15 +5,20 @@ on:
|
||||||
tags:
|
tags:
|
||||||
- "python-v*"
|
- "python-v*"
|
||||||
|
|
||||||
|
env:
|
||||||
|
PYTHON_VERSION: "3.11"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: ${{ env.PYTHON_VERSION }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python3.11 -m pip install --upgrade poetry
|
python3 -m pip install --upgrade poetry
|
||||||
poetry install
|
poetry install
|
||||||
working-directory: "express_relay/sdk/python/express_relay"
|
working-directory: "express_relay/sdk/python/express_relay"
|
||||||
- name: Build and publish
|
- name: Build and publish
|
||||||
|
|
|
@ -9,7 +9,7 @@ import httpx
|
||||||
import websockets
|
import websockets
|
||||||
from websockets.client import WebSocketClientProtocol
|
from websockets.client import WebSocketClientProtocol
|
||||||
from eth_account.account import Account
|
from eth_account.account import Account
|
||||||
from express_relay.types import (
|
from express_relay.express_relay_types import (
|
||||||
Opportunity,
|
Opportunity,
|
||||||
BidStatusUpdate,
|
BidStatusUpdate,
|
||||||
ClientMessage,
|
ClientMessage,
|
||||||
|
|
|
@ -3,7 +3,7 @@ import asyncio
|
||||||
import logging
|
import logging
|
||||||
from eth_account.account import Account
|
from eth_account.account import Account
|
||||||
from express_relay.client import ExpressRelayClient, sign_bid
|
from express_relay.client import ExpressRelayClient, sign_bid
|
||||||
from express_relay.types import (
|
from express_relay.express_relay_types import (
|
||||||
Opportunity,
|
Opportunity,
|
||||||
OpportunityBid,
|
OpportunityBid,
|
||||||
Bytes32,
|
Bytes32,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "express-relay"
|
name = "express-relay"
|
||||||
version = "0.4.0"
|
version = "0.4.1"
|
||||||
description = "Utilities for searchers and protocols to interact with the Express Relay protocol."
|
description = "Utilities for searchers and protocols to interact with the Express Relay protocol."
|
||||||
authors = ["dourolabs"]
|
authors = ["dourolabs"]
|
||||||
license = "Proprietary"
|
license = "Proprietary"
|
||||||
|
|
Loading…
Reference in New Issue