Git Product home page Git Product logo

Comments (7)

Korijn avatar Korijn commented on June 3, 2024 2

Opened an issue upstream: pypa/pip#7636 please let me know if I was unclear about anything.

from wgpu-py.

Korijn avatar Korijn commented on June 3, 2024

I guess we should open an issue upstream and see if they want to consider our use case. If not, we'll have to provide separate wheels for all versions of python we want to support...

from wgpu-py.

almarklein avatar almarklein commented on June 3, 2024

WTF - there should be many projects that have the same use-case. Any project that brings binaries that are not Python modules, right? Thinking of pyglfw to name one ...

from wgpu-py.

Korijn avatar Korijn commented on June 3, 2024

It seems like that, yes...

from wgpu-py.

Korijn avatar Korijn commented on June 3, 2024

I just checked with glfw since they have the same wheel platform tag convention we do, to confirm, and sure enough, you can see that pip will select the source distribution over the wheels that are available. If I force to install the wheel that should be fine on my system, it errors out:

$ pipenv install pip>=20.0.0
Creating a virtualenv for this project…
Pipfile: C:\Users\korij\dev\test\Pipfile
Using c:\users\korij\appdata\local\programs\python\python36\python.exe (3.6.4) to create virtualenv…
[  ==] Creating virtual environment...Already using interpreter c:\users\korij\appdata\local\programs\python\python36\python.exe
Using base prefix 'c:\\users\\korij\\appdata\\local\\programs\\python\\python36'
New python executable in C:\Users\korij\.virtualenvs\test-SUagSMsE\Scripts\python.exe
Installing setuptools, pip, wheel...done.

Successfully created virtual environment!
Virtualenv location: C:\Users\korij\.virtualenvs\test-SUagSMsE

$ pipenv run pip --version
pip 20.0.1 from c:\users\korij\.virtualenvs\test-suagsmse\lib\site-packages\pip (python 3.6)

$ pipenv run pip install glfw==1.10.1
Collecting glfw==1.10.1
  Downloading glfw-1.10.1.tar.gz (25 kB)
Building wheels for collected packages: glfw
  Building wheel for glfw (setup.py) ... done
  Created wheel for glfw: filename=glfw-1.10.1-py3-none-any.whl size=25667 sha256=29c3f9e8a609b0884a418d13ccbc7b2a9feae3e76a71276111e0673167f68487
  Stored in directory: c:\users\korij\appdata\local\pip\cache\wheels\a0\b4\23\11682f5036ba8a4d9711066c08be9325530f5330930b71b513
Successfully built glfw
Installing collected packages: glfw
Successfully installed glfw-1.10.1

$ pipenv run pip uninstall glfw
Found existing installation: glfw 1.10.1
Uninstalling glfw-1.10.1:
  Would remove:
    c:\users\korij\.virtualenvs\test-suagsmse\lib\site-packages\glfw-1.10.1.dist-info\*
    c:\users\korij\.virtualenvs\test-suagsmse\lib\site-packages\glfw\*
Proceed (y/n)? y
  Successfully uninstalled glfw-1.10.1

$ pipenv run pip install https://files.pythonhosted.org/packages/2a/f2/2d6381ae04caf456b63894278d875f3b6723aad895f0839c39e11e84b0d0/glfw-1.10.1-py2.py3-none-win_amd64.whl
ERROR: glfw-1.10.1-py2.py3-none-win_amd64.whl is not a supported wheel on this platform.

from wgpu-py.

Korijn avatar Korijn commented on June 3, 2024

The root cause was apparently an accidentally reused iterator, see pypa/packaging#258

Just gotta wait for the release cycle to deliver the goods

from wgpu-py.

Korijn avatar Korijn commented on June 3, 2024

Closed by #50

from wgpu-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.