This is my scenario:
- I am using
pipenv - I have private sources:
[[source]]
url = "http://devpi.mine/something/dev/+simple"
verify_ssl = false
name = "mysource"
- I have different environments:
devfor development, with a privatedevpiwhere packages are upload, andint/preprod/prodwith a shareddevpi. - Generating
Pipfile.locktakes time (5min)
My problem: the Pipfile.lock that I am generating in dev is not usable in int, because the hashes do not match (different devpi)
Possible solutions:
- Generate
Pipfile.lock.devandPipfile.lock.int, and manage that myself (symlinks or renaming the file): a bit cumbersome - Generate
Pipfile.lockas part of the release process: I don't like this because that means thatPipfile.lockis not used as reference, since each time it will be re-generated. Besides, this would slow down release.
Do you have any other idea how to manage different environments in the context of pipenv?