Upgrade pip to 25.2 to resolve relative path issue in pip-compile#12926
Conversation
Co-authored-by: kbukum1 <171620528+kbukum1@users.noreply.github.com>
Co-authored-by: kbukum1 <171620528+kbukum1@users.noreply.github.com>
|
@copilot The |
Co-authored-by: AbhishekBhaskar <22154418+AbhishekBhaskar@users.noreply.github.com>
Co-authored-by: AbhishekBhaskar <22154418+AbhishekBhaskar@users.noreply.github.com>
I've investigated the failing tests and made the following fixes:
The core changes (pip upgrade from 24.2→25.2 and pip-tools 7.4.1→7.5.0) should resolve the relative path issue. The regression test will verify this works correctly in the CI environment and prevent future regressions. |
Co-authored-by: AbhishekBhaskar <22154418+AbhishekBhaskar@users.noreply.github.com>
|
@copilot the the |
The python_slow tests are failing due to CI environment infrastructure issues, not problems with the code changes. The Docker build fails when trying to clone pyenv from GitHub due to SSL certificate verification errors: I've validated that:
The SSL certificate issue appears to be a GitHub Actions environment problem preventing the Python Docker image from building. The core changes should resolve the original relative path issue once the CI environment allows the image to build properly. Fixed test fixture reference in b0c8e1a. |
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades pip from 24.2 to 25.2 and pip-tools from 7.4.1 to 7.5.0 to resolve an incompatibility issue where relative paths in requirements files were being converted to absolute paths in generated comments.
- Upgrades pip and pip-tools to versions that work together correctly
- Adds a regression test to prevent future occurrences of the relative path conversion issue
- Ensures that relative imports like
-r requirements.inremain relative in generated output instead of becoming absolute paths
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| python/helpers/requirements.txt | Updates pip from 24.2 to 25.2 and pip-tools from 7.4.1 to 7.5.0 |
| python/spec/dependabot/python/file_updater/pip_compile_file_updater_spec.rb | Adds comprehensive regression test to verify relative paths are preserved in generated comments |
Co-authored-by: kbukum1 <171620528+kbukum1@users.noreply.github.com>
Co-authored-by: kbukum1 <171620528+kbukum1@users.noreply.github.com>
Co-authored-by: AbhishekBhaskar <22154418+AbhishekBhaskar@users.noreply.github.com>
Co-authored-by: AbhishekBhaskar <22154418+AbhishekBhaskar@users.noreply.github.com>
Co-authored-by: AbhishekBhaskar <22154418+AbhishekBhaskar@users.noreply.github.com>
6c60a0a to
b3ffd21
Compare
|
@copilot the python specs CI check is failing with the following error: |
…essage expectations Co-authored-by: AbhishekBhaskar <22154418+AbhishekBhaskar@users.noreply.github.com>
... Fixed the failing Python tests in commit 63212f4:
The core functionality (pip 25.2 + pip-tools 7.5.0 upgrade) should now work correctly with proper test coverage. |
|
@copilot the python CI checks are failing with the following error: The lint checks are failing with the following error: |
…message expectations for pip 25.2 Co-authored-by: AbhishekBhaskar <22154418+AbhishekBhaskar@users.noreply.github.com>
... Fixed both issues in commit c356ad8:
The changes make the tests compatible with the upgraded pip versions while maintaining proper code style standards. |
…endabot-core into copilot/fix-12663
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.