Commit Graph

7156 Commits

Author SHA1 Message Date
Dan Ryan bd7b6004fe Update requirementslib and re-patch piptools
- Fix attempted hashing of `ssh://` urls
- Fix URL parsing and conversions of `git` and `git+ssh` style vcs urls
- Fixes #2653
- Fixes #2446
- Update lockfile
- Vendor typing
- Add typing to setup.py
- Add click completion patch and update vendoring task
- Fix vendoring script
- Vendor enum34
- Update requirementslib and cleanup vcs check functionality
- Move enum and adjust patched click completion
- Update click completion
- Bump requirementslib again
- Move typing to backports, update tests
- Update tomlkit imports and backport typing module

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:36 -04:00
Dan Ryan a657e9dcfa Update news
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 0b54d3c279 Vendor plette
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 93903866f6 Add tomlkit for managing toml
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan abcdae3f34 Update vendor.txt and update certifi
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 4589727d46 Vendor modutil
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:14 -04:00
Dan Ryan cec086ee92 Update news and vendoring scripts
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 124a463d96 Update safety
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan a51e479a45 Update vendored requirements.txt
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan d5fe6a9455 Update ptyprocess (better error handling)
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan c29ba07c57 Swap to pypi version of pipdeptree
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 3bfc25b619 Update certifi
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 4fd5c79727 Replace appdirs with correct copy
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 21f48ac3e0 Update pythonfinder to 1.0.2
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan b626a11150 Update requirementslib to 1.1.2
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 3cb3f594a1 Update shellingham to 1.24
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 8356a3e182 Update click_completion which now uses shellingham!
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 30a3c541c6 Update dotenv, semver, and scandir
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan bed2990f40 Update vistir vendoring
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 637b0abb6a Update pip-shims vendoring
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 993c452fdc Update scandir patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 2418bd04a2 One more library
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 2eb3d1dcc5 Update vendored libraries
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Dan Ryan 947cba18bd Vendor new libraries: vistir and pip_shims
- Vendors new libraries for maintainability
- Separates responsibiltiies and adds coverage

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:10 -04:00
Stephen Rosen 3798d83a70 Update deployment section of advanced docs
Clarify that `--deploy` is meant for enforcement and intentionally
failing a build.
Mention `pipenv sync` in the same section to try to establish it more
clearly as the most obvious and normal way of doing installation from
``Pipfile.lock`` as part of a reproducible build process.

Explicitly recommend against `pipenv install --ignore-pipfile` and
suggest that it may be deprecated.
2018-08-27 15:15:43 +00:00
Tzu-ping Chung e42d443ebb Merge pull request #2781 from tmc/patch-2
Update README, fix typo.
2018-08-26 20:59:55 +08:00
Travis Cline 6337d6d2bb Update README, fix typo. 2018-08-25 23:56:56 -07:00
Sharla Kew 7678cba302 Expand and clarify custom script shortcut docs
This is a really neat feature and I felt the documentation would benefit
from being expanded slightly and being worded a little more clearly.
2018-08-25 10:54:13 +01:00
Dan Ryan c44d63750d Merge pull request #2758 from orn688/non-existent-dotenv-message
Warning for non-existent PIPENV_DOTENV_LOCATION file
2018-08-24 22:26:00 -04:00
Dan Ryan e4f8312768 Merge branch 'master' into non-existent-dotenv-message 2018-08-24 21:57:13 -04:00
Dan Ryan 1efbeb8187 Merge pull request #2727 from pypa/windows-run-non-executable
Improve "run" behavior on Windows
2018-08-24 21:51:29 -04:00
Dan Ryan 2c41a34018 Merge branch 'master' into windows-run-non-executable 2018-08-24 21:28:35 -04:00
Dan Ryan f2d6720a7a Merge pull request #2773 from pypa/feature/venv-test-fixes
Venv Test Fixes
2018-08-24 03:22:49 -04:00
Dan Ryan 75d7292eb0 Merge remote-tracking branch 'origin/master' into markkoz/master 2018-08-23 23:04:45 -04:00
Oliver Newman b8da356e33 Fix TemporaryDirectory call 2018-08-23 12:27:27 -04:00
Oliver Newman 0973e5e23a Write tests for load_dot_env 2018-08-23 12:27:27 -04:00
Oliver Newman a3d9506b96 Add news entry for #2754 2018-08-23 12:27:27 -04:00
Oliver Newman 78033ed264 Warn if PIPENV_DOTENV_LOCATION file doesn't exist 2018-08-23 12:27:27 -04:00
Tzu-ping Chung dfa1dceb63 Merge pull request #2768 from singingwolfboy/github-capital-h
GitHub has a capital H
2018-08-22 17:05:06 +08:00
David Baumgold 952653d2b7 GitHub has a capital H 2018-08-22 09:35:44 +02:00
Dan Ryan 5ae2433bcf now does it work?
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-22 03:18:03 -04:00
Dan Ryan d5836ed3b0 Just strip https from test mirror index
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-22 03:10:34 -04:00
Dan Ryan 0e919dbd89 syntax...
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-22 02:55:43 -04:00
Dan Ryan e462444d15 Export CA bundle properly
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-22 02:53:43 -04:00
Dan Ryan b0085bbd97 configure cert bundle
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-22 02:50:58 -04:00
Dan Ryan e934ccc73c Minor adjustments to get CI passing
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-22 02:24:51 -04:00
Giorgio Sironi 7c512a5eb9 Add news fragment for --system Docker recommendation 2018-08-20 13:57:32 +01:00
Giorgio Sironi 45b5e7d789 Do not recommend --system for a Docker context
Despite an application's Docker container not usually running other Python processes than the application itself, it still has a system Python whose packages should not necessarily be overwritten or upgraded by an application's choices.

For example, `python3-software-properties` in Ubuntu contains utilities
written in Python like `add-apt-repository` whose [use is widespread in
Dockerfiles](https://github.com/search?l=Dockerfile&q=%22add-apt-repository%22&type=Code).

By inadvertently applying an application's dependency onto the the container's Python, it is possible to:

- subtly break system-level software like these that is still present in the container image
- run into errors where that software is executed while extending the image with another Dockerfile
- run into errors when `docker run|exec ... COMMAND` is used to run another process inside the same container for debugging purposes

I realize this is not necessarily a likely use case, but we have seen
enough projects/tools vendoring `Requests` in fear of a conflict.

Very open on the wording and whether `system Python` is the correct term
to designate the global Python for that OS/container image.
2018-08-20 13:38:14 +01:00
Dan Ryan ced489c39e Merge branch 'master' into master 2018-08-19 21:29:18 -04:00
Dan Ryan 5da09fd24e Merge pull request #2745 from orn688/patch-2
Move misformatted comments
2018-08-17 19:31:45 -04:00