Skip to content

Releases: allenai/beaker-py

v1.8.0

09 Sep 16:08
Compare
Choose a tag to compare

What's new

Added 🎉

  • Added Beaker.dataset.get_file(). Similar to stream_file(), but returns
    the entire bytes at once and is more robust since it will retry internally when HTTP and timeout errors occur.

Fixed ✅

  • Made most methods more robust to all recoverable errors that can occur while contacting the Beaker server,
    such HTTP, timeout, connection, and SSL errors.

Commits

623433b Make client more robust to all types of recoverable errors (#152)

v1.7.4

07 Sep 20:44
Compare
Choose a tag to compare

What's new

Fixed ✅

  • 500 errors from server treated as recoverable.

Commits

0ac3259 Treat 500 errors as recoverable

v1.7.3

06 Sep 22:50
Compare
Choose a tag to compare

What's new

Fixed ✅

  • 429 errors treated as recoverable.
  • Fixed an error with Beaker.experiment.(wait_for|as_completed|follow) that would
    hang if an experiment's task was stopped before a job was created.

Commits

14800a9 Catch tasks that are stopped before job created (#150)
40666df Treat 429 errors as recoverable (#149)

v1.7.2

06 Sep 20:21
Compare
Choose a tag to compare

What's new

Fixed ✅

  • Fixes an issue where a job that was canceled during initialization or provisioning might
    not get marked as a failure.

Commits

b769556 Fix issue with determining job failure
782b31c Fine-tune retry settings
638852b Add examples for stream_file() (#148)

v1.7.1

31 Aug 21:29
Compare
Choose a tag to compare

What's new

Fixed ✅

  • Fixed bug with Beaker.(job|experiment).follow() where final line wasn't returned.

Removed 👋

  • Removed deprecated url option for DataMount.

Commits

a5e3029 Bigger connection pool (#146)
e3843c5 Update pydantic requirement from <1.10,>=1.8.2 to >=1.8.2,<1.11 (#145)
461092d Update docker requirement from <6.0,>=5.0 to >=5.0,<7.0 (#144)
921c085 Bump allenai/setup-beaker from 1 to 2 (#142)
e74a230 Fix test
7202d76 Fix bug with follow()
475f0b7 Remove deprecated url option for DataMount

v1.7.0

30 Aug 17:04
Compare
Choose a tag to compare

What's new

Added 🎉

  • Added argument include_timestamps: bool to Beaker.(job|experiment).follow().

Fixed ✅

  • Fixed returning duplicate log lines from Beaker.(job|experiment).follow().

Commits

9410b15 Add include_timestamps arg to follow()

v1.6.9

01 Aug 22:52
Compare
Choose a tag to compare

What's new

Fixed ✅

  • Fixed a bug in Beaker.group.create() where the description argument would be ignored.

Commits

7821986 Minor fixes (#141)

v1.6.8

27 Jul 21:34
Compare
Choose a tag to compare

What's new

Changed ⚠️

  • Shortened URLs for dataset and image.

Commits

12a9075 Update rich requirement from <12.5,>=12.3 to >=12.3,<12.6 (#136)
3b4e731 Fix tests
0db967b Shorten URLs for dataset and image

v1.6.7

20 Jul 22:02
Compare
Choose a tag to compare

What's new

Fixed ✅

  • Fixed a bug in Beaker.(job|experiment).follow() where some final log lines might not be yielded before the method returns.

Commits

8b30cfe Fix bug with Beaker.job.follow()

v1.6.6

19 Jul 22:17
Compare
Choose a tag to compare

What's new

Fixed ✅

  • Fixed bug where Beaker.experiment.delete() would fail if the result dataset was already
    deleted.

Commits

dd8289f fix bug with dataset.delete()