Skip to content
Snippets Groups Projects
Commit 1be09081 authored by Michal Urban's avatar Michal Urban
Browse files

updated README with an advice on how to perform dependency updates

parent a643d34c
No related branches found
No related tags found
No related merge requests found
......@@ -21,3 +21,18 @@ It consists of the following modules.
* ostack_client - a client that provides all necessary functions for heat stack manipulation
* utils - some common functions
* exceptions - used exceptions
## Updating Dependencies
When performing `pipenv lock`, you may run into some issues. Here is how to resolve at least some of them.
* First, download Python 3.6 alongside any other python that is installed, using for example: https://tecadmin.net/install-python-3-6-ubuntu-linuxmint/
* Newer versions of pipenv may be also causing trouble. A downgrade to last working version is adviced: `pip3 install --user pipenv==2022.1.8`
* Create a virtual environment with Python 3.6: `pipenv --python 3.6`
* pipenv sync --dev
* pipenv lock
* pipenv run tox --recreate
_If all else fails and the tox command does not succeed, compare the contents of Pipfile.lock with the latest working build. Check if there are differences in version of tools, such as pipenv, tox and so on. It may help to specify the latest working version in the pipfile, remove the pipenv (`pipenv --rm`) and try again._
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment