Skip to content

Commit

Permalink
Remove orbax-checkpoint support for Python 3.9.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 683192479
  • Loading branch information
cpgaffney1 authored and Orbax Authors committed Oct 7, 2024
1 parent 410ca56 commit d1b8aaa
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
working-directory: checkpoint
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
jax-version: ["newest"]
include:
- python-version: "3.9"
jax-version: "0.4.26" # keep in sync with minimum version in checkpoint/pyproject.toml
- python-version: "3.10"
jax-version: "0.4.34" # keep in sync with minimum version in checkpoint/pyproject.toml
steps:
- name: Cancel previous
uses: styfle/[email protected]
Expand Down
5 changes: 5 additions & 0 deletions checkpoint/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.7.0] - 2024-10-07

### Removed
- Support for Python 3.9.

### Changed
- Modernize type annotations using `from __future__ import annotations`.
- Adjust `CompositeCheckpointHandler` behavior for unregistered items and empty
Expand Down
2 changes: 1 addition & 1 deletion checkpoint/orbax/checkpoint/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# A new PyPI release will be pushed everytime `__version__` is increased.
# Also modify version and date in CHANGELOG.
__version__ = '0.6.4'
__version__ = '0.7.0'


# TODO: b/362813406 - Add latest change timestamp and commit number.
Expand Down
5 changes: 2 additions & 3 deletions checkpoint/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "orbax-checkpoint"
description = "Orbax Checkpoint"
readme = 'README.md'
license = {file = 'LICENSE'}
requires-python = '>=3.9'
requires-python = '>=3.10'
authors = [{name = 'Orbax Authors', email='[email protected]'}]
classifiers=[
'Development Status :: 4 - Beta',
Expand All @@ -26,8 +26,7 @@ dependencies = [
'etils[epath,epy]',
'typing_extensions',
'msgpack',
'jax >= 0.4.26',
'jaxlib',
'jax >= 0.4.34',
'numpy',
'pyyaml',
'tensorstore >= 0.1.60',
Expand Down
2 changes: 1 addition & 1 deletion readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.9"
python: "3.10"

sphinx:
builder: html
Expand Down

0 comments on commit d1b8aaa

Please sign in to comment.