Comments (12)
Hey guys. Glad to hear we finally have a pyusb
that we can use!
I'm in the middle of a couple of things right now but I'll do my best to get the releases out over the weekend.
from temper-python.
Hi Philipp!
I built and uploaded 1.3.1
as requested but when I install it to a new 2.7.6 virtualenv the pyusb>=10.0.rc1
dependency causes problems:
Could not find a version that satisfies the requirement pyusb==1.0.0rc1 (from versions: 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a3, 1.0.0b1, 1.0.0b2)
Have you tried that latest code with one of these versions of pyusb? Perhaps we need to release a 1.3.2
with the pyusb
pinned to whichever of these alpha/beta versions is known to be working?
from temper-python.
That's the problem: None of these are working. rc1 is the first one that does.
When I python setup.py install
it like this, it works:
pa@philipp:~/temper$ git clone https://github.com/padelt/temper-python.git
pa@philipp:~/temper$ virtualenv v1
pa@philipp:~/temper$ . v1/bin/activate
(v1)pa@philipp:~/temper/temper-python$ python setup.py install
(v1)pa@philipp:~/temper/temper-python$ temper-poll
Found 0 devices
When using pip install temperusb
, I also get the problem:
(v2)pa@philipp:~/temper$ pip install temperusb
Downloading/unpacking temperusb
Downloading temperusb-1.3.1.tar.gz
Running setup.py (path:/home/pa/temper/v2/build/temperusb/setup.py) egg_info for package temperusb
Downloading/unpacking pyusb>=1.0.0rc1 (from temperusb)
Could not find a version that satisfies the requirement pyusb>=1.0.0rc1 (from temperusb) (from versions: 1.0.0a2, 1.0.0a2, 1.0.0a3, 1.0.0a3, 1.0.0b1, 1.0.0b2)
Cleaning up...
No distributions matching the version for pyusb>=1.0.0rc1 (from temperusb)
Storing debug log for failure in /home/pa/.pip/pip.log
This is with pip
version 1.5.4 and pyusb
can "only" be fulfulled using the git+https-Link in the setup.py
. It is not yet on PyPI. Is that the problem maybe!?
How can we force pip to honor the dependency_links
setting when installing from PyPI?
from temper-python.
We probably should write to the pyusb maintainers, and ask them to make a release on PyPi...
from temper-python.
Yes I think that is a good idea. I'll open an issue over at https://github.com/walac/pyusb/issues asking for an rc1-release.
from temper-python.
So the answer is in: He tries to release it ASAP, but I think we should not hold our breath. Maybe someone can come up with another way to get rc1 working when temperusb is installed from PyPI. Any ideas?
from temper-python.
pyusb 1.0.0rc1 was released Feb 16, and works as expected.
We can go ahead and release temperusb 1.4.1 now (and 1.3.1 for completeness I suppose!)
Python 2:
(py2) root@raspberrypi:~/temper-python# pip install pyusb
Collecting pyusb
Downloading pyusb-1.0.0rc1.tar.gz (53kB)
100% |████████████████████████████████| 61kB 495kB/s
Building wheels for collected packages: pyusb
Running setup.py bdist_wheel for pyusb ... done
Stored in directory: /root/.cache/pip/wheels/e5/52/fd/eedc7ae38c634040e5bc7e6f9188a2efcc8500acaac28248f7
Successfully built pyusb
Installing collected packages: pyusb
Successfully installed pyusb-1.0.0rc1
(py2) root@raspberrypi:~/temper-python# python -m temperusb.cli
Found 1 devices
Device #0: 23.1°C 73.6°F
Python 3:
(py3) root@raspberrypi:~/temper-python# pip install pyusb
Collecting pyusb
Using cached pyusb-1.0.0rc1.tar.gz
Building wheels for collected packages: pyusb
Running setup.py bdist_wheel for pyusb ... done
Stored in directory: /root/.cache/pip/wheels/e5/52/fd/eedc7ae38c634040e5bc7e6f9188a2efcc8500acaac28248f7
Successfully built pyusb
Installing collected packages: pyusb
Successfully installed pyusb-1.0.0rc1
(py3) root@raspberrypi:~/temper-python# python -m temperusb.cli
Found 1 devices
Device #0: 23.1°C 73.6°F
from temper-python.
We should probably get the tags back in the repo (#51) before doing so...
from temper-python.
So, the old tags won't come back. The new releases will both be tagged and the commit id noted in CHANGELOG.md
.
@amorphic Could you update PyPI with the new version 1.5.1? setup.py
should now pull pyusb
from PyPI instead of using the git checkout (that failed when pip
installing temper-python
).
from temper-python.
Hi @padelt! Sorry I've taken a while to get back to you. Really busy week.
Just about to go to bed but I'll get 1.5.1
pushed to PyPI tomorrow.
from temper-python.
Sorry for the delay all. 1.5.1
is now on PyPI.
from temper-python.
from temper-python.
Related Issues (20)
- syntax error on debian buster HOT 7
- Use of Python 3.6 syntax HOT 3
- Update documentation to require Python 3.6+
- ID 0c45:7401 Temperature reading incorrect (TEMPer2V1.4) HOT 2
- New device addition HOT 2
- New release possible? HOT 6
- support for TEMPer2V1.3 request HOT 18
- Pylint? HOT 1
- Sorry, not an issue - adding V1.1 support HOT 4
- Support for TEMPerHumiV1.0 HOT 1
- Port number display is not entirely useful since it isn't guaranteed to be unique HOT 1
- Tag the source HOT 1
- Support for TEMPerGold (1a86:e025) HOT 13
- TEMPer2 not detecting devices HOT 21
- Support for TEMPerGold (3553:a001) HOT 6
- Please do a release with all the fixes from the last 2 years HOT 14
- Support for TEMPerX232 (1a86:5523)
- 0c45:7402 Temperature reading incorrect HOT 15
- No output from temper.py, but no error. HOT 1
- Suggested architecture improvement for supporting new sensors HOT 6
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 temper-python.