Skip to content

Switch to uv - converters/dbt#212

Closed
MonkeyCanCode wants to merge 5 commits into
apache:mainfrom
MonkeyCanCode:switch_to_uv_dbt
Closed

Switch to uv - converters/dbt#212
MonkeyCanCode wants to merge 5 commits into
apache:mainfrom
MonkeyCanCode:switch_to_uv_dbt

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 README.md with instructions around uv
  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 dbt)
  4. Removed redundant classifiers in pyproject.toml as that is covered by requires-python
  5. 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) ✗

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

@MonkeyCanCode
MonkeyCanCode requested a review from jbonofre July 18, 2026 02:24
@MonkeyCanCode

Copy link
Copy Markdown
Contributor Author

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

This is completed.

@MonkeyCanCode

Copy link
Copy Markdown
Contributor Author

Closed in favor of #228

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