You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for compiling this list! I learned quite a lot here.
For static and runtime type checking, have you had a look at mypy and pydantic?
I didn’t follow the part about relative import not able to import from parent directory. If parent directory is also a python package, this certainly will work: from ..module import. Do you mean cannot import from a non-package? That would be true for non-relative imports as well.
On dependency hell - I have run into this, but very infrequently. I have also found that most of my python projects have significantly fewer dependencies that similar projects in other popular languages, perhaps because the standard library is rather comprehensive, and many of the high-quality libraries focus on maintaining zero or few dependencies.
Absolutely agree with dependency hell, it's my most hated aspect of Python (or its ecosystem). It is amazing to me that the community thinks that fixing patch version numbers with the various dependency management frameworks is a reasonable solution.
Activity
yugr commentedon Jan 10, 2023
Thank you your interest in this project!
No, I haven't. I'll give them a try and add to the list.
Yes, this is about import from non-package. So e.g. this
works but
does not.
Me too but I still decided to include this item for completeness.
chaypaterson commentedon Jul 6, 2023
Absolutely agree with dependency hell, it's my most hated aspect of Python (or its ecosystem). It is amazing to me that the community thinks that fixing patch version numbers with the various dependency management frameworks is a reasonable solution.