Update lock-dependencies to scrub CDN references#392
Open
asnare wants to merge 7 commits into
Open
Conversation
|
✅ 40/40 passed, 2 skipped, 1m58s total Running from acceptance #475 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #392 +/- ##
=======================================
Coverage 80.15% 80.15%
=======================================
Files 17 17
Lines 2474 2474
Branches 403 403
=======================================
Hits 1983 1983
Misses 364 364
Partials 127 127 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This was referenced Jun 23, 2026
Update
lock-dependencies to also scrub the registry used in CDN URLs.
databrickslabs/lakebridge#2525
Open
|
|
asnare
added a commit
to databrickslabs/pytester
that referenced
this pull request
Jun 24, 2026
## Changes This PR works around a behaviour change introduced by Databricks SDK v0.102.0 that causes unit tests to fail if they are using the `Config` class. Specifically, during `__init__()` the `Config()` class now performs a HTTP request against the host, and retries for 5 minutes if the host does not exist. Unit tests typically fill in a bogus host, which was fine previously because initialising `Config` was inert and didn't trigger network calls. Now that it does, some sort of workaround (such as monkey-patching) is required. Incidental change: - Dependency-management for the project was out-of-date, and stopped working because the lockfile referred directly to an internal PyPi proxy that is no longer intended for use. As such the plumbing for locking dependencies was updated, and the lockfile regenerated. ### Linked issues Tests, same as: databrickslabs/blueprint#331 For `Makefile`, same as: databrickslabs/blueprint#392 ### Tests - updated unit tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the
lock-dependenciestarget so that it also scrubs mirror information from theurl =references: these refer to the PyPI CDN.This change is needed because some mirrors/proxies also rewrite the CDN URLs: without this change
uv.lockrefers to environment-specific URLs instead of PyPi.In addition to the
Makefilechanges, the locks have been refreshed.