Packages are not ignored on specific platforms with 38.2.0
See original GitHub issueWe define this for our library (https://github.com/rm-hull/luma.led_matrix/blob/master/setup.py#L41):
install_requires = [
'luma.core>=1.1.1',
'rpi_ws281x;platform_machine=="armv7l" and platform_system=="Linux"',
'ws2812;platform_machine=="armv7l" and platform_system=="Linux"'
]
Because these last 2 packages should only be installed on ARM systems. But it seems this broke in 38.2.0 (our travis started complaining).
$ pip install --ignore-installed --upgrade setuptools pip tox
Collecting setuptools
Using cached setuptools-38.2.0-py2.py3-none-any.whl
Collecting pip
Using cached pip-9.0.1-py2.py3-none-any.whl
Collecting tox
Using cached tox-2.9.1-py2.py3-none-any.whl
Collecting virtualenv>=1.11.2; python_version != "3.2" (from tox)
Using cached virtualenv-15.1.0-py2.py3-none-any.whl
Collecting py>=1.4.17 (from tox)
Using cached py-1.5.2-py2.py3-none-any.whl
Collecting six (from tox)
Using cached six-1.11.0-py2.py3-none-any.whl
Collecting pluggy<1.0,>=0.3.0 (from tox)
Installing collected packages: setuptools, pip, virtualenv, py, six, pluggy, tox
Successfully installed pip-9.0.1 pluggy-0.6.0 py-1.5.2 setuptools-38.2.0 six-1.11.0 tox-2.9.1 virtualenv-15.1.0
And then later you see they’re installed anyway:
Using cached pygame-1.9.3-cp27-cp27mu-manylinux1_x86_64.whl
Collecting ws2812 (from luma.led_matrix>=1.0.6->luma.examples==0.0.0)
Collecting rpi-ws281x (from luma.led_matrix>=1.0.6->luma.examples==0.0.0)
Using cached rpi_ws281x-3.0.4.tar.gz
Issue Analytics
- State:
- Created 6 years ago
- Comments:21 (20 by maintainers)
Top Results From Across the Web
License Scanning: pip install fails for alembic and sqlalchemy ...
The "prepare" step fails when our requirements.txt file includes the alembic or sqlalchemy packages. This causes the license-scanning job to ...
Read more >setuptools 6.1 - PyPI
Easily download, build, install, upgrade, and uninstall Python packages. ... Setuptools will no longer match default files using platform-dependent case ...
Read more >IOS XR L2VPN Services and Features - Cisco
This document describes basic Layer 2 (L2) VPN (L2VPN) topologies. It is useful to present basic examples in order to demonstrate design, ...
Read more >zc.buildout - Python Package Health Analysis - Snyk
The PyPI package zc.buildout receives a total of 21,094 downloads a week. As such, we scored zc.buildout popularity level to be Recognized.
Read more >Icedove - Debian Wiki
Starting in DebianStretch, the icedove package is now a transitional package for ... Icedove 38.3.0; Icedove 38.2.0; Icedove 38.1.0; Icedove 38.0.1 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It was 36.0.1
Have now updated to 38.2.1
Yes! That’s what setuptools>=36.2.0 does internally, move requirements with markers from
install_requires
toextras_require
with the syntax: