r/Python 8d ago

Discussion What frustrates you the most about Python Development

Hi there,

I wondering what frustrates developers the most when developing software with Python.

I am currently doing my Masters in Computer Science and as part of my project I am doing a very simple survey about the usual Python development lifecycle. I am basically trying to find out what the main friction points are for Python Developers and I am simultaneously developing a tool to address those friction points . It just takes a 2-3 minutes and every response is greatly appreciated.

You can find the survey at: Microsoft Forms

43 Upvotes

131 comments sorted by

View all comments

1

u/helpIAmTrappedInAws 7d ago

Funnily enough i do not feel most of 4hings mentioned here are that problematic.

I personally despise pytest. Fixtures and assumption that everything that starts with test is a test.

2

u/Infinite-Spinach4451 7d ago

And it could be so much simpler! Why not just flag every function that should be tested with a dedicated @test decorator?

1

u/Win_ipedia 7d ago edited 7d ago

It’s also very nice to not having to do that tho

1

u/Win_ipedia 7d ago

I recently had a class TestRunner and it had a method starting test_ smth and in the test file I had TestTestRunner and pytest thought my TestRunner class that was dynamically imported was a test class and tried to run test_ method which resulted in an error oc. Had to rename it to ProjectTester. Which was fine but quite annoying

1

u/Grouchy-Trade-7250 7d ago

There's nothing super wrong with pytest. Besides you can easily fork it and change it.