-
Notifications
You must be signed in to change notification settings - Fork 3
909 make bitbucket ci config backend agnostic #953
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
909 make bitbucket ci config backend agnostic #953
Conversation
… `_integrations.environ` layer
There was a problem hiding this 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 makes Bitbucket CI configuration backend agnostic by adding support for the "none" backend alongside the existing UV backend. This allows users to generate Bitbucket pipelines configuration without requiring UV as a dependency manager.
- Adds "none" backend support to all tool implementations for generating Bitbucket CI steps
- Creates backend-agnostic functions for determining supported Python versions
- Updates test coverage to include both UV and none backend scenarios
Reviewed Changes
Copilot reviewed 23 out of 25 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
tests/usethis/_ui/interface/test_interface_ci.py |
Adds test for maximal config with none backend and renames existing test for clarity |
tests/usethis/_ui/interface/maximal_bitbucket_pipelines_none_backend.yml |
New test fixture file for none backend pipeline configuration |
tests/usethis/_integrations/ci/bitbucket/test_steps.py |
Adds comprehensive tests for script item canonical ordering |
tests/usethis/_integrations/ci/bitbucket/test_anchor.py |
New test file for anchor name extraction functionality |
tests/usethis/_integrations/backend/uv/test_python.py |
Updates imports to use new backend-agnostic function |
tests/usethis/_core/test_core_tool.py |
Adds tests for Bitbucket integration with none backend |
tests/usethis/_core/test_core_ci.py |
Adds test for CI configuration with none backend |
tests/docs/test_readme.py |
Updates codecov token |
src/usethis/_ui/interface/tool.py |
Adds backend parameter to mkdocs function |
src/usethis/_tool/impl/*.py |
Updates all tool implementations to support both uv and none backends |
src/usethis/_integrations/python/version.py |
Adds convenience function for getting Python major version |
src/usethis/_integrations/environ/python.py |
New module for backend-agnostic Python version handling |
src/usethis/_integrations/ci/bitbucket/steps.py |
Adds canonical ordering for script items and none backend support |
src/usethis/_integrations/ci/bitbucket/anchor.py |
Adds ensure-venv script item and anchor extraction function |
src/usethis/_core/tool.py |
Updates requirements.txt generation logic for none backend |
pyproject.toml |
Adds environ layer to import linter configuration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
…en using backend=None
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 24 out of 26 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
CodSpeed Performance ReportMerging #953 will not alter performanceComparing Summary
|
…exceptions=False` Remove click as a direct dependency
…pelines_none_backend.yml
…://github.com/nathanjmcdougall/usethis-python into 909-make-bitbucket-ci-config-backend-agnostic
No description provided.