Skip to content

Commit 67132c0

Browse files
anihamdem30m
andauthored
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 <[email protected]>
1 parent c7c3527 commit 67132c0

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

.github/workflows/pypi-express-relay-utils.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@ on:
55
tags:
66
- "python-v*"
77

8+
env:
9+
PYTHON_VERSION: "3.11"
10+
811
jobs:
912
deploy:
1013
runs-on: ubuntu-20.04
1114
steps:
1215
- uses: actions/checkout@v2
1316
- uses: actions/setup-python@v2
17+
with:
18+
python-version: ${{ env.PYTHON_VERSION }}
1419
- name: Install dependencies
1520
run: |
16-
python3.11 -m pip install --upgrade poetry
21+
python3 -m pip install --upgrade poetry
1722
poetry install
1823
working-directory: "express_relay/sdk/python/express_relay"
1924
- name: Build and publish

express_relay/sdk/python/express_relay/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import websockets
1010
from websockets.client import WebSocketClientProtocol
1111
from eth_account.account import Account
12-
from express_relay.types import (
12+
from express_relay.express_relay_types import (
1313
Opportunity,
1414
BidStatusUpdate,
1515
ClientMessage,

express_relay/sdk/python/express_relay/searcher/examples/simple_searcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import logging
44
from eth_account.account import Account
55
from express_relay.client import ExpressRelayClient, sign_bid
6-
from express_relay.types import (
6+
from express_relay.express_relay_types import (
77
Opportunity,
88
OpportunityBid,
99
Bytes32,

express_relay/sdk/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "express-relay"
3-
version = "0.4.0"
3+
version = "0.4.1"
44
description = "Utilities for searchers and protocols to interact with the Express Relay protocol."
55
authors = ["dourolabs"]
66
license = "Proprietary"

0 commit comments

Comments
 (0)