Following the instructions in the README does not seem to create a working Python development setup.
What I did:
- Platform: Intel macOS Sonoma 14.3, Docker Desktop 4.27.1, VSCode 1.86.
- Read the nice blog post
- Visited the project page.
- Pressed the "use this template GiHub button" link in the README.md
- Successfully created my own copy of the project, at GitHub, without modifying anything.
- Cloned my own copy
- Opened the cloned folder on my machine, with VSCode 1.86.0.
- Answered "I trust this code" (or some such)
- Closed and reopeneded the folder in VSCode, got the prompt "Reopen in Container", wait while the container is started.
- Open the
test_sales_analysis.py
file, and get warnings about missing pyspark dependencies, see screenshot.
What I would have expected is for everything to work without further configuration, e.g. what a new developer would want during on-boarding.
Sometime during the dev container setup I got a warnings about outdated lint settings or some such. I do not know whether this is relevant.
Also, while having the test_sales_analysis.py
open in VSCode, the window says "Python 3.11.2 64-bit" in the lower right corner, which sounds like the version on my Mac, not the version in the Dev Container. I do not know whether this is normal.