-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: dev/deploy workflow #2489
Comments
|
Closing because there is not an issue here. |
@uranusjr , thanks for clarification on sync. Regarding |
Pipfile can contain a relative path, so as long as the project structure is the same accoss machines, the environment should be reproducible for everyone. (This is, I believe, a general best practice for collaborative projects anyway.) I thought this is relatively obvious in the documentation, which led me into believing you missed that part of the documentation. If you really don’t want to add your package into Pipfile, pip is always available via |
Nope, I'm aware of Anyway, I see, probably using pip "directly" is only option here, thanks. |
@uranusjr Maybe there should be an issue leaving only one solution for doing I also came here wondering whether I should run |
It’s probably a good idea to have an issue to list all |
Ok, I'll try to create a good case for this at some point. |
I just ran into this, and the steps I am doing have the problem that are creating a virtualenv inside the docker, which is not nice, but better than the alternatives
In theory the steps should just be:
Using
|
Hi. I'm looking for some guide/tutorial on using pipenv in development-delivery cycle, currently I'm missing two key points in docs:
My feeling is that during deployment only .lock should be read, as described set of dependencies developed/tested with, but it's not clear what's the proper way:
sync
seems to be appropriate (reads .lock file, installs packages), but doesn't support--system
(addressed in Support--system
topipenv sync
#2227) — which is default approach while building containersinstall --system
is ok for installing in container, also support--deploy
— is it defferent fromsync
? Docs says "This will fail a build if the Pipfile.lock is out–of–date" — does it check against PyPI or Pipfile?install --ignore-pipfile
— is it the same assync
?While working with pip I can do one-timer like
pip install -e path/to/local/lib
, or manage somerequirements-dev
that's local for every developer. During dev install we can feed all requirement files, for CI — only libraries from upstream.I'm looking for something similar with
pipenv
— support for[dev-packages]
is perfect in terms of handling priorities during install and locking, but I can't put there any "per developer"-specific configuration. And afaik,pipenv
can not work with multiple Pipfiles.The text was updated successfully, but these errors were encountered: