How do you set versioning in your Python packages?

Asked 2 years ago

What is the best way to manage versioning in my Python project? We're currently a team of 5 developers working on an app that will probably have multiple versions & releases, so we're not sure how to go about versioning packages?

Josh Camacho

Wednesday, October 05, 2022

Probably the easiest way to set up versioning in your Python project is to use a virtual environment - in fact, it's one of the main reasons why venvs were created. Namely, a venv allows you to use an older version of a dependency in one app, while using a newer one for another app. So, you'll have two seperate environments that have different configurations and package versions that won't be conflicting with each other.





Write an answer...

Cancel

Please follow our  Community Guidelines

Can't find what you're looking for?