ossie
ossie copied to clipboard
Switch to uv - converters/goodata
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
README.mdwith instructions arounduv - Updated
pyproject.tomlwith PEP 639 - Added
pyproject.toml(unlike keywords inpython/, this one has an extra entry forSnowflake) - Removed pythonpath = ["src"] as that is default path
- Sorted the sections in
pyproject.tomlalphabetically - Changed
authorsto ASF
Sample validation:
➜ gooddata git:(switch_to_uv_gooddata) ✗ uv sync
Resolved 11 packages in 3ms
Built apache-ossie-gooddata @ file:///Users/yong/Desktop/GitHome/ossie/converters/gooddata
Prepared 1 package in 243ms
Uninstalled 1 package in 0.81ms
Installed 1 package in 1ms
~ apache-ossie-gooddata==0.2.0.dev0 (from file:///Users/yong/Desktop/GitHome/ossie/converters/gooddata)
➜ gooddata git:(switch_to_uv_gooddata) ✗ uv run pytest
==================================================================================================================================================== test session starts =====================================================================================================================================================
platform darwin -- Python 3.13.0, pytest-9.0.3, pluggy-1.6.0
rootdir: /Users/yong/Desktop/GitHome/ossie/converters/gooddata
configfile: pyproject.toml
testpaths: tests
plugins: cov-7.1.0
collected 28 items
tests/test_gooddata_to_osi.py ........... [ 39%]
tests/test_models.py .. [ 46%]
tests/test_osi_to_gooddata.py .......... [ 82%]
tests/test_roundtrip.py ..... [100%]
===================================================================================================================================================== 28 passed in 0.10s =====================================================================================================================================================