Commit Graph

6803 Commits

Author SHA1 Message Date
Github Action 67cf7d0d91 Bumped version.
Signed-off-by: Github Action <action@github.com>
2020-05-28 04:54:23 +00:00
Dan Ryan 472618cf0d Release v2020.5.28 v2020.5.28 2020-05-28 00:04:32 -04:00
Dan Ryan ed30845837 Update gitignore and release task
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-28 00:03:57 -04:00
Dan Ryan 3bbdb74ef5 Fix whitespace
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-27 23:45:45 -04:00
Dan Ryan 06f5d7f58c Merge pull request #4267 from torsava/import-vendored-attrs 2020-05-27 23:15:15 -04:00
Dan Ryan 45675144bd Merge branch 'master' into import-vendored-attrs 2020-05-27 19:57:37 -04:00
Dan Ryan df664f2784 Add patch to update attrs import paths and add news entry.
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-27 19:57:02 -04:00
Dan Ryan 3acad96afd Fix piptools patch typo
Signed-off-by: Dan Ryan <dan.ryan@canonical.com>
2020-05-27 19:49:56 -04:00
Tomas Orsava 41042cffee Make sure to import the vendored attrs 2020-05-25 16:53:13 +02:00
Github Action df0eabf0a4 Bumped version.
Signed-off-by: Github Action <action@github.com>
2020-05-20 20:42:31 +00:00
Dan Ryan 96df756c66 Release v2020.4.1b2 v2020.4.1b2 2020-05-20 16:12:15 -04:00
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