ossie icon indicating copy to clipboard operation
ossie copied to clipboard

Switch to uv - converters/dbt

Open MonkeyCanCode opened this issue 4 months ago • 0 comments

As per ML, we want to proceed with more standard layout for python project by using uv. Here are the changes made in this PR:

  1. Added LICENSE and NOTICE (see above for reference)
  2. Added README.md with instructions around uv
  3. Updated pyproject.toml with PEP 639
  4. Added authors, readme, keywords, project.urls in pyproject.toml (unlike keywords in python/, this one has an extra entry for dbt)
  5. Removed redundant classifiers in pyproject.toml as that is covered by requires-python
  6. Added uv.lock

Sample validation:

➜  dbt git:(switch_to_uv_dbt) uv run pytest --snapshot-update

========================================================================== test session starts ===========================================================================
platform darwin -- Python 3.11.13, pytest-9.1.1, pluggy-1.6.0
rootdir: /Users/yong/Desktop/GitHome/ossie/converters/dbt
configfile: pyproject.toml
testpaths: tests
plugins: syrupy-5.5.3
collected 94 items

tests/test_msi_to_osi.py ..................................................................                                                                        [ 70%]
tests/test_osi_to_msi.py ............................                                                                                                              [100%]

------------------------------------------------------------------------ snapshot report summary -------------------------------------------------------------------------
5 snapshots generated.
=========================================================================== 94 passed in 0.35s ===========================================================================

➜  dbt git:(switch_to_uv_dbt) ✗ uv sync
Resolved 31 packages in 3ms
Checked 30 packages in 1ms

➜  dbt git:(switch_to_uv_dbt) ✗ uv run pytest
========================================================================== test session starts ===========================================================================
platform darwin -- Python 3.11.13, pytest-9.1.1, pluggy-1.6.0
rootdir: /Users/yong/Desktop/GitHome/ossie/converters/dbt
configfile: pyproject.toml
testpaths: tests
plugins: syrupy-5.5.3
collected 94 items

tests/test_msi_to_osi.py ..................................................................                                                                        [ 70%]
tests/test_osi_to_msi.py ............................                                                                                                              [100%]

------------------------------------------------------------------------ snapshot report summary -------------------------------------------------------------------------
5 snapshots passed.
=========================================================================== 94 passed in 0.26s ===========================================================================
➜  dbt git:(switch_to_uv_dbt) ✗

MonkeyCanCode avatar Jul 16 '26 07:07 MonkeyCanCode