Skip to content
This repository was archived by the owner on Nov 27, 2024. It is now read-only.
This repository was archived by the owner on Nov 27, 2024. It is now read-only.

RuntimeError: The lock file is not compatible with the current version of Poetry #347

Description

@vyorkin

Hi!

I'm trying to follow the setup instructions from README.
Running tilt up gives me error:

  mev-inspect │        → Skipping virtualenv creation, as specified in config file.
  mev-inspect │        → 
  mev-inspect │        →   RuntimeError
  mev-inspect │        → 
  mev-inspect │        →   The lock file is not compatible with the current version of Poetry.
  mev-inspect │        →   Upgrade Poetry to be able to read the lock file or, alternatively, regenerate the lock file with the `poetry lock` command.
  mev-inspect │        → 
  mev-inspect │        →   at /usr/local/lib/python3.9/site-packages/poetry/packages/locker.py:481 in _get_lock_data
  mev-inspect │        →       477│                 "Upgrade Poetry to ensure the lock file is read properly or, alternatively, "
  mev-inspect │        →       478│                 "regenerate the lock file with the `poetry lock` command."
  mev-inspect │        →       479│             )
  mev-inspect │        →       480│         elif not lock_version_allowed:
  mev-inspect │        →     → 481│             raise RuntimeError(
  mev-inspect │        →       482│                 "The lock file is not compatible with the current version of Poetry.\n"
  mev-inspect │        →       483│                 "Upgrade Poetry to be able to read the lock file or, alternatively, "
  mev-inspect │        →       484│                 "regenerate the lock file with the `poetry lock` command."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions