Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • N notifications-routing
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Notifications project
  • notifications-routing
  • Merge requests
  • !47

Fix poetry install

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Carina Antunes requested to merge update-poetry-lock into master Mar 19, 2021
  • Overview 0
  • Commits 2
  • Pipelines 15
  • Changes 4
  • poetry install --no-dev is removing dependencies needed by poetry itself because it was installed with pip

The problem here is, that poetry and the package are installed in the same environment. One should never mix the installation method within one environment. Either use poetry or pip. But not both at the same time. Because they don't know each other and break things when a package gets installed or removed by one or another.

When using virtualenvs.create false make sure poetry is installed with the installer script or as an alternative by pipx.

From: https://github.com/python-poetry/poetry/issues/2102#issuecomment-706740546

Solution: installing with the recommend ways or using poetry install in production.

Edited Mar 22, 2021 by Carina Antunes
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: update-poetry-lock