Skip to content

conditional, transitive dependencies may not be added to Pipfile.lock #3194

Open
@belm0

Description

@belm0

Issue description

  • Pipfile contains a package dependency on package A (trio).
  • package A has a conditional os_name dependency on packace B (cffi, os_name=='nt')
  • Pipfile.lock is generated on an OS not matching the conditional
  • attempts to sync Pipfile.lock from OS matching os_name will fail to install the needed dependency

Expected result

If I have an os_name conditional in my Pipfile proper, pipenv will still add the corresponding dependency in my Pipfile.lock, even if the os_name doesn't match. Likewise I'd expect a conditional dependency coming from a package to always be added to Pipfile.lock.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions