Skip to content

Commit

Permalink
Support older versions of Python. (External colab uses 3.7).
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 482004157
  • Loading branch information
cpgaffney1 authored and copybara-github committed Oct 18, 2022
1 parent 0dbeb91 commit ca3f1ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
python-version: [3.7, 3.8, 3.9]
steps:
- name: Cancel previous
uses: styfle/[email protected]
Expand Down
3 changes: 2 additions & 1 deletion orbax/checkpoint/future.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@

"""Orbax Future class used for duck typing."""

from typing import Any, Optional, Protocol
from typing import Any, Optional
from typing_extensions import Protocol


class Future(Protocol):
Expand Down

0 comments on commit ca3f1ab

Please sign in to comment.