databricks-cli/bundle/libraries
Andrew Nester ffdbec87cc
Added support for pip options in environment dependencies (#1842)
## Changes
Added support for specifying pip options such as `--extra-index-url` and
etc. in environments dependencies

```
environments:
  - environment_key: Default
    spec:
      client: "1"
      dependencies:
        - --extra-index-url https://foo@bar.com/packages/smth somepackage
        - json==1.0.0
```

## Tests
Added regression test

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2024-10-21 11:45:39 +00:00
..
testdata Refactor library to artifact matching to not use pointers (#1172) 2024-02-05 15:29:45 +00:00
expand_glob_references.go Expand library globs relative to the sync root (#1756) 2024-09-09 09:56:16 +00:00
expand_glob_references_test.go Modify SetLocation test utility to take full locations as argument (#1788) 2024-09-25 16:13:48 +00:00
helpers.go Do not treat empty path as a local path (#1717) 2024-08-26 10:03:56 +00:00
helpers_test.go Do not treat empty path as a local path (#1717) 2024-08-26 10:03:56 +00:00
libraries.go Do not treat empty path as a local path (#1717) 2024-08-26 10:03:56 +00:00
local_path.go Added support for pip options in environment dependencies (#1842) 2024-10-21 11:45:39 +00:00
local_path_test.go Correctly mark PyPI package name specs with multiple specifiers as remote libraries (#1725) 2024-08-28 11:39:06 +00:00
match_test.go Expand library globs relative to the sync root (#1756) 2024-09-09 09:56:16 +00:00
upload.go Expand library globs relative to the sync root (#1756) 2024-09-09 09:56:16 +00:00
upload_test.go Expand library globs relative to the sync root (#1756) 2024-09-09 09:56:16 +00:00
workspace_path.go Do not treat empty path as a local path (#1717) 2024-08-26 10:03:56 +00:00
workspace_path_test.go Refactor library to artifact matching to not use pointers (#1172) 2024-02-05 15:29:45 +00:00