Skip to content

Commit

Permalink
update CI, python version and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjperez committed Jan 29, 2025
1 parent a0443bd commit f71db9a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.13'
- name: Run Python Canary
run: |
python -m pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/canary_ota.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.13'
- name: Run Python Canary
run: |
python -m pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/canary_summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.13'
- name: Run Canary
run: |
python -m pip install -r requirements.txt
Expand Down
4 changes: 2 additions & 2 deletions canary/canary_ota.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ async def connect(api_key: str, api_key_id: str, num_attempts: int) -> ViamClien
time.sleep(0.5)

async def main():
api_key = os.environ["ESP32_CANARY_API_KEY_2"]
api_key_id = os.environ["ESP32_CANARY_API_KEY_ID_2"]
api_key = os.environ["ESP32_CANARY_API_KEY"]
api_key_id = os.environ["ESP32_CANARY_API_KEY_ID"]
part_id = os.environ["ESP32_CANARY_ROBOT_PART_ID"]
tag_name = os.environ["ESP32_CANARY_OTA_VERSION_TAG"]
bucket_url = os.environ["GCP_BUCKET_URL"]
Expand Down
20 changes: 15 additions & 5 deletions canary/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
python-dateutil
viam-sdk
pymongo
numpy
slack-sdk
dnspython==2.7.0
googleapis-common-protos==1.66.0
grpclib==0.4.7
h2==4.1.0
hpack==4.1.0
hyperframe==6.1.0
multidict==6.1.0
numpy==2.2.2
protobuf==5.29.1
pymongo==4.11
python-dateutil==2.9.0.post0
six==1.17.0
slack-sdk==3.34.0
typing-extensions==4.12.2
viam-sdk==0.38.0

0 comments on commit f71db9a

Please sign in to comment.