Skip to content

Commit

Permalink
Use caret for dependency ranges (#1220)
Browse files Browse the repository at this point in the history
  • Loading branch information
collindutter authored Oct 3, 2024
1 parent e4133c3 commit cffbefb
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 176 deletions.
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
versioning-strategy: increase-if-necessary
groups:
dependencies:
dependency-type: "production"
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `Structure.output`'s type is now `BaseArtifact` and raises an exception if the output is `None`.
- **BREAKING**: Update `pypdf` dependency to `^5.0.1`.
- **BREAKING**: Update `redis` dependency to `^5.1.0`.
- **BREAKING**: Remove `torch` extra from `transformers` dependency. This must be installed separately.
- `MarkdownifyWebScraperDriver.DEFAULT_EXCLUDE_TAGS` now includes media/blob-like HTML tags

### Fixed
Expand Down
15 changes: 15 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,21 @@
This document provides instructions for migrating your codebase to accommodate breaking changes introduced in new versions of Griptape.
## 0.31.X to 0.32.X

### Removed `torch` extra from `transformers` dependency

The `torch` extra has been removed from the `transformers` dependency. If you require `torch`, install it separately.

#### Before
```bash
pip install griptape[drivers-prompt-huggingface-hub]
```

#### After
```bash
pip install griptape[drivers-prompt-huggingface-hub]
pip install torch
```

### Removed `MediaArtifact`

`MediaArtifact` has been removed. Use `ImageArtifact` or `AudioArtifact` instead.
Expand Down
Loading

0 comments on commit cffbefb

Please sign in to comment.