Comments (7)
Opened an issue upstream: pypa/pip#7636 please let me know if I was unclear about anything.
from wgpu-py.
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.
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.
It seems like that, yes...
from wgpu-py.
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.
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.
Closed by #50
from wgpu-py.
Related Issues (20)
- Test against memory leaks by measuring process memory
- Supporting JS/webgpu as a backend for e.g. PyScript HOT 8
- Add convenience function `enumerate_adapters` HOT 4
- Make non-spec functionality stand out better HOT 6
- Update CI python versions to 3.8-3.12 HOT 2
- Replacing pkg_resources.resource_filename HOT 2
- create_compute_pipeline does not accept enums.AutoLayoutMode for layout arg HOT 3
- Allow using structs as API
- Use own created glfw window. HOT 10
- Pygame integration HOT 2
- Roadmap to maturity
- Raspberry Pi 4B setup log HOT 7
- Error when no draw function is provided HOT 1
- Warnings on import HOT 1
- test_glfw_canvas_del Windows fatal exception: access violation HOT 6
- Full-screen mode HOT 7
- Rolling out shadertoy HOT 5
- Run examples on CI on Windows / Mac / Linux
- Use webgpu.yml for parsing HOT 2
- Kivy support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wgpu-py.