Skip to content

Conversation

@teocns
Copy link
Contributor

@teocns teocns commented Jan 7, 2025

This PR includes two main improvements:

1. Python 3.13 Dependency Updates

  • Ensures Pydantic ≥2.8.0 and typing-extensions are used to prevent build failures with pydantic-core when running with Python 3.13
  • Implements using UV's constraint-dependencies with environment markers
  • Allows flexible dependency versions for other Python versions while enforcing compatibility requirements specifically for Python 3.13

2. CI Workflow Enhancements

  • Triggers python-tests workflow on pyproject.toml changes to ensure dependency updates are properly tested
  • Updates setup-uv action configuration to use cache-suffix instead of deprecated cache-prefix parameter
  • Maintains separate caches for different Python versions using cache-suffix: uv-${python-version}

When running with Python 3.13, ensure Pydantic ≥2.8.0 and typing-extensions are used
to prevent build failures with pydantic-core. This is implemented using UV's
constraint-dependencies with environment markers, allowing flexible dependency
versions for other Python versions while enforcing compatibility requirements
specifically for Python 3.13.
@codecov
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Flag Coverage Δ
unittests 36.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@teocns teocns force-pushed the fix/packaging-py13-pydantic branch from 03e5145 to 844ad8b Compare January 7, 2025 06:09
@teocns teocns changed the title chore: update dependencies for Python 3.13 compatibility Python 3.13 Compatibility & CI Improvements Jan 7, 2025
@teocns teocns merged commit 7f8f3b6 into main Jan 7, 2025
7 checks passed
@teocns teocns deleted the fix/packaging-py13-pydantic branch January 7, 2025 06:16
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