Applauding Python PEP 386

Since I have of late been using packaging more extensively to manage distribution of code, it seemed like a good thing to take advantage of the dependency management capabilities of setuptools and pip. A problem I soon encountered, however, is that it seems there is no general way to express the intention not to install pre-release versions of required packages. Attempting to work around this problem seems inevitably to lead to the conclusion that perhaps it’s better not to try to manage dependencies in setup.py.  But it is convenient to express dependency information there and not have to write prose documentation saying the same thing.

So, I applaud the work of PEP 386 to take a more prescriptive approach to Python package version identifiers.  Hopefully this will benefit the Python package ecosystem.

Advertisements

, , , , ,