Skip to content

Switch to uv - converters/omni#213

Open
MonkeyCanCode wants to merge 2 commits into
apache:mainfrom
MonkeyCanCode:switch_to_uv_omni
Open

Switch to uv - converters/omni#213
MonkeyCanCode wants to merge 2 commits into
apache:mainfrom
MonkeyCanCode:switch_to_uv_omni

Conversation

@MonkeyCanCode

@MonkeyCanCode MonkeyCanCode commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

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. Updated pyproject.toml with PEP 639
  3. Added authors, readme, keywords, project.urls in pyproject.toml (unlike keywords in python/, this one has an extra entry for Omni)
  4. Removed redundant classifiers in pyproject.toml as that is covered by requires-python
  5. Added uv.lock
  6. Removed pythonpath = ["src"] as that is default path
  7. 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 ======================================================================

@MonkeyCanCode MonkeyCanCode changed the title Switch to uv omni - converters/omni Switch to uv - converters/omni Jul 16, 2026

@jbonofre jbonofre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please remove the LICENSE and NOTICE file for now? The "root" ones are good enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants