130: virtualenv activation prompt consistency across shells - an open source dev and test adventure - Brian Skinn
September 13th, 2020 | 36 mins 18 secs
continuous integration, open source, pytest, python, software testing, virtualenv
virtualenv supports six shells: bash, csh, fish, xonsh, cmd, posh. Each handles prompts slightly differently. Although the virtualenv custom prompt behavior should be the same across shells, Brian Skinn noticed inconsistencies. He set out to fix those inconsistencies. That was the start of an adventure in open source collaboration, shell prompt internals, difficult test problems, and continuous integration quirks.
August 28th, 2020 | 18 mins 12 secs
pytest, pytest plugins, pytest-randomly, python
Software tests should be order independent. That means you should be able to run them in any order or run them in isolation and get the same result. Adam Johnson created pytest-randomly to ensure test independence.
August 16th, 2020 | 32 mins 17 secs
data science, fizz buzz, hypothesis, pytest, python, software engineering, software testing
Researches and others using data science and software need to follow solid software engineering practices. This is a message that Joel Grus has been promoting for some time.
Joel joins the show this week to talk about data science, software engineering, and even Fizz Buzz.
August 3rd, 2020 | 44 mins 15 secs
dependency resolver, pip, python
pip 20.2 has a new dependency resolver that the PyPA would really like you to try out. This episode has 5 guests from the project and we talk about everything from user experience (UX) to testing a complex project.
June 26th, 2020 | 36 mins 6 secs
black, cpython, flit, packaging, pip, poetry, pyproject.toml, python, standard library, toml
Brett and I talk about some upcoming work on Python packaging, such as:
- editable install standardization
- other tools using pyproject.toml for configuration
- what should and shouldn't be in the standard library
- and a few tangents
June 18th, 2020 | 51 mins 17 secs
ides, pytest, python, testing, vs code
The Python extension for VS Code is most downloaded extension for VS Code.
Brett Cannon is the manager for the distributed development team of the Python extension for VS Code.
In this episode, Brett and I discuss the Python extension and VS Code.
May 30th, 2020 | 42 mins 21 secs
adafruit, circuitpython, live coding, oh my zsh, online conferences, python, twitch, wfh
Nina's been up to a lot lately, so we talk about quite a bit, including live coding on twitch.tv, online conferences, Python Tea (a new online version of the hallway track), Python on hardware, Adafruit, CircuitPython, tricking out your command prompt, working from home, and more.
May 2nd, 2020 | 48 mins 34 secs
pytest, python, software testing, subtest, unittest
Subtests are a way to continue a test function after an assert fails.
Paul Ganssle and Brian Okken discuss what subtests are, why you might want them, and what to watch out for if you use them.
April 9th, 2020 | 32 mins 1 sec
data processing, data science, pyspark, python
Apache Spark is a unified analytics engine for large-scale data processing.
PySpark blends the powerful Spark big data processing engine with the Python programming language to provide a data analysis platform that can scale up for nearly any task.
March 27th, 2020 | 36 mins 18 secs
hypothesis, property based testing, python
Hypothesis is the Python tool used for property based testing.
Hypothesis claims to combine "human understanding of your problem domain with machine intelligence to improve the quality of your testing process while spending less time writing tests."
Alexander Hultnér introduces us to property based testing in Python with Hypothesis.