Skip to content

Commit

Permalink
try python version env spec (#1484)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
anihamde and m30m authored Apr 22, 2024
1 parent c7c3527 commit 67132c0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/pypi-express-relay-utils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion express_relay/sdk/python/express_relay/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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,
Expand Down
2 changes: 1 addition & 1 deletion express_relay/sdk/python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 67132c0

Please sign in to comment.