Skip to content

Example to demonstrate a job picking up a requirements.txt - #29

Open
pietern wants to merge 2 commits into
mainfrom
job-with-requirements
Open

Example to demonstrate a job picking up a requirements.txt#29
pietern wants to merge 2 commits into
mainfrom
job-with-requirements

Conversation

@pietern

Copy link
Copy Markdown
Contributor

Note: this is not yet working as intended. The requirements file path should be relative.

spark_python_task:
python_file: ../src/main.py
libraries:
- requirements: /Workspace/${workspace.file_path}/requirements.txt

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must be ../requirements.txt.

github-merge-queueBot pushed a commit to databricks/cli that referenced this pull request Jun 26, 2024
## Changes
This includes a fix for library order not being respected.
## Tests
Manually confirmed the fix works in
databricks/bundle-examples#29.
denik pushed a commit to databricks/cli that referenced this pull request May 20, 2026
## Changes
This includes a fix for library order not being respected.
## Tests
Manually confirmed the fix works in
databricks/bundle-examples#29.
Sign up for freeto 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

@pietern