Skip to content

Switch to uv - converters/dbt#212

Open
MonkeyCanCode wants to merge 3 commits into
apache:mainfrom
MonkeyCanCode:switch_to_uv_dbt
Open

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

Conversation

@MonkeyCanCode

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. Added 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 dbt)
  5. Removed redundant classifiers in pyproject.toml as that is covered by requires-python
  6. 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.

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