Skip to content

Remove requirements.txt #517

Description

@smartspot2

Heroku recently added support for Poetry (https://devcenter.heroku.com/changelog-items/3050), so we don't actually need a requirements.txt file in the repository anymore.

However, the current pyproject.toml file will not work directly with the buildpack; the Python buildpack on Heroku automatically installs all dependencies in groups, except for those marked with optional = true. Our current setup for pyproject.toml has it the other way around, where production dependencies are marked as optional, while development dependencies are not.

We'd need some way around this, either by flipping the optional status in pyproject.toml, or somehow configuring the buildpack to also install the prod dependency group.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    herokuItems involving Heroku deploymentspythonPull requests that update Python code

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions