Repository navigation
Users/t anmah/simulation dependency checker fix - #169
Conversation
David Serafimov (nasadigital)
left a comment
There was a problem hiding this comment.
Solid work, very neat solution :)
| applicationinsights==0.11.9 | ||
| python-socketio==4.3.1 | ||
| requests==2.22.0 | ||
| pywin32>=224 |
There was a problem hiding this comment.
Do you think it would make sense to fix pywin32's version to 224 in case there are breaking changes in future versions?
There was a problem hiding this comment.
pywin32 can't download version 224 on Python 3.8 :(
There was a problem hiding this comment.
Thanks for clarifying!
What about fixing it to a newer version? Are new versions compatible with Python 3.7?
There was a problem hiding this comment.
I tested pywin32 ver 227 on python 3.7 and it seemed to work! I'll fix it to ver 227.
Isa (isadorasophia)
left a comment
There was a problem hiding this comment.
Nice job! ⚡️
| install by typing the following commands in a console: `pip install requests` | ||
| - _**Application Insights**_ | ||
| install by typing the following commands in a console: `pip install applicationinsights` | ||
| - Python Modules for Deploy to Device |
There was a problem hiding this comment.
This is not on the scope of this PR, so don't worry! I wonder if we should move these install instructions from the README.md and just point to the install.md instead? Otherwise we just have dupe information (or we can make the whole README overwhelming for new users).
There was a problem hiding this comment.
I think that the instructions were here beforehand too (or at least the pip install commands). But yeah, it would maybe be a good idea to move all installation-related stuff to install.md for clarity (I noticed that lots of parts repeat between docs)
There was a problem hiding this comment.
Yup -- you just followed the pattern of what we have before, so it's all good! However, I think it might be worth adding a work item to do that in the future? (basically linking stuff at README so it's more doc-based).
David Serafimov (nasadigital)
left a comment
There was a problem hiding this comment.
Thanks for applying fixes!
LGTM :)
| - If you're on Windows, use the following command in the console to install pywin32: `pip install pywin32` | ||
|
|
||
| - Python Modules for Simulation | ||
| - **Note:** On extension activation, you will be prompted with a popup message asking if you want the modules to be automatically installed for you. The following Python modules should be downloaded when you select "yes" on the prompt message. **If modules are not installed correctly, please use the "pip install" commands listed below.** |
There was a problem hiding this comment.
should this note be at the top/or placed somewhere else because it also applies to "Deploying to Device"
There was a problem hiding this comment.
Just a suggestion on how we can address this, instead of having these two topics, we can have something along these lines:
(I guess the same goes for the text on Install.md and developers-setup.md)
- Python Modules for Deploying to Device
- Python Modules for Simulation
We can just have:
- (Notes here)
- Python Modules
- Pywin32 (only windows etc)
Running the simulator:- (list extra modules here)
There was a problem hiding this comment.
I tried to make it clearer with the newest commit. Is it a bit more organized now?
| - If you're on Windows, use the following command in the console to install pywin32: `pip install pywin32` | ||
|
|
||
| - Python Modules for Simulation | ||
| - **Note:** On extension activation, you will be prompted with a popup message asking if you want the modules to be automatically installed for you. The following Python modules should be downloaded when you select "yes" on the prompt message. **If modules are not installed correctly, please use the "pip install" commands listed below.** |
There was a problem hiding this comment.
Just a suggestion on how we can address this, instead of having these two topics, we can have something along these lines:
(I guess the same goes for the text on Install.md and developers-setup.md)
- Python Modules for Deploying to Device
- Python Modules for Simulation
We can just have:
- (Notes here)
- Python Modules
- Pywin32 (only windows etc)
Running the simulator:- (list extra modules here)
Description:
Fixed automated package installer for Python libraries needed for custom adafruit_circuitplayground.express library.
Type of change
Limitations:
Sound functionality still fails on Mac OS. Issue already recorded on backlog item 28661.
Testing:
Checklist: