Skip to content

removeprefix is not compatible with Python 3.8 #252

Closed
@supakeen

Description

@supakeen

In configuration we use str.removeprefix which was added in Python 3.9 but pinnwand claims to be compatible with 3.8.

This wasn't caught because the code path is only used when an environment variable is passed which we don't do in tests.

  • Add test for configuration through environment.
  • Fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpython

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions