Closed luck02 closed 7 years ago
So were you able to install other packages at the time? We could add wheel to the required list I suppose but I'm not sure that it makes sense.
I'm sorry @holdenk I'm a bit of a python newbie. I've really only written python code for spark so my knowledge around python environments is nothing special. I'm on a fresh-ish install of ubuntu 17.04 and using python 3.5.3 in a locally installed virtual environment. I mostly posted in case others had experienced. I'm functional now,
I was able to install mulitple other packages. I did run pip install wheel
immediately after and then my install was fine.
I'm just going to close it so others have something to search for if they run into it. Maybe just a python newb problem.
Thanks!
I'm just poking at a sample pyspark 'how to test your code' library: https://github.com/luck02/PysparkTestingExample
it's not done, and probably won't be for awhile. The hope is to provide a starting point for how to build datapipelines with spark, to start with at my company, but I'm keeping this aspect in my personal repo in the hopes that it helps anyone else with getting going.
That's awesome! If you're interested in contributing this to spark-testing-base as an example I'd be happy to make you a collaborator on the project. Otherwise we can just add a link in the README file :)
I'll totally put it here as examples. give me another couple of weeks to get feedback from better pythonista's than me. We have at least a couple really competent python devs at my shop (Unbounce)
Actually, I don't need to wait. Take a look and if it seems valuable (https://github.com/luck02/PysparkTestingExample) I'll start moving it over soon-ish. In an ideal world I'd like to drive out a robust set of patterns and practices for test-driven pyspark code and then move onto the same set of patterns and practices in Scala. Ultimately I'd also like to start showing patterns around how to validate existing data as I don't think we have a sane option around full integration tests at this stage. IE at least not a clear pattern, but if one does emerge I'd like to cover that as well.
@holdenk did you want me to move those example tests over? I realize they're kinda bare right now I was planning on moving more examples over as we introduced testing to our actual code. Thanks!
Moving example tests over would be rad :)
Ok, I'll clone this and start integrating them somewhere in the next week or so.
I haven't gotten deep enough to see what actual impact this has.
This happened on first attempting to install via command above. I uninstalled,
pip install wheel
and then re-install and no warning.