ossie icon indicating copy to clipboard operation
ossie copied to clipboard

Switch to uv - python

Open MonkeyCanCode opened this issue 4 months ago • 0 comments

This PR is created on top of https://github.com/apache/ossie/pull/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

MonkeyCanCode avatar Jul 16 '26 07:07 MonkeyCanCode