Skip to content

Forgot to use f-string in error message about user_version > USER_VERSION #291

Description

@Steffen1989

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I just ran into the problem when I try to use an old version of conda_index on a local conda channel I get this ValueError:

if user_version > USER_VERSION:
raise ValueError(
"conda-index cache is too new: version {user_version} > {USER_VERSION}"
)

When I update conda-index to the latest version, everything works as expected.

To be a bit more informative, this error message should be an f-string, right?

Additional Context

No response

Metadata

Metadata

Assignees

Labels

type::bugdescribes erroneous operation, use severity::* to classify the type

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done 💪🏾

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions