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:
Anirudh Suresh 2024-04-22 12:25:20 -04:00 committed by GitHub
parent c7c3527bfe
commit 67132c0572
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 4 deletions

View File

@ -5,15 +5,20 @@ on:
tags:
- "python-v*"
env:
PYTHON_VERSION: "3.11"
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
run: |
python3.11 -m pip install --upgrade poetry
python3 -m pip install --upgrade poetry
poetry install
working-directory: "express_relay/sdk/python/express_relay"
- name: Build and publish

View File

@ -9,7 +9,7 @@ import httpx
import websockets
from websockets.client import WebSocketClientProtocol
from eth_account.account import Account
from express_relay.types import (
from express_relay.express_relay_types import (
Opportunity,
BidStatusUpdate,
ClientMessage,

View File

@ -3,7 +3,7 @@ import asyncio
import logging
from eth_account.account import Account
from express_relay.client import ExpressRelayClient, sign_bid
from express_relay.types import (
from express_relay.express_relay_types import (
Opportunity,
OpportunityBid,
Bytes32,

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "express-relay"
version = "0.4.0"
version = "0.4.1"
description = "Utilities for searchers and protocols to interact with the Express Relay protocol."
authors = ["dourolabs"]
license = "Proprietary"