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.

1.13.0rc2 feedback: Build from sdist on Windows fails

See original GitHub issue

Hello!

I have a system running on Python 2.7-32bit on Windows. Since the wheels for that kind of environment aren’t published, my system ends up pulling the sdist (.tar.gz) and attempts to build the wheel (as it used to do with versions 1.12.1 and earlier).

But, in the 1.13.0rc2 .tar.gz, in src\wrapt.egg-info\SOURCES.txt, there’s this linux-specific entry (which is also an absolute path): /home/runner/work/wrapt/wrapt/src/wrapt/_wrappers.c I’m fairly sure linux-style absolute path shouldn’t be there since this is the source for any system to build 😃 .

I’m not sure what went wrong in the build step for it to go there. I know some sdists simply don’t include the .egg-info in the sdist, and I’ve also seen some sdists that do. I feel like I knew the differences and conditions at some point, but I don’t recall anymore, sorry!

I hope this will be of use to you. If you have questions or things you think I can do to help, let me know! Cheers!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
GrahamDumpletoncommented, Aug 17, 2021

On my local macOS box was probably using pip 21.2.2 at the time.

Anyway, bit delayed as got side tracked on real work as usual, but wrapt 1.13.0rc3 on PyPi should hopefully fix it.

1reaction
vphilipponcommented, Aug 18, 2021

Just to let you know that I’ve tested 1.13.0rc3, and yup, the sdist seems cleaner, and builds on Windows now on my end.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sam build fails for {wrapt==1.12.1(sdist)} · Issue #2291 - GitHub
Description: Running sam build with aws-xray-sdk in requirement.txt failing as it is unable to get wrapt wheel package and giving below ...
Read more >
Error with visual studio build tools msvc while downloading ...
I get this error and the code exits when downloading paddleocr. (Cannot build wheel I suppose) I am using Visual Studio Code and...
Read more >
wrapt - Bountysource
1.13.0rc2 feedback: Build from sdist on Windows fails $ 0. Created 1 year ago in GrahamDumpleton/wrapt with 9 comments. Hello! I have a...
Read more >
4. Creating a Source Distribution — Python 3.11.1 ...
As shown in section A Simple Example, you use the sdist command to create a source distribution. In the simplest case,(assuming you haven't...
Read more >
Can't install Scipy through pip - Stack Overflow
After opening up an issue with the SciPy team, we found that you need to upgrade pip with: pip install --upgrade pip. And...
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