Skip to content

Use requirements.txt in docker build - #536

Merged
aronatkins merged 1 commit into
masterfrom
mm-fix-docker-build
Jan 18, 2024
Merged

aronatkins merged 1 commit into
masterfrom
mm-fix-docker-build

Conversation

@mmarchetti

Copy link
Copy Markdown
Contributor

Intent

This PR fixes the make image-* target, which currently fails because the .[test] is not installable within the docker build. Instead, we're using pip install -r requirements.txt.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change

Automated Tests

This is used in as part of running make test locally.

Directions for Reviewers

make image-3.8
make test-3.8

@github-actions

Copy link
Copy Markdown

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
4426 3146 71% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: fdecc3d by action🐍

@aronatkins aronatkins left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I totally missed that we still had a requirements.txt.

nit: The requirements file says:

# This file is just for Snyk scanning,
# because it doesn't understand pyproject.toml
# unless it uses Poetry.
# https://github.com/snyk/snyk-python-plugin/issues/147

@aronatkins
aronatkins merged commit 1f6f75d into master Jan 18, 2024
@aronatkins
aronatkins deleted the mm-fix-docker-build branch January 18, 2024 21:28
Sign up for free to 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.

2 participants