Commit Graph

6383 Commits

Author SHA1 Message Date
Jeremy Mayeres 0786c43f3d Allow overriding PIPENV_INSTALL_TIMEOUT environment variable 2019-06-24 15:31:33 +09:00
Dan Ryan d99125f364 Don't override PIP_NO_DEPS by default (#3800)
Don't override PIP_NO_DEPS by default
2019-06-19 14:40:56 -04:00
Dan Ryan 7a5480ea37 Merge branch 'master' into bugfix/3763 2019-06-17 22:50:45 -04:00
Dan Ryan bd3720d3b1 Don't override PIP_NO_DEPS by default
- We used to override `PIP_NO_DEPS` by default when handling VCS or file
  dependencies
- This PR exempts VCS and file dependencies from that rule since we are
  able to resolve them in a pre-lock resolution step
- Fixes #3763

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-17 22:49:25 -04:00
Dan Ryan 7f1e778ab0 Fix version comparisons in do_outdated (#3798)
Fix version comparisons in do_outdated
2019-06-17 16:51:38 -04:00
Dan Ryan a453cdbf61 Merge branch 'bugfix/3766' of github.com:pypa/pipenv into bugfix/3766 2019-06-17 15:25:32 -04:00
Dan Ryan b4d6ea5236 Fix environment check
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-17 15:25:18 -04:00
Dan Ryan 8145061670 Merge branch 'master' into bugfix/3766 2019-06-17 02:05:29 -04:00
Dan Ryan 8bb39a73e6 Check stderr instead of stdout for message and add required info back to outdated packages
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-17 02:04:55 -04:00
Dan Ryan 98f7f42742 Fix toml parsing and resolver comparisons
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-17 01:34:37 -04:00
Dan Ryan 0e3f5f7808 fix error output (#3795)
fix error output

Co-authored-by: Dan Ryan <dan@danryan.co>
2019-06-17 00:58:14 -04:00
Dan Ryan 4f7b393553 Merge branch 'master' into bugfix/3794 2019-06-16 23:12:15 -04:00
Dan Ryan e0b3df94fe Fix azure pipelines (#3797)
Fix azure pipelines
2019-06-16 23:11:23 -04:00
Dan Ryan e7536ab1f6 Fix version comparisons in do_outdated
- Fix comparisons between post-release and non-post-release versions
- Update `pip_shims` to accommodate new pip versions
- Implement syntax changes in `environment.py` to account for new pip
  syntax
- Add `required` version output to `pipenv update --outdated`
- Add pipfile version pin information as well, if available

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-16 23:06:37 -04:00
Dan Ryan 8daa092c56 Fix azure pipelines
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-16 21:45:19 -04:00
Frost Ming dcaf7ecc52 do not combine lists 2019-06-15 18:20:12 +08:00
Frost Ming f7e659f29d fix error output 2019-06-15 18:16:51 +08:00
Dan Ryan 7faf4d320c Fix gitignore and remove unused setup_requires deps
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-11 16:33:04 -04:00
Dan Ryan 4549a30a69 Bugfix/3786 (#3787)
Bugfix/3786
2019-06-11 16:30:51 -04:00
Dan Ryan 2d4d8ac75a Merge branch 'master' into bugfix/3786 2019-06-11 13:41:42 -04:00
Dan Ryan 39f384891f Fix marker parsing for broken marker format
- Fixes #3786

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-11 13:41:12 -04:00
Dan Ryan 46a28a4904 Fix pipenv --clear is not working (#3354)
Fix pipenv --clear is not working

Co-authored-by: Dan Ryan <dan@danryan.co>
2019-06-06 01:19:04 -04:00
Dan Ryan d5326910e8 Merge branch 'master' into fix-several-general-options 2019-06-05 02:09:35 -04:00
Dan Ryan c0f1f7523f Fix pipeline python version specification 2019-06-05 00:49:59 -04:00
Dan Ryan 2a0cc13f4e Merge branch 'master' into fix-several-general-options 2019-06-04 21:37:00 -04:00
Dan Ryan 6700d00331 Fix sequential sync losing track of pip install processes (#3537)
Fix sequential sync losing track of pip install processes

Co-authored-by: Dan Ryan <dan@danryan.co>
2019-06-04 18:44:51 -04:00
Dan Ryan 06f3cae5e2 Merge branch 'master' into fix-queue 2019-06-04 03:23:27 -04:00
Dan Ryan b5643760e3 Fix test comparisons
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-04 02:08:05 -04:00
Dan Ryan 1525f88676 Don't use tablib for keep_outdated test due to osx failure
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-04 01:39:03 -04:00
Dan Ryan c06ba76dc8 Allows overriding PIP_EXISTS_ACTION environment variable (it was forced to w) (#3738)
Allows overriding `PIP_EXISTS_ACTION` environment variable (it was forced to `w`)
2019-06-04 01:25:05 -04:00
Dan Ryan 72a19deb80 Merge branch 'master' into master 2019-06-03 23:13:41 -04:00
Dan Ryan ea47f3862d Consolidate pipeline (#3778)
Consolidate pipeline
2019-06-03 23:12:27 -04:00
Dan Ryan 1adb502b18 Update test runner code and contribution guide
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-03 22:01:09 -04:00
Dan Ryan 359906c669 Update tests to resolve some transient resolution issues
Signed-off-by: Dan Ryan <dan@danryan.co>

probably need to sync submodules for this to work

Signed-off-by: Dan Ryan <dan@danryan.co>

Update to new version of artifacts

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix windows failure

Signed-off-by: Dan Ryan <dan@danryan.co>

Update azure-pipelines.yml for Azure Pipelines

Update lockfile test for windows

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix scandir test

Signed-off-by: Dan Ryan <dan@danryan.co>

Update azure test steps

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix virtualenv test

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix python discovery when nothing is supplied

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix cli ensure_project call

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix run in virtualenv test

Signed-off-by: Dan Ryan <dan@danryan.co>

Show why virtualenv test failed if it did

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix python interpreter discovery

Signed-off-by: Dan Ryan <dan@danryan.co>

scale down lock test modifications and increase error logging

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix spinner bugs on windows and python discovery

Signed-off-by: Dan Ryan <dan@danryan.co>

Fix pythonfinder search algorithm to dodge false paths on win

Signed-off-by: Dan Ryan <dan@danryan.co>

use pipenv directly

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-03 22:01:07 -04:00
Dan Ryan 401c7c1746 Move test artifacts to submodule
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-03 22:00:18 -04:00
Dan Ryan 4c6879602a update pipeline definition
Signed-off-by: Dan Ryan <dan@danryan.co>

Update azure scripts

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-03 22:00:15 -04:00
Simion Baws d259ec5327 updated docs 2019-06-02 08:57:44 +03:00
Simion Baws b9c89edc8d Merge branch 'master' into master 2019-06-02 08:48:23 +03:00
jxltom 7f2eaf7d50 Fix tests 2019-05-28 10:34:09 +08:00
Dan Ryan aa70ddb244 fix queue implementation
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 19:42:43 -04:00
Gleb Kozyrev 403a65105c Test sync --sequential processing every pip install result 2019-05-27 19:42:18 -04:00
Gleb Kozyrev 4231d47dee Remove duplicate variable 2019-05-27 19:42:04 -04:00
Gleb Kozyrev 57389a24f8 Remove redundant argument
Block on a process in cleanup iff it was run as non-blocking. Blocking
processes are blocked on immediately.
2019-05-27 19:42:04 -04:00
Gleb Kozyrev 81502e03ba Always put process handles in the queue
In sequential (blocking) mode only the first `pip install` process handle
was being put in the queue, the subsequent ones never reaching cleanup,
where the exit code is checked, hiding installation errors and logs.

Remove the nprocs argument and set `procs.maxsize` to 1 in sequential mode
instead.

Remove redundant `Command.block` call, `delegate.run` takes care of that.

Simplify queue cleanup condition. It's only necessary to cleanup inside the
loop if `procs` is full.
2019-05-27 19:42:03 -04:00
Dan Ryan 57cba47669 Merge branch 'master' into fix-several-general-options 2019-05-27 19:08:20 -04:00
Dan Ryan 9ea2702019 Add new feature toggle for VCS dependency resolution (#3661)
Add new feature toggle for VCS dependency resolution
2019-05-27 19:05:59 -04:00
Dan Ryan 9a2772ad94 Merge branch 'master' into feature/3577
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 19:04:08 -04:00
Dan Ryan c10a2e3bda Update azure steps
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 19:02:27 -04:00
Dan Ryan 89fc565dd5 Use python version path
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 17:58:43 -04:00
Dan Ryan a192125944 Use parametrized python version
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 17:55:57 -04:00