Commit Graph

7156 Commits

Author SHA1 Message Date
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
Dan Ryan f8bace8673 Doc: advanced.rst: Use "pytest" as the new recommended entrypoint for… (#3759)
Doc: advanced.rst: Use "pytest" as the new recommended entrypoint for…
2019-05-27 12:35:11 -04:00
Jordan Pittier 788194d749 Doc: advanced.rst: Use "pytest" as the new recommended entrypoint for Pytest
According to https://github.com/pytest-dev/pytest/issues/1629 the recommended
entrypoint for `pytest` is `pytest`. Usage of `py.test` has been deprecated
for 2 years now.
2019-05-27 10:36:02 +02:00
Dan Ryan 51e2be70ca Update requirementslib to fix recursion error
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 02:38:54 -04:00
Dan Ryan 3a75696b20 Add news entry
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 00:02:22 -04:00
Dan Ryan 71478d1b55 Fix keyerror in keep_outdated when using VCS dependencies
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-05-27 00:00:23 -04:00
Dan Ryan 61a3798524 Merge branch 'master' into master 2019-05-26 23:46:14 -04:00
Dan Ryan 8813c76ab4 add test for counting pre option and fix it's duplicate (#3479)
add test for counting pre option and fix it's duplicate
2019-05-26 23:35:59 -04:00
Dan Ryan 88d05818e3 Merge branch 'master' into master 2019-05-26 23:34:39 -04:00
Frost Ming 25c02f0464 Merge pull request #3753 from Cologler/patch-2
Update core.py
2019-05-27 11:00:38 +08:00
Frost Ming 550cefb0b0 Merge branch 'master' into patch-2 2019-05-27 08:54:27 +08:00
frostming 78029a6d13 news entry 2019-05-27 08:53:51 +08:00
Dan Ryan 7ded0add8c Merge pull request #3408 from jleclanche/patch-2
Prevent a crash in version check error message
2019-05-26 17:27:17 -04:00
Dan Ryan 49a8208a13 Merge branch 'master' into patch-2 2019-05-26 17:26:57 -04:00
Dan Ryan 871c3dc2bb Merge pull request #3528 from davidjb/fix-docs-mobile
Ensure docs show nav on small-screen devices
2019-05-26 17:25:30 -04:00
Dan Ryan 95c07e5fd9 Merge branch 'master' into fix-docs-mobile 2019-05-26 17:24:25 -04:00