Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Explicitly install the toml package #1338

Merged
merged 3 commits into from
Sep 16, 2022
Merged

Explicitly install the toml package #1338

merged 3 commits into from
Sep 16, 2022

Conversation

PSalant726
Copy link
Contributor

@PSalant726 PSalant726 commented Sep 16, 2022

Purpose

The toml package is not included in requirements.txt, but is referenced in source code as a direct dependency:

This creates installation issues for anyone installing fidesops via pip.

Changes

  • Add toml to requirements.txt
  • Reduce toml import volume in config.py

Checklist

  • Update CHANGELOG.md file
    • Merge in main so the most recent CHANGELOG.md file is being appended to
    • Add description within the Unreleased section in an appropriate category. Add a new category from the list at the top of the file if the needed one isn't already there.
    • Add a link to this PR at the end of the description with the PR number as the text. example: #1
  • The Run Unsafe PR Checks label has been applied, and checks have passed, if this PR touches any external services

Ticket

Related to ethyca/fidesops-plus#37

Previously this package was included as an indirect dependency only, but
imported in source code as if it were a direct dependency. This led to
installation issues for consumers of the `fidesops` `pip` package.
@PSalant726 PSalant726 added bug Something isn't working dev experience Enhancements to the overall DX run unsafe ci checks Triggers running of unsafe CI checks dependencies Pull requests that update a dependency file Tech Debt fidesops-plus Identifies work that is needed by the fidesops plus team python Pull requests that update Python code labels Sep 16, 2022
@PSalant726 PSalant726 self-assigned this Sep 16, 2022
@PSalant726 PSalant726 marked this pull request as ready for review September 16, 2022 22:28
@PSalant726 PSalant726 force-pushed the explicitly-import-toml branch from 18f10f9 to 61bf674 Compare September 16, 2022 22:37
@sanders41 sanders41 merged commit 1f8b2c2 into main Sep 16, 2022
@sanders41 sanders41 deleted the explicitly-import-toml branch September 16, 2022 22:51
sanders41 pushed a commit that referenced this pull request Sep 22, 2022
* Explicitly install `toml` as a requirement

Previously this package was included as an indirect dependency only, but
imported in source code as if it were a direct dependency. This led to
installation issues for consumers of the `fidesops` `pip` package.

* Reduce `toml` import volume

* Update `CHANGELOG.md`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working dependencies Pull requests that update a dependency file dev experience Enhancements to the overall DX fidesops-plus Identifies work that is needed by the fidesops plus team python Pull requests that update Python code run unsafe ci checks Triggers running of unsafe CI checks Tech Debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants