Skip to content

Conversation

@leandrodamascena
Copy link
Contributor

Issue number: closes #5624

Summary

This PR migrates our pipelines from Poetry to uv.

Poetry examples in examples/build_recipes/poetry/ kept for users who still use it.

Changes

Please provide a summary of what's being changed

User experience

Please share what the user experience looks like before and after this change


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team as a code owner January 6, 2026 12:05
@pull-request-size pull-request-size bot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jan 6, 2026
@boring-cyborg boring-cyborg bot added dependencies Pull requests that update a dependency file github-actions Pull requests that update Github_actions code internal Maintenance changes labels Jan 6, 2026
@boring-cyborg boring-cyborg bot added the tests label Jan 6, 2026
@codecov
Copy link

codecov bot commented Jan 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.72%. Comparing base (a3255e9) to head (e196e86).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #7910   +/-   ##
========================================
  Coverage    96.72%   96.72%           
========================================
  Files          275      275           
  Lines        13214    13214           
  Branches      1006     1006           
========================================
  Hits         12781    12781           
  Misses         325      325           
  Partials       108      108           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.


if self._has_source_changed():
subprocess.run(self.build_command, shell=True, check=True)
# Build wheel first, then install with platform constraints
Copy link

Choose a reason for hiding this comment

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

Just for my own curiosity, why does these new commands need to be added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Honestly, I think this bunch of commands is overkill for managing dependencies. We're not concerned with cold start and things like that; we just want to ensure everything works as expected after any code change, regardless of whether we install libraries with debug symbols, binaries, or not. So, I think I'll refactor all these commands and use the PythonFunction constructor from the CDK, which takes care of all that.

Copy link

Choose a reason for hiding this comment

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

Makes sense!

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 6, 2026

Comment on lines +8 to +9
pip install --upgrade pip pre-commit uv
uv sync --all-extras
Copy link
Contributor

@tonnico tonnico Jan 7, 2026

Choose a reason for hiding this comment

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

I like the move to uv.

Maybe somthing like this?

pip install --upgrade uv
uv sync --all-extras

and putting pre-commit (maybe pre-commit-uv) to extras? I think, you do not need to upgrade pip anymore after installing uv. what do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, you're right! I'm focusing now on resolving the issue with our end-to-end tests that are overengenireeing dependencies install, and I'll take a look on this after that.
Thanks for the tip, @tonnico.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github-actions Pull requests that update Github_actions code internal Maintenance changes size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance: Migrate our pipelines from poetry to uv

3 participants