Skip to content

Commit

Permalink
[REVERT] Rename sdk-v1 to legacy (#5168)
Browse files Browse the repository at this point in the history
Reverts changes from #5164 and rename dependencies to
`legacy`
  • Loading branch information
frascuchon authored Jul 5, 2024
1 parent 083c0f0 commit 1e6cb47
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion argilla/docs/how_to_guides/migrate_from_legacy_datasets.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The guide will take you through three steps:

Connect to the Argilla V1 server via the new `argilla` package. First, you should install an extra dependency:
```bash
pip install "argilla[sdk-v1]"
pip install "argilla[legacy]"
```

Now, you can use the `v1` module to connect to the Argilla V1 server.
Expand Down
2 changes: 1 addition & 1 deletion argilla/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ io = [
"datasets>=2.0.0",
]

sdk-v1 = [
legacy = [
"argilla-v1[listeners]",
]

Expand Down
2 changes: 1 addition & 1 deletion argilla/src/argilla/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from argilla_v1 import * # noqa
except ModuleNotFoundError as ex:
raise Exception(
'The package argilla-v1 is not installed. Please install it by typing: pip install "argilla[sdk-v1]"',
'The package argilla-v1 is not installed. Please install it by typing: pip install "argilla[legacy]"',
) from ex


Expand Down

0 comments on commit 1e6cb47

Please sign in to comment.