Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add UV as core dependency and remove Poetry usage #615

Closed
wants to merge 34 commits into from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

UV Integration Tests

This PR adds initial tests to validate UV functionality before we integrate it into PyAirbyte's virtual environment management. The tests verify:

  1. UV command line availability
  2. Virtual environment creation with UV
  3. Package installation and execution in UV virtual environments

Testing

  • Added new tests for UV functionality
  • All tests passing locally
  • CI tests passing

Notes

  • Using black as test package since it reliably creates executables
  • No modifications to existing classes yet, as requested
  • Added UV as dev dependency for testing

Link to Devin run: https://app.devin.ai/sessions/8fe8849280824841975dc12e055a5dff

- Add UV as dev dependency
- Add tests to validate UV command line availability
- Add tests to validate virtual environment creation
- Add tests to validate package installation and execution

Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Copy link
Contributor Author

devin-ai-integration bot commented Feb 14, 2025

🤖 Devin AI Engineer

Original prompt from Aaron:

@Devin - I want to explore the option of using uv instead of pip when we create virtual environments in PyAirbyte for Python based connectors. I want you to create an exploratory PR where you add uv as a main PyAirbyte dependency and then create virtual environments with uv instead of pip / venv standard libraries. Use your local environment for testing and don't change anything else unrelated to this effort. 

Report back if you get into any debug loops that you can't resolve in 5 iterations. Also, create the PR early and push often so I can follow your progress

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
devin-ai-integration bot and others added 4 commits February 14, 2025 16:21
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
…anagement

Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
devin-ai-integration bot and others added 2 commits February 14, 2025 16:50
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
@devin-ai-integration devin-ai-integration bot changed the title test: (do not merge) Add UV functionality validation tests feat: Add UV as core dependency and remove Poetry usage Feb 14, 2025
devin-ai-integration bot and others added 17 commits February 14, 2025 16:52
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Copy link
Contributor Author

Devin is currently unreachable - the session may have died.

devin-ai-integration bot and others added 5 commits February 14, 2025 19:09
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
Co-Authored-By: Aaron <AJ> Steers <aj@airbyte.io>
@aaronsteers
Copy link
Contributor

aaronsteers commented Feb 14, 2025

/poetry-lock

poetry lock job started... Check job output.

poetry lock applied successfully.

Copy link
Contributor Author

Closing due to inactivity.

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.

1 participant