-
-
Notifications
You must be signed in to change notification settings - Fork 47
[Chore] Merge Argilla v2.8.0 #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
175 commits
Select commit
Hold shift + click to select a range
eb00e9b
fix and update test snaps
leiyre 23d6553
clean code
leiyre f8fa6eb
chore: Update develop version
frascuchon 7278d1e
[CI] Configure workflow permissions (#5648)
frascuchon 9807e3e
Merge branch 'main' into develop
jfcalvo 7a5bf8a
[BUGFIX] argilla server: Prevent update `dataset.updated_at` when upd…
frascuchon 038172c
Docs: Typo Fix (#5642)
RahulK4102 02413d1
[Docs] : fix typos in docs (#5612)
FarukhS52 3b1133a
[CONFIG] `argilla server`: Review and update dependencies (#5649)
frascuchon bf12fc5
Improve German translation and some aria attributes (#5658)
paulbauriegel c0afa23
add middleware to redirect /datasets to home page
leiyre 3136085
Add a high-contrast theme & improvements for the forced-colors mode (…
paulbauriegel d43501e
fix vars
leiyre 74ec465
[BUGFIX]: argilla server: install default `psycopy2` driver used by a…
frascuchon 6c83e87
(Typo): Update README.md (#5655)
kaleaditya779 02df3d1
[CONFIG] `argilla`: Add Python 3.13 support (#5652)
frascuchon af2033c
[ENHANCEMENT][REFACTOR] SDK: allow to remove settings (#5584)
frascuchon d9dce94
fix: improve logic for detecting ChatFields (#5667)
leiyre 229809e
[BUGFIX] `argilla frontend`: redirect after login (#5635)
frascuchon e425c89
[BUGFIX] `argilla frontend`: Avoid call router.push when opening an e…
frascuchon 940bd40
[BUGFIX] visualisation of highlighted text (#5678)
leiyre 783c7c0
Dataset Creation UI fixes & Improvements (#5670)
leiyre 31b3c6a
Merge branch 'main' into develop
frascuchon f9ab910
[BUGFIX] Show `Import data` if user is admin or owner (#5688)
leiyre 4249164
docs: Add missing server configuration env vars (#5676)
frascuchon 91ed8ca
[REFACTOR] `argilla server`: Remove passlib dependency (#5674)
frascuchon a9bf3df
[FEATURE] UI - Add language selection in user settings (#5690)
leiyre 53c734c
⚡️ Fix highlight text (#5693)
damianpumar 6e63b04
[FEATURE] Add Webhooks (#5467)
jfcalvo c6e3654
🚑 Add missing translation (#5696)
damianpumar f47f20d
Docs - Add docs for adding a language (#5640)
paulbauriegel 0b5b009
[BUGFIX] `argilla server`: Prevent passing non-string values to text …
frascuchon 9cf0a63
[REFACTOR] `argilla server`: using pydantic v2 (#5666)
frascuchon 1c8f528
fix: Resolve failing tests after pydantic V2 merge (#5700)
frascuchon 5f6c291
[DOCS] Deploy on spaces review (#5704)
sdiazlor d6bc6f8
[REFACTOR] `argilla`: Align questions to `Resource` API (#5680)
frascuchon 48ba964
chore: Set release version
frascuchon eb67de3
Merge branch 'main' into develop
frascuchon 0d385be
Merge branch 'develop' into releases/2.5.0
frascuchon ab6b2f0
chore: Update dev version
frascuchon 6129ce8
[ENHANCEMENT] `argilla server`: Return users on dataset progress (#5701)
frascuchon 004225d
[CI] Update base docker image (#5705)
frascuchon 47f8474
🔥 Fix highlight on bulk (#5698)
damianpumar e7e51e1
[CHORE] Review changelogs (#5707)
frascuchon f4f03bb
🔥 Improve plugins loaders (#5697)
damianpumar 524ce35
fix: :bug: Send visible_options prop only when the questions has more…
damianpumar 56864b8
[FEATURE] UI - update dataset list (#5684)
leiyre 4e4d897
🔥 Fix highlight on bulk (#5698)
damianpumar ea27b9d
🔥 Improve plugins loaders (#5697)
damianpumar 250a59d
fix: :bug: Send visible_options prop only when the questions has more…
damianpumar b849166
[FEATURE] UI - update dataset list (#5684)
leiyre 1338444
[ENHANCEMENT] `argilla server`: Return users on dataset progress (#5701)
frascuchon c406121
[EXAMPLES][DOCS] review basic webhooks example (#5710)
frascuchon 7733ad5
[Docs] configure issue form (#5703)
sdiazlor 293b929
chore: Add missing CHANGELOG entry
frascuchon 8cd6df8
Assign field to a span question (#5717)
leiyre f7faaee
Assign field to a span question (#5717)
leiyre 9f03df1
fix absolute position css for transition
leiyre 8342ca7
[BUGFIX] `argilla`: allow change default distribution values (#5719)
frascuchon be7fe66
update cursor
leiyre 5e06675
[DOCS] review 2.5.0 docs (#5723)
frascuchon 6131075
update ui
leiyre 37a72c7
fix: Set 2.5 migration tag
frascuchon d55fe89
Merge branch 'releases/2.5.0' of github.com:argilla-io/argilla into r…
frascuchon 2a58a30
fix lint
leiyre 90f3c85
Merge branch 'main' into develop
frascuchon 62a1fd0
[FEATURE]: Adding Functionality To Update Users (#5615)
sean-hickey-wf e66d001
[CI] Fix argilla-frontend build by adding the `package-lock.json` fil…
frascuchon b1820bd
fix: UI - use `last_activity_at` in the dataset list (#5741)
leiyre e6fe97c
[CI] fix install deps using python.3.13 (#5745)
frascuchon 0cbbdeb
[BUGFIX] prevent errors when updating user (#5742)
frascuchon 1a34f54
[BUGFIX] `argilla`: prevent enum literal validation errors (#5679)
frascuchon 21d07c9
🎉 Improve styles file weight (#5724)
leiyre 0487936
[FEATURE] Add support to update record fields (#5685)
frascuchon e7f46cc
🚑 feat/check version (#5738)
damianpumar a74d3eb
[BUGFIX] [TESTS] Remove custom isoformat parsing and let pydantic do …
frascuchon ebb0fa2
[BUGFIX] Fetch dataset setting when iterate `client.datasets` (#5753)
frascuchon e3938e8
[BUGFIX] `argilla`: review datasest import with new export flow (#5756)
frascuchon 9f839ce
[FEATURE-BRANCH] feat: dataset export to the Hub (#5730)
jfcalvo 1f8f155
chore: update packages versions
jfcalvo 3b105af
chore: update CHANGELOG.md versions
jfcalvo 4b46a93
chore: increase dev version to 2.7.0
jfcalvo 4d2a893
Feat/improve export hover (#5764)
damianpumar d6f823b
[CHORE] Add missing fixed entries (#5765)
frascuchon 3643cf3
✨ Add share component (#5727)
damianpumar a4686ee
🐛 Try
damianpumar 2e42642
Revert "🐛 Try"
damianpumar 12160d0
✨ Fix twice rendering
damianpumar c54ad60
Merge branch 'main' into develop
jfcalvo bf1fd7c
✨ Upgrade and remove packages (#5769)
damianpumar f195251
fix: :bug: Remove word (#5773)
damianpumar e12d832
Make message and role length configurable (#5784)
hamelsmu a9284f7
Add docs on chat question configuration (#5785)
davidberenstein1957 258ed82
Update docker-compose.yaml (#5766)
louisbrulenaudet 8efa39c
[DOCS] add update user to how-to guide (#5755)
sdiazlor dc3deab
Fix to Return Similarity Scores Along with Records (#5778)
Saikiranbonu1661 6a00494
[BUGFIX] [ENHANCEMENT] create users and workspaces with predefined ID…
frascuchon c49305d
[BUGFIX] Prevent index error with empty values (#5787)
frascuchon 045dec2
[BUGFIX] Pass `verify` (and other transport args) when creating the a…
frascuchon 74805e6
chore: Set release version
frascuchon 308b852
chore: Next dev version
frascuchon 8e29938
[BUGFIXES] Fixing error when using PostgreSQL (#5795)
frascuchon 105888a
[BUGFIX] Redirect slash when defining `ARGILLA_BASE_URL` (#5796)
frascuchon 6d6f96e
[REFACTOR][ENHANCEMENT] `argilla server`: better OAuth2 integration (…
frascuchon 6f84185
set release version
frascuchon cabc9dc
[BUGFIX] revent sending auth headers for public requests (#5804)
frascuchon d413bd6
Merge branch 'main' into develop
frascuchon a9c80ec
[BUGFIX] get dataset settings when using `client.datasets.list()` (#5…
frascuchon ce50eb3
[FEAT][HELM] set ES SSL verification (#5807)
omarmoo5 72fef19
docs: fixed typo in 'update a user' section from doc (#5806)
patrickfleith 9bc5f10
Merge branch 'main' into develop
frascuchon d6f61ff
set release version
frascuchon 534821b
prepare changelogs
frascuchon 1bc9407
add order when listing records in test (#5813)
frascuchon 77f5c57
Add redis cluster config (#5799)
paulbauriegel 78cb518
feat: add Japanese translation (#5816)
Tomoya-Matsubara d421072
fix: update setup-miniconda action to v3 and change miniforge variant…
JonnyTran dc09dde
Merge tag 'v2.8.0' into merge/argilla-v2.8.0
JonnyTran c9b22bf
feat: add translation for signin with provider in German
JonnyTran db384a4
fix: `argilla-v1` tests
JonnyTran 71c0ec2
chore: update Elasticsearch version to 8.17.0 across configurations
JonnyTran 587d39a
fix: `argilla-v1` tests
JonnyTran 563f791
feat: enhance test coverage reporting in CI workflow
JonnyTran 1f747ec
fix: update default image name in deploy workflow and adjust coverage…
JonnyTran 40b2444
feat: add test coverage reporting and update test scripts in CI workf…
JonnyTran efecbd9
fix: adjust test command options for improved performance and consist…
JonnyTran 4309214
feat: update codecov action to v5.4.3 and enhance test coverage commands
JonnyTran 7f342af
ci: Fixes #74, `argilla-frontend` tests for RenderTable and Records c…
JonnyTran 0b6aedb
fix: `npm run build` errors due to accessing private prop
JonnyTran 1476536
fix: correct spelling in docker image name and update Python requirem…
JonnyTran 753382d
fix: update pyarrow dependency version to allow for broader compatibi…
JonnyTran 4f12937
ci: use `uv` with `pdm install`
JonnyTran 003d4b9
ci: use `uv` with `pdm install` in `argilla-server.yml`
JonnyTran 726b9b0
fix: update pyarrow and fastparquet dependencies for compatibility ac…
JonnyTran 18f276b
fix: dev dependencies not being automatically installed
JonnyTran 04312fc
fix: remove verbose flag from pdm install commands in workflows
JonnyTran 1e17dca
fix: streamline dependency installation in workflows and update test …
JonnyTran c2ee188
fix: update uv setup action to version 6.1.0 and enable environment a…
JonnyTran 0307e0a
fix: downgrade uv setup action to version 5 and enable dev dependenci…
JonnyTran cbb12a5
fix: remove uv setup steps and streamline dependency installation in …
JonnyTran 6e7e53d
fix: update argilla workflow to use develop image and streamline depe…
JonnyTran 75d245f
fix: add skip_on decorator to handle HfHubHTTPError in tests
JonnyTran c75a979
fix: update Python version requirements in pyproject.toml and enhance…
JonnyTran fd4a152
fixes
JonnyTran 78f9e15
fix: correct import path for skip_on utility in test_hub_dataset_expo…
JonnyTran 4d77650
fix: refactor skip_on decorator and update Python version requirement…
JonnyTran db6e5ed
fix: update PDM configuration to use virtual environments
JonnyTran 099cfa6
fix: update PDM configuration to create and use virtual environments
JonnyTran ba54199
fix: simplify PDM configuration by removing virtual environment setup
JonnyTran 56b010c
fix: remove uv setup and PDM virtual environment configuration from w…
JonnyTran 149b467
fix: update pdm.lock
JonnyTran e87e2a0
fix: enhance PDM configuration to support uv installation and caching
JonnyTran bcc9919
fix: set PDM_IGNORE_ACTIVE_VENV environment variable to bypass active…
JonnyTran 3a3160f
fix: remove --no-self option from pdm install command in workflow
JonnyTran 7db33fd
fix: update datasets dependency version to >=3.0.0
JonnyTran e9f7efd
fix: improve error handling in skip_on function for HfHubHTTPError
JonnyTran ed39b99
fix: enhance skip_on decorator to accept exception type and improve e…
JonnyTran d728ad2
fix: add caching for uv dependencies and improve cache configuration
JonnyTran 0ad1268
fix: update spacy dependency for Python version compatibility
JonnyTran 0a37988
fix: add GitHub Actions workflows for building and caching `argilla` …
JonnyTran 6457c18
fix: remove pdm.lock update command from workflow steps for argilla a…
JonnyTran 93cc3d6
fix: update Python version to 3.12 in argilla-server workflow
JonnyTran c593c2c
fix: argilla-server test errors
JonnyTran b0150f1
fix: update dependencies and handling for Python 3.13 compatibility
JonnyTran 8641097
fix: update spaCy dependency handling and enable virtual environment …
JonnyTran 4aede10
fix: optimize caching and update uv installation steps in argilla wor…
JonnyTran 1cc1bd0
fix: enhance caching and add test coverage command in argilla workflows
JonnyTran eb29452
fix: argilla.yml workflows
JonnyTran f79e88a
fix: allow integration test fails in argilla workflow
JonnyTran f7416be
fix: pyproject.toml deps and pytest verbosity
JonnyTran 4143b8b
fix: update argilla workflows for local storage and enhance test verb…
JonnyTran 570c8c1
fix: update spaCy and pyarrow version constraints in pyproject.toml
JonnyTran 205abe8
revert argilla python 3.13 deps
JonnyTran 05cf6c6
fix: update CLI command invocations to use 'extralit' instead of 'pyt…
JonnyTran de52610
fix: argilla integration tests
JonnyTran File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| # GitHub Actions Workflows | ||
|
|
||
| This directory contains GitHub Actions workflows for building, testing, and deploying the Extralit project. The workflows are designed to run on various events, such as pushes to specific branches, pull requests, and manual triggers. | ||
|
|
||
| ## Key Workflows | ||
|
|
||
| ### `argilla.yml` | ||
|
|
||
| Builds and publishes the `argilla` SDK Python package. | ||
|
|
||
| - **Trigger**: Push to main/develop/releases branches, pull requests, or manual dispatch | ||
| - **Python versions**: 3.9, 3.10, 3.11, 3.12, 3.13 | ||
| - **Key steps**: | ||
| - Build and test the package | ||
| - Upload test coverage to Codecov | ||
| - Publish to PyPI | ||
|
|
||
| #### Python 3.13 Compatibility | ||
|
|
||
| Python 3.13 support requires special handling due to some dependencies not yet being fully compatible: | ||
|
|
||
| - The `spacy` dependency is specified with version conditions based on the Python version (v3.8.0+ for Python 3.13) | ||
| - These conditional dependencies ensure the package can be built and tested on Python 3.13 | ||
|
|
||
| ### `argilla-server.yml` | ||
|
|
||
| Builds and publishes the `argilla-server` package. | ||
|
|
||
| - **Trigger**: Push to main/develop/releases branches, pull requests, or manual dispatch | ||
| - **Key steps**: | ||
| - Run Elasticsearch, PostgreSQL, Redis, and MinIO services | ||
| - Build and test the server package | ||
| - Build Docker images | ||
| - Publish to PyPI | ||
| - **Frontend integration**: Includes steps to build the frontend and incorporate it into the server package | ||
|
|
||
| ## Caching Strategy | ||
|
|
||
| The workflows use multiple caching strategies to improve build performance: | ||
|
|
||
| 1. **PDM cache**: Through the `setup-pdm` action | ||
| 2. **UV cache**: Through the `actions/cache` action | ||
| - Key format: `{os}-uv-{python-version}-{pdm_hash}` for argilla | ||
| - Key format: `{os}-uv-server-{pdm_hash}` for argilla-server | ||
| - Paths cached: `~/.cache/uv`, `~/.cache/pip` | ||
|
|
||
| The UV cache uses the PDM lockfile hash to ensure the cache is invalidated when dependencies change. This approach provides more precise cache invalidation than date-based keys. | ||
|
|
||
| ## Environment Variables | ||
|
|
||
| The workflows set various environment variables: | ||
|
|
||
| - `UV_CACHE_DIR`: Location of the UV cache | ||
| - `UV_NO_WAIT`: Prevent UV from waiting for operations to complete (improves CI performance) | ||
| - `UV_SYSTEM_PYTHON`: Use the system Python instead of a virtual environment | ||
| - `PDM_IGNORE_ACTIVE_VENV`: Ignore active virtual environments | ||
|
|
||
| Additional environment variables are set in specific workflows: | ||
| - For `argilla-server.yml`: Database connection variables for Postgres, Elasticsearch, Redis, and MinIO | ||
| - For `argilla.yml`: HuggingFace credentials for integration tests | ||
|
|
||
| ## Common Issues & Solutions | ||
|
|
||
| ### Package caching not working | ||
|
|
||
| If dependencies are still being downloaded despite cache hits: | ||
|
|
||
| 1. Ensure `pdm.lock` is up-to-date with `pyproject.toml` (run `pdm lock --no-sync`) | ||
| 2. Make sure the `pdm.lock` file is committed to the repository (not gitignored) | ||
| 3. Check that the cache key properly includes the lockfile hash | ||
| 4. Verify that both directories (`~/.cache/uv` and `~/.cache/pip`) are being cached | ||
|
|
||
| ### Incompatible dependencies | ||
|
|
||
| For Python 3.13 or newer Python versions: | ||
|
|
||
| 1. Use conditional dependencies in `pyproject.toml` with version specifiers | ||
| 2. Add special handling in workflows for these Python versions | ||
| 3. Skip tests that depend on incompatible packages | ||
|
|
||
| ## Best Practices | ||
|
|
||
| 1. Always commit the `pdm.lock` file to ensure reproducible builds | ||
| 2. Use conditional dependencies for Python version compatibility | ||
| 3. Use caching effectively with proper invalidation strategies | ||
| 4. Set up proper test coverage reporting |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -138,7 +138,6 @@ sw.* | |
|
|
||
| # yarn & npm | ||
| yarn.lock | ||
| package-lock.json | ||
|
|
||
| # App generated files | ||
| src/**/server/static/ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| module.exports = {}; | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.