ossie
ossie copied to clipboard
Switch to uv - converters/omni
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) - Updated
pyproject.tomlwith PEP 639 - Added
authors,readme,keywords,project.urlsinpyproject.toml(unlike keywords inpython/, this one has an extra entry forOmni) - Removed redundant
classifiersinpyproject.tomlas that is covered byrequires-python - Added
uv.lock - Removed
pythonpath = ["src"]as that is default path - Changed minimal supported python from 3.9 (EOL) to 3.10
Sample validation:
➜ omni git:(switch_to_uv_omni) uv sync
Resolved 13 packages in 17ms
Built osi-omni @ file:///Users/yong/Desktop/GitHome/ossie/converters/omni
Prepared 1 package in 381ms
Uninstalled 1 package in 1ms
Installed 1 package in 1ms
~ osi-omni==0.2.0.dev0 (from file:///Users/yong/Desktop/GitHome/ossie/converters/omni)
➜ omni git:(switch_to_uv_omni) 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/omni
configfile: pyproject.toml
testpaths: tests
plugins: hypothesis-6.156.6
collected 86 items
tests/test_omni_to_osi.py .................................... [ 41%]
tests/test_osi_to_omni.py .................................... [ 83%]
tests/test_real_world_layout.py .... [ 88%]
tests/test_roundtrip.py .....sss [ 97%]
tests/test_roundtrip_properties.py .. [100%]
===================================================================== 83 passed, 3 skipped in 3.42s ======================================================================