Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`pipenv requirements` does not include markers

See original GitHub issue

I just tried to use pipenv reqirements instead of pipenv lock --requirements but it lacks markers so windows only dependencies from my lock file makes pip install -r ... fail.

example transitive dependency form lock file that at some point was locked on a windows machine:

        "twisted-iocpsupport": {
            "hashes": [
            "markers": "platform_system == 'Windows'",
            "version": "==1.0.2"

Running pipenv lock --requirements --keep-outdated (on linux) results in:

twisted-iocpsupport==1.0.2; platform_system == 'Windows'

Running pipenv requirements (on linux) has no marker so the requirements file fails to install on linux.


pipenv, version 2022.4.30

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

ImreCcommented, May 23, 2022

Ok, forgot to do this. Will pick it up end of this week.

fridexcommented, May 3, 2022

It looks like micropipenv requirements provides expected output.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Advanced Usage of Pipenv - Read the Docs
Dependencies of wheels provided in a Pipfile will not be captured by $ pipenv lock . There are some known issues with using...
Read more >
pipenv Documentation - Read the Docs
Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the. Python...
Read more >
How to resolve Python package dependencies with pipenv?
You likely have a mismatch in your sub-dependencies. First try clearing your dependency cache with $ pipenv lock --clear, then try the original...
Read more >
Build failed using pipenv - Binder - Jupyter Community Forum
The repository includes both Pipfile and Pipfile.lock which I understand should be supported. For a reason that I don't understand, ...
Read more >
Advanced Usage of Pipenv — pipenv 11.7.2 documentation
If you have pyenv installed and configured, Pipenv will automatically ask you if you want to install a required version of Python if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found