Skip to content

Docker: Dependency cleanup #53

@AkhileshNegi

Description

@AkhileshNegi

Is your feature request related to a problem?

torch and transformers are listed as direct dependencies in pyproject.toml, but the codebase never imports them directly. They are only needed as transitive dependencies of presidio-analyzer. Pinning them explicitly adds unnecessary maintenance burden and can cause version conflicts.

Describe the solution you'd like

Remove torch and transformers from pyproject.toml and let presidio-analyzer pull them in as its own dependencies. This:

  • Reduces dependency surface we maintain
  • Avoids version pinning conflicts with presidio's requirements
  • Keeps pyproject.toml focused on packages we actually import

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions