Skip to content

Switch to uv - converters/honeydew#214

Open
MonkeyCanCode wants to merge 1 commit into
apache:mainfrom
MonkeyCanCode:switch_to_uv_honeydew
Open

Switch to uv - converters/honeydew#214
MonkeyCanCode wants to merge 1 commit into
apache:mainfrom
MonkeyCanCode:switch_to_uv_honeydew

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 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 Honeydew)
  5. Removed redundant classifiers in pyproject.toml as that is covered by requires-python
  6. Added uv.lock
  7. Removed pythonpath = ["src"] as that is default path
  8. Converted project from single python script file into module (this doesn't follow the standard naming yet, I will raise another dev mailing list on this topic as there are two of this)
  9. Updated test case to use module instead of loading single python script file into class path

Sample validation:

➜  honeydew git:(switch_to_uv_honeydew) uv sync
Resolved 8 packages in 3ms
Checked 7 packages in 0.59ms
➜  honeydew git:(switch_to_uv_honeydew) uv run pytest
========================================================================== test session starts ===========================================================================
platform darwin -- Python 3.13.0, pytest-9.1.1, pluggy-1.6.0
rootdir: /Users/yong/Desktop/GitHome/ossie/converters/honeydew
configfile: pyproject.toml
testpaths: tests
collected 128 items

tests/test_honeydew_osi_converter.py ............................................................................................................................. [ 97%]
...                                                                                                                                                                [100%]

============================================================================ warnings summary ============================================================================
tests/test_honeydew_osi_converter.py::test_empty_or_whitespace_metric_expression_skipped[expression0]
tests/test_honeydew_osi_converter.py::test_empty_or_whitespace_metric_expression_skipped[expression1]
  /Users/yong/Desktop/GitHome/ossie/converters/honeydew/src/honeydew_osi/converter.py:506: UserWarning: Metric 'bad_m': no entity reference found in expression; assigning to 'orders'
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
==================================================================== 128 passed, 2 warnings in 0.57s =====================================================================

@MonkeyCanCode MonkeyCanCode changed the title Switch to uv honeydew - converters/honeydew Switch to uv - converters/honeydew 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.

Also, we could have group the uv switch in a single PR.

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