ossie
ossie copied to clipboard
Switch to uv - converters/dbt
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:
- Added
LICENSEandNOTICE(see above for reference) - Added
README.mdwith instructions arounduv - Updated
pyproject.tomlwith PEP 639 - Added
authors,readme,keywords,project.urlsinpyproject.toml(unlike keywords inpython/, this one has an extra entry fordbt) - Removed redundant
classifiersinpyproject.tomlas that is covered byrequires-python - 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) ✗