Skip to content

Conversation

@jens-kuerten
Copy link
Collaborator

No description provided.

@jens-kuerten jens-kuerten requested a review from Copilot November 10, 2025 13:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the project from Poetry to uv as the package manager and modernizes Python type hints to use Python 3.10+ syntax. The changes include:

  • Replacing Poetry's pyproject.toml configuration with uv-compatible format
  • Converting type hints to use modern PEP 604 union syntax (| instead of Union and Optional)
  • Updating imports to use collections.abc for abstract base classes
  • Replacing poetry.lock with uv.lock

Key Changes

  • Build system: Migrated from Poetry to setuptools with uv dependency management
  • Type hints: Modernized to Python 3.10+ syntax (X | Y instead of Union[X, Y], X | None instead of Optional[X])
  • Dependencies: Maintained the same dependencies with proper version constraints in the new format

Reviewed Changes

Copilot reviewed 16 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pyproject.toml Converted from Poetry format to setuptools/uv format with dependency groups
uv.lock New lock file for uv package manager with comprehensive dependency resolution
poetry.lock Deleted as part of migration from Poetry to uv
csfunctions/util.py Updated type hints: Type[T]type[T], List[T]list[T]
csfunctions/service/file_upload_schemas.py Modernized optional type hints: Optional[X]X | None
csfunctions/service/base.py Modernized optional type hints in method signatures
csfunctions/response.py Converted Union types to pipe syntax
csfunctions/objects/part.py Modernized optional type hints
csfunctions/objects/base.py Moved Hashable import from typing to collections.abc
csfunctions/objects/__init__.py Reformatted union types to vertical pipe syntax
csfunctions/metadata.py Modernized optional type hints
csfunctions/handler.py Moved Callable import from typing to collections.abc
csfunctions/events/__init__.py Reformatted union types to vertical pipe syntax

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jens-kuerten jens-kuerten merged commit 213f4ab into main Nov 10, 2025
10 checks passed
@jens-kuerten jens-kuerten deleted the switch-to-uv branch November 10, 2025 13:37
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