Skip to content

Switch to uv - python#211

Open
MonkeyCanCode wants to merge 4 commits into
apache:mainfrom
MonkeyCanCode:switch_to_uv
Open

Switch to uv - python#211
MonkeyCanCode wants to merge 4 commits into
apache:mainfrom
MonkeyCanCode:switch_to_uv

Conversation

@MonkeyCanCode

@MonkeyCanCode MonkeyCanCode commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

This PR is created on top of #205, LICENSE and NOTICED are added here for completeness. These two files would be remove if the reference PR got merged first.

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
  5. Removed redundant classifiers in pyproject.toml as that is covered by requires-python
  6. Removed pytest dependency as this project doesn't have any unit test
  7. Refresh uv.lock

Sample validation:

➜  python git:(switch_to_uv) uv sync
Using CPython 3.11.13
Creating virtual environment at: .venv
Resolved 7 packages in 17ms
      Built apache-ossie @ file:///Users/yong/Desktop/GitHome/ossie/python
Prepared 1 package in 476ms
Installed 7 packages in 35ms
 + annotated-types==0.7.0
 + apache-ossie==0.2.0.dev0 (from file:///Users/yong/Desktop/GitHome/ossie/python)
 + pydantic==2.13.4
 + pydantic-core==2.46.4
 + pyyaml==6.0.3
 + typing-extensions==4.16.0
 + typing-inspection==0.4.2
➜  python git:(switch_to_uv) uv build
Building source distribution...
Building wheel from source distribution...
Successfully built dist/apache_ossie-0.2.0.dev0.tar.gz
Successfully built dist/apache_ossie-0.2.0.dev0-py3-none-any.whl

@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