Commit Graph

6359 Commits

Author SHA1 Message Date
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
Dan Ryan 4c5e45a823 create virtualenv with python version
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 17:46:59 -04:00
Dan Ryan a035132f49 Fix marker generation and update lockfile
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 17:44:41 -04:00
Dan Ryan 6d5a510064 Fix missing timeout error
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 17:44:41 -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 b3b6b1f8bf Fix test runner on azure
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 17:44:06 -04:00
Dan Ryan fb57a68d59 Echo which python version is in use
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 16:05:56 -04:00
Dan Ryan c37543bcb7 Don't build new environments for package and vendoring'
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 15:38:30 -04:00
Dan Ryan f0d49054d0 plz microsoft get it together
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 15:35:54 -04:00
Dan Ryan 633302b245 And keep the architecture spec i guess
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 15:33:06 -04:00
Dan Ryan 91fe366b11 Use exact python versions
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 15:30:50 -04:00
Dan Ryan 6353c61120 Use loose specifiers for azure pipeline
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 15:19:28 -04:00
Dan Ryan a13e744a53 azure syntax
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 15:16:40 -04:00
Dan Ryan c1652dffa9 Add separate templates for building package and vendor scripts
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 15:15:20 -04:00
Dan Ryan 59d58edadd Drop duplicate python warnings argument in azure template
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 15:07:12 -04:00
Dan Ryan 02c22afcef Update and modernize azure templates
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 15:03:47 -04:00
Dan Ryan 8ae44bc90b #2317 documentation variable expansion (#2966)
#2317 documentation variable expansion
2019-05-27 13:27:28 -04:00
Dan Ryan abee697c14 Added news entry
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 13:23:00 -04:00
Dan Ryan 0e56fef36f Clean up env variable documentation
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 13:11:36 -04:00
Gilberto Corrêa de Souza 4b108dfd49 change wording for Environment Variables options 2019-05-27 13:04:59 -04:00
Gilberto Corrêa de Souza 3402ed9615 clarified the use of environment variables 2019-05-27 13:04:19 -04:00
Manoj Jadhav d841dd54ec Updated Diagnose URL 2019-05-27 12:47:39 -04:00
Manoj Jadhav d56a810383 fixed broken link for diagnose documentation 2019-05-27 12:47:39 -04:00
Dan Ryan e627d9ce9e Fix keyerror in keep_outdated when using VCS dependencies (#3768)
Fix keyerror in keep_outdated when using VCS dependencies
2019-05-27 12:35:36 -04:00
Dan Ryan 9f1fb723cf Merge branch 'master' into bugfix/keep-outdated-keyerror 2019-05-27 12:35:28 -04:00