]> xn--ix-yja.es Git - alex.git/commitdiff
Retouch
authoralexpdp7 <alex@pdp7.net>
Wed, 30 Apr 2025 11:40:06 +0000 (11:40 +0000)
committeralexpdp7 <alex@corcoles.net>
Wed, 30 Apr 2025 11:40:43 +0000 (13:40 +0200)
programming/python/dependency_handling.md

index 3f1db103db88fe450a9e19ff0a88d196c3467eac..8acf0ceef806f4ef60cd0d8e37db577c13281be0 100644 (file)
@@ -30,12 +30,7 @@ The constraint does not be an exact version, it can also be a range of versions,
 
 (Constraints additionally can specify other restrictions, such as requiring different versions for different Python versions, and other interesting possibilities.)
 
-When using setuptools and dependencies using setuptools, you quickly can run into problems.
-
-If packages specify exact dependency versions, then there are many changes of packages having conflicting requirements.
-
-If packages do not specify exact dependency versions, then the actual versions that pip installs can vary as new versions of packages are released.
-This can lead to bugs, because code might not work properly when using newer versions of dependencies.
+In my opinion, although you can package applications and libraries properly using Setuptools, doing it correctly requires much knowledge, effort, and is error-prone.
 
 ## Version locking and `requirements.txt`