Skip to content

Commit

Permalink
chore: move python integ tests to uv (#1424)
Browse files Browse the repository at this point in the history
New commands to run python integ tests:

```
# from within integ-tests/python
uv run maturin develop --uv --manifest-path ../../engine/language_client_python/Cargo.toml"
uv run baml-cli generate --from ..
infisical run --env=test -- uv run pytest"
```

References to poetry have been updated to point to uv.

Also delete old github workflows that haven't been relevant for almost a
year.
<!-- ELLIPSIS_HIDDEN -->


----

> [!IMPORTANT]
> Transition Python integration tests from Poetry to uv, update related
scripts and documentation, and remove outdated GitHub workflows.
> 
>   - **Behavior**:
> - Transition Python integration tests from Poetry to uv in
`integ-tests/python`.
> - Update test execution commands in `run_tests.sh` and
`integ-tests/run-tests.sh` to use `uv`.
>     - Remove outdated GitHub workflows related to old testing setups.
>   - **Dependencies**:
> - Update `pyproject.toml` to reflect `uv` usage and remove Poetry
references.
>     - Add `uv.lock` for dependency management.
>   - **Documentation**:
> - Update `README.md` files in `integ-tests` and `integ-tests/python`
to guide using `uv` for setup and testing.
>   - **Misc**:
>     - Remove `tools/install` script as it is no longer relevant.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=BoundaryML%2Fbaml&utm_source=github&utm_medium=referral)<sup>
for ba4dc61. It will automatically
update as commits are pushed.</sup>


<!-- ELLIPSIS_HIDDEN -->
  • Loading branch information
sxlijin authored Feb 7, 2025
1 parent 3eebfc9 commit 62fba91
Show file tree
Hide file tree
Showing 23 changed files with 595 additions and 1,717 deletions.
105 changes: 0 additions & 105 deletions .github/examples/bump_versions.yml

This file was deleted.

257 changes: 0 additions & 257 deletions .github/examples/cli.yml

This file was deleted.

Loading

0 comments on commit 62fba91

Please sign in to comment.