Commit Graph

6390 Commits

Author SHA1 Message Date
Dan Ryan 9c3ee2a72b Get rid of devpi
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-05 02:55:47 -04:00
Dan Ryan 5ac676711a Fix editable VCS dependency resolution
- Fixes #3809

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-07-05 02:06:43 -04:00
Dan Ryan 4b75c6490d Fix devpi server to work on windows
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-25 23:52:49 -04:00
Dan Ryan edbb6321f4 Add windows support to test devpi server
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-25 17:25:18 -04:00
Dan Ryan e1e8364eeb Update lockfile to support 2.7
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-25 04:01:06 -04:00
Dan Ryan 1b42124ea0 Fix VCS installs
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-25 01:27:36 -04:00
Dan Ryan 83868c8f1a Cut over to devpi for tests and improve logging
- Verbose logs will now write gracefully to the terminal even while the
  spinner is running (i.e. during locking)
- This PR also cuts over to Devpi for a backing cache rather than a
  hacked httpbin instance
- Inclues a refactor of `pip_install` to deduplicate logic
- Attempts to switch back to relying on native editable installs in pip
  as the current implementation is broken on master (i.e. nothing is
  installed in the virtualenv)
- Fixes #3809

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-25 01:26:49 -04:00
Dan Ryan 8b244bef51 Update locking to respect pep517 and isolation
- Fix verbosity and logging
- Clean minor fixes

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-06-25 01:07:33 -04: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