Commit Graph

215 Commits

Author SHA1 Message Date
frostming 089bb57d7e Update vendor packages 2019-07-17 12:21:11 +08:00
Frost Ming 5e69bca451 Use autogenerated contributing.md 2019-07-14 16:45:19 +08:00
Frost Ming 2f619df5f9 Merge branch master 2019-07-14 15:36:41 +08: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 f0e3bbaa79 parent 8ae44bc90b
author Dan Ryan <dan@danryan.co> 1554074378 -0400
committer Dan Ryan <dan@danryan.co> 1558982736 -0400
gpgsig -----BEGIN PGP SIGNATURE-----

 iQIzBAABCgAdFiEEb6jpcpb+5zzDideCsyDQTvvOpJUFAlzsMFAACgkQsyDQTvvO
 pJWZmRAAtge5wdprlLnKdWUYK5USZb7Uk3zJHi9UIvnO7nKP6UA/L2D/5nxZitvx
 pZI7cGG+8sLp2yZNtQZdW6LNM1jmRXgzdMLYQh/5zo5gbj6KLOw7erh0FU3L3uM6
 wNBNM135Eqt7b+4a4C5TEK2UjwRxBHAsF+3ZzUy+UJQqgQEKxFVxW4gC4yxpfMtL
 jipE8ludwuOIM88ZJapmLpv2R6adQTxWZedTlmczdsy2/WKGHTCCpWs96PBbntdI
 pVBmoXfMhgZi+IuGR3iBYU0qS97vjJ8Te9tQZAaB9JGSqv3hHDWo1ht/rrG2RXzp
 3i0Cf2vG4035EUh56VYE9FCC9m6Vu3U9iIR34BZG9K5+lDP7pmJmjT+GymEgMP0N
 GoP3LYUO+dJjMjaUEMsC6QIi6DAots3uk4lxIw3wcA4Im/N/i5xafsRj1Eu3UdBL
 wBDKMz/FQjH+tD+mnvTlzaxD5vdhhCdBu1gK59rjNMlzg8hz6EF61QbHCaQHd4UI
 VOGIa8ThLlLI3addxzq/McceAc+OsLJ9hm06jkjvvoIuKrHyE3DybdbYQC7uEwyw
 2AvVuMDCPcciYQnkJhNTKmGvPcUDYD7cF91GKcUJKdPdyzDCeFEo5SUTKnLV4Cj2
 VD2sdVUk4jnmYfE4pCFvHKYooxQDMKQk/VCKl1c9QHL9/ijCx+o=
 =b+H1
 -----END PGP SIGNATURE-----

Ensure resolver doesn't compare editable specifiers

- Don't compare versions of editable dependencies when updating using
  `--keep-outdated` -- editable dependencies will now be updated to
  the latest version
- Ensure we don't drop markers from the lockfile when versions are not
  updated
- Fixes #3656
- Fixes #3659

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

Add future import for print function

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

Handle all possible markers in lockfiles

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

Fix json import

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

point to correct reference for lockfile

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

Fix marker merging errors

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

Prevent automatically setting `editable=True`

- Fixes #3647

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

Add new feature toggle for VCS dependency resolution

- Fixes #3577

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

Fix syntax error

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

Use string for environment

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

Fix class name resolution for py27

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

Write json files as unicode

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

Fix resolution with env var

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 17:44:41 -04:00
Dan Ryan b4b54020b6 Merge branch 'master' into unused-vendor-shutilwhich 2019-05-26 17:08:42 -04:00
Dan Ryan fa56deacb1 Merge branch 'master' into unused-vendor-shutilwhich 2019-05-19 22:01:06 -04:00
Dan Ryan c187398d3f Merge branch 'master' into unused-vendors 2019-05-19 22:01:02 -04:00
Dan Ryan c23e57b482 Fix test and pipeline definitions
- Update extras name in pipelines
- fix windows virtualenv calls
- don't write debug info during virtualenv creation and just move on
- Generalize some pipelines
- Use quotes around evaluated statements in pipeline
- Fix envvar references
- Update vistir:
  - fix stream wrapper on windows
  - fix ICACLS permissions handler
  - fix path normalization function
- Update azure venv creation script
- Fix vendoring script

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-18 23:22:53 -04:00
Dan Ryan 7e394c39e7 Fix license download script
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-16 01:24:47 -04:00
Dan Ryan adc8d13168 Add dotenv patch to guard typing imports
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-16 00:41:15 -04:00
Dan Ryan cf6305ea7b Fix piptools patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-16 00:14:09 -04:00
Dan Ryan 65751d37c0 Update dependencies and fix azure pipeline definitions
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 23:57:00 -04:00
Dan Ryan 8e1e825041 Update vendored pip licenses
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 22:02:58 -04:00
Dan Ryan aa2b1d2618 Update piptools patch and re-lock
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 20:39:38 -04:00
Dan Ryan 289eac386f Update vendored dependencies
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-15 01:27:42 -04:00
Dan Ryan 90c2c66dc8 Update pythonfinder, requirementslib and vistir
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-11 01:30:25 -04:00
John Vandenberg 2481471b7d Remove unused vendored blindspin
This package is no longer used.

Closes https://github.com/pypa/pipenv/issues/3640
2019-05-08 19:30:56 +07:00
John Vandenberg d79ae0c270 Remove unused vendored shutilwhich
This package is no longer used.

Closes https://github.com/pypa/pipenv/issues/3621
2019-05-08 19:29:50 +07:00
Dan Ryan d937050884 Update pip patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-24 23:30:13 -04:00
Dan Ryan c5729523ee Update vistir to rely on new rmtree logic
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-21 01:16:42 -04:00
Dan Ryan 5e2ab186d7 Update resolver to fix tempdir usage
- Fix piptools patch
- Fix windows ansi/colorama implementation
- Write output even if no newline is found during resolution

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-20 20:38:15 -04:00
Dan Ryan fa31b64f37 Update vendored piptools and pip versions
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-20 12:15:00 -04:00
Dan Ryan 1ebebcd7bb Update piptools
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-20 00:04:23 -04:00
Dan Ryan 729e790ef4 Update pip version
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-19 01:12:54 -04:00
Dan Ryan 716dfb4804 Update vistir patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-04 13:35:32 -05:00
Dan Ryan be3c7714ee Cut in new cursor implementation
- Fix some errors in exception handler
- Update yaspin patch
- Fix spinner

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-02 14:20:30 -05:00
Dan Ryan 05d3b5af26 Update license download script
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-02-24 22:34:26 -05:00
Dan Ryan ed3f206e64 Update vendored dependency pins
- Update gitignore entries for mypy config
- Update release task to add version after bumping but before release
- Fixes #3326 (going forward at least)
- Split out patching from vendoring so it can be done as a separate step
  if needed
- Update patches to account for updated packages
- Fixes #3432
- Fixes #2757
- Fixes #3305
- Fixes #2914
- Fixes #3439
- Fixes #3422
- Fixes #3378
- Fixes #3376
- Fixes #3315

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-01-21 12:20:20 -05:00
jxltom 084bf41f77 Resort imports for tasks 2018-12-01 18:49:37 +08:00
Dan Ryan 9e0d6bc1e3 Update release scripts, fix packaging scripts
- Fix `PIPENV_PYTHON` envvar which auto-recreated environments due to
  `auto_envvar_prefix`, now it is not pulled from the environment
  automatically
- Fix formatting of some news entries
- Automate release via `inv release.release` (will be aliased)

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-24 20:53:37 -05:00
Dan Ryan a08a2da524 Don't give child deps of vcs deps auto-precedence
- Stop preferring resolution of VCS dependencies in all cases
- Resolve vcs dependencies together with non-vcs dependencies
- Clarify blocking and no-deps logic
- Add artifacts and tests
- Add vendoring task for artifacts
- Clean up release tasks
- Fixes #3296

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-24 17:10:45 -05:00
Frost Ming 912bba45b7 news entry
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-18 10:12:20 +08:00
Frost Ming 12b66e1e4a update manual
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-18 09:23:37 +08:00
Dan Ryan ada66d3e72 Remove old patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-14 00:51:26 -05:00
Frost Ming f5c7c58be0 Change fallback style 2018-11-10 15:41:09 +08:00
Frost Ming 1f7c9ef949 update patch 2018-11-10 13:18:53 +08:00
frostming accd0ea4ab Move to utils function 2018-11-09 14:18:04 +08:00
frostming 3490fc85ef fix patch 2018-11-09 11:23:02 +08:00
frostming 076252836c Final fix 2018-11-09 11:10:18 +08:00
frostming b3aa66b154 make tomlkit dump toml's inline table 2018-11-08 17:34:57 +08:00
frostming e147dc3ade Drops prettytoml/contoml form vendors 2018-11-08 10:57:20 +08:00
Dan Ryan d52fadc452 Merge branch 'master' into implement-tomlkit 2018-11-07 17:17:31 -05:00
Dan Ryan d851b7ea2d Fix tomlkit implementation
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-07 10:39:31 -05:00
Dan Ryan 2f809c2fa3 Fix tomlkit trivia patch
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-07 00:07:33 -05:00
Dan Ryan bd1caee430 Update container patch for comment retention
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-06 22:45:37 -05:00
frostming 4310bcaf23 remove the tricky lines 2018-11-07 10:06:14 +08:00
frostming c47dd0134e fix patch file 2018-11-07 09:33:39 +08:00
Dan Ryan 722e33c77a Fix tomlkit updates
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-06 18:09:09 -05:00