Commit Graph

6792 Commits

Author SHA1 Message Date
Dan Ryan a67882cf5d Fix improper restructured text code escape syntax
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 16:11:44 -04:00
Dan Ryan 8cc00622cc Update makefile to build docs
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 15:58:49 -04:00
Dan Ryan 12e46a0bfb Fix release file
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 15:24:13 -04:00
Dan Ryan 3549d28702 Update release script
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 15:12:12 -04:00
Dan Ryan db74ee692d Merge pull request #4183 from ncoghlan/issue-3316-lock-all-deps-with-dev 2020-05-20 12:38:55 -04:00
Dan Ryan 562dcaae4b Merge branch 'master' into issue-3316-lock-all-deps-with-dev 2020-05-20 11:39:55 -04:00
Dan Ryan b2cc53a59b Merge pull request #4257 from rafaelpivato/safety-key-flag 2020-05-20 11:39:11 -04:00
Dan Ryan ce5499db0f Added news entry
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 09:57:52 -04:00
Dan Ryan ff91fa958a Merge branch 'master' into issue-3316-lock-all-deps-with-dev 2020-05-20 02:49:42 -04:00
Dan Ryan 48f978449d Merge branch 'master' into safety-key-flag 2020-05-20 02:49:32 -04:00
Dan Ryan 49335ad1a8 Merge pull request #4262 from pypa/bugfix/4220 2020-05-20 02:49:09 -04:00
Dan Ryan ed780c4061 Tweak crayons patch with vendored imports
- Remove now-unused `allow_global` argument to pip install
  argument builder
- Update vistir version number and code to fix vendoring issue

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-20 01:47:48 -04:00
Dan Ryan 2c49876bcf Detect global setting at environment creation time
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 22:06:25 -04:00
Dan Ryan 8f3ba7eded Add missing news entry
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 19:50:35 -04:00
Dan Ryan 5c95ec9b9b Load the pip version from the correct prefix
- Respect `--system` when it is supplied during install
- Fixes #4220

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 19:49:32 -04:00
Dan Ryan 23a2e7c784 Merge pull request #4216 from pypa/feature/only-install-missing 2020-05-19 19:49:04 -04:00
Dan Ryan 4c10c35b57 Update vistir patch
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 19:48:37 -04:00
Dan Ryan 8e608ef4c8 use correct lookup to check if requested req is local
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 18:28:44 -04:00
Dan Ryan 557b5a333f Only compare paths that exist
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 17:52:38 -04:00
Dan Ryan 69d785d4a2 Use samefile to compare source paths
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 16:47:10 -04:00
Dan Ryan 196a5bf00b Compare direct urls to avoid reinstallling
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 16:47:02 -04:00
Dan Ryan f051d348f5 Skip satisfied dependencies during installation
- Skip satisfied dependencies in the environment during install
  by checking whether the constraint of a specifier is satisfied
- If there is no specifier and a dependency is installed, assume it
  is satisfied
- For editable dependencies, if the dependency in the environment is
  an egg link and points at the same path as the given dep, assume
  it is satisfied
- Fixes #3057

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 16:47:02 -04:00
Dan Ryan edce45c5c8 Merge pull request #4255 from pypa/bugfix/4226 2020-05-19 16:46:44 -04:00
Dan Ryan f81cec0840 Merge pull request #4259 from pypa/bugfix/3976 2020-05-19 15:39:20 -04:00
Dan Ryan f4fba43533 Update requirementslib and vistir
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 15:39:05 -04:00
Dan Ryan 243b4fd0df VCS version key removal
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 14:47:56 -04:00
Dan Ryan 07a7c6110f Remove version from VCS lock keys
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 14:23:01 -04:00
Dan Ryan befb29ceae Update requirement parser and lockfile generation for vcs dependencies, fix test
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 13:36:23 -04:00
Dan Ryan c4f6b7f6f4 use normalized names in lockfile
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 10:53:00 -04:00
Dan Ryan 1f96b8cf7d Fix package name in test
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 09:56:55 -04:00
Dan Ryan 1a8111d4bb Clean up tests
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 09:56:55 -04:00
Dan Ryan a0f82865f8 Add tests for VCS pep508 subdependencies
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 09:56:55 -04:00
Dan Ryan edf79f7132 Fix resolution of direct url subdependencies
- Fix resolution of direct url VCS subdependencies (e.g. top level dep
  depends on a VCS direct url subdependency) which rely on subdirectory
  resolution
- Fixes #3976

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 09:56:54 -04:00
Dan Ryan ad7a514563 Fix test that has been broken for who knows how long...
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 09:56:32 -04:00
Dan Ryan 9757dbf1bc Update requirementslib with fix for passing subdirectory to setup info
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-19 00:10:40 -04:00
Dan Ryan 03e12d4826 Update requirementslib
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-18 16:08:52 -04:00
Dan Ryan 9e13146e4e Merge branch 'bugfix/4226' of github.com:pypa/pipenv into bugfix/4226 2020-05-18 10:57:06 -04:00
Dan Ryan e2eef02670 Requirementslib bugfix to avoid miscategorizing local files as packages
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-18 10:55:03 -04:00
Rafael Pivato b32dd524d1 Safety help strings 2020-05-17 16:42:12 -03:00
Rafael Pivato 817d171c41 Accepts Safety API key flag 2020-05-17 15:41:01 -03:00
Dan Ryan 19bbb5e2e1 Merge branch 'master' into bugfix/4226 2020-05-17 01:15:48 -04:00
Frost Ming 760f7afaf1 Merge pull request #4246 from klaviyo/master
Allow pyenv/asdf to be used even if they are not on PATH
2020-05-17 08:03:26 +08:00
Dan Ryan 5a7ed8ff57 Parse requires-python values of old pythons
- Parse `Requires-Python` values specifying constraint versions of
  python starting from `1.x`
- Requires updated vendored dependencies including `vistir` and
 `requirementslib`:
  - **requirementslib** `1.5.8` => `1.5.9`
  - **vistir** `0.5.0` => `0.5.1`
  - **jinja2** `2.11.1` => `2.11.2`
  - **click** `7.1.1` => `7.1.2`
  - **dateutil** `(none)` => `2.8.1`
  - **backports.functools_lru_cache** `1.5.0` => `1.6.1`
  - **enum34** `1.1.6` => `1.1.10`
  - **toml** `0.10.0` => `0.10.1`
  - **importlib_resources** `1.4.0` => `1.5.0`

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-16 15:26:50 -04:00
Dan Ryan c4a165bce3 Re-vendor vistir and requirementslib
- Fix issues parsing direct dependency URLs
- Fix vistir `rmtree` error handling automated attempts at `chmod`
  invocation which may not always be permitted
- Fix nested direct dependency parsing
- Fixes #4226
- Fixes #3964

Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-14 20:15:07 -04:00
zbentley 0f999f5533 Remove dotenv sourcing 2020-05-14 17:20:39 -04:00
zbentley 11cef6fd35 Merge branch 'master' of github.com:klaviyo/pipenv 2020-05-14 13:53:17 -04:00
zbentley 1f0e064f3a Fix misnamed asdf invocation, and debug print 2020-05-14 13:53:00 -04:00
Zac Bentley e663691140 Merge branch 'master' into master 2020-05-13 14:55:40 -04:00
Frost Ming cb6cdb9644 Merge pull request #4252 from pypa/bugfix/4229
Fix the broken update --outdated handler
2020-05-13 20:34:24 +08:00
frostming 58822861c1 Keep the original deps set during loop 2020-05-13 17:49:55 +08:00