question-mark
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.

How to add a dependency with --no-binary option

See original GitHub issue
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Question

How is a dependency added so that poetry will run something like this:

pip3 install -U 'numpy >=1.17,<2.0' --no-binary numpy

What does that look like in the pyproject.toml file?

PS. See a work-around using poetry export in https://github.com/python-poetry/poetry/issues/365#issuecomment-792054069

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:45
  • Comments:25 (5 by maintainers)

github_iconTop GitHub Comments

13reactions
geckoncommented, Feb 18, 2020

I’m also interested in this.

7reactions
chipfranzencommented, Feb 12, 2020

This is still an issue. The spatial library shapely requires installing with a no-binaries flag on macOS. See this issue: https://github.com/Toblerity/Shapely/issues/416

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install package dependency that has no binary version
1 Answer 1 ; <- getOption( ; = "both" ; ) options( ...
Read more >
How to add a dependency with --no-binary option · Issue #1316
For now, a workaround might be to use a url dependency pointing to an sdist along with a platform marker. 3
Read more >
How to download Python dependencies - ActiveState
Click to get a detailed step-by-step guide to downloading Python dependencies.
Read more >
How to Create Nonbinary Characters - All Write Alright
Creating a nonbinary character is a great idea for any story, ... By far the most common option for gender-neutral pronouns is the...
Read more >
10 ways to step up as an ally to non-binary people - Stonewall
Introduce yourself with your name and pronouns. · Put your pronouns in your email signature or social media profile · Instead of addressing...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found