Guys, I have a question, how can you control the versions of Python packages for different Python versions in software development at work?
Example:
I have the following packages
VersionPython 3.8
A==1.1.2
B==2.3.1
I have software using these packages.
But I need to use this software for Python 3.10, but package A is not compatible with this version of Python 3.10, because it was updated to version A==2.3.1, it is causing incompatibility with version 3.8.
What would be the ways and tools to be able to test and verify the compatibility of versions, without having to affect the software's functionalities?
Top comments (7)
Maybe you're looking for Poetry ! It is excellent python package manager that helps you track that kind of thing.
Check the docs to see if it helps you...
+1
Thanks!!! @guilourenzo
I wrote about this very thing! Poetry! dev.to/imtimmeta/how-to-control-pa...
Very thanks ! @imtimmeta
You can try this: github.com/pyenv/pyenv
Very easy to setup + easy to manage.
Check out the docs to see if it suits your needs.
Thanks!!! @anudeepchpaul