Commit Graph

6134 Commits

Author SHA1 Message Date
Dan Ryan e16608c03f sort pytest markers by length
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-18 00:45:40 -04:00
Dan Ryan 6382f516e2 Merge branch 'master' into feature/keep-outdated-peep
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-18 00:43:40 -04:00
Dan Ryan 661184e5cc Merge pull request #3330 from pypa/bugfix/2783
Fix python path discovery if not called python
2019-03-17 23:14:33 -04:00
Dan Ryan 116d0857a2 Fix variable references
Signed-off-by: Dan Ryan <dan@danryan.co>

Fix variable references

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

Fix variable references

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

Switch to powershell for windows virtualenv creation

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

use python version as path

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

use python version as path

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

swap variable name for python exe

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

add fallback for python exe

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

fix python variable setting

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

fix python variable setting

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

Use variable susbstitution for python executable location

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

Use activate script properly

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

Fix floating quote in python version

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

Don't block on safety call in python 2 as it overwrites output for some reason

Signed-off-by: Dan Ryan <dan.ryan@xyleminc.com>

Don't block on pipenv graph either

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

Check command return code instead of calling `block`

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

Don't load json after its already loaded

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

Wait on return code before checking contents

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:11:05 -04:00
Dan Ryan a23e9246d6 Update vistir
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:58 -04:00
Dan Ryan d361c86c7d Update azure pipeline scripts
Signed-off-by: Dan Ryan <dan@danryan.co>

Update azure builds

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

Update azure pipeline windows code

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

Update python executable search for windows

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

Fix variable reference

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

Set virtual env variable on windows

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

globally install pipenv on windows

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:54 -04:00
Dan Ryan a17760e223 Update dummy spinner
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:51 -04:00
Dan Ryan dcd5369117 Fix vistir's encoding of terminal output for python 2
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:51 -04:00
Dan Ryan 466fcc0a2a Fix test skip
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:51 -04:00
Dan Ryan 73129d8401 Fix internet connectivity test
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:50 -04:00
Dan Ryan 8fdc589d05 Fix test skip
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:50 -04:00
Dan Ryan e08ce4de05 fix syntax error on python 2
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:50 -04:00
Dan Ryan 089805712a Update safety check command runner to handle exceptions
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:49 -04:00
Dan Ryan 77bac23f93 re-add setting to make environment active when running shell
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:49 -04:00
Dan Ryan cfd1e5992e Make sure python path is a string
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:48 -04:00
Dan Ryan f09e6f5c48 sort imports for easier merge
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:48 -04:00
Dan Ryan fa1c948445 Minor tweaks
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:48 -04:00
Dan Ryan 8da832f44f Update exception formatter
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:47 -04:00
Dan Ryan 6c51b7f0ad Fix windows lookups
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:47 -04:00
Dan Ryan dcfce70817 Fix python path discovery if not called python
- Begin a refactor of `delegator.run` invocation to ensure we capture
  and handle failures with our own exception wrappers
- Additoinally capture output and error logging and command information
  when running in verbose mode (should avoid significant repitition in
  the codebase)
- Refactor `which` and `system_which` to fallback to pythonfinder's
implementation
- Abstract `is_python_command` to identify whether we are looking for
  python, this enables us to rely on `pythonfinder.Finder.find_all_python_versions()`
  to ensure we aren't skipping python versions
- Fixes #2783

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-16 15:10:40 -04:00
Dan Ryan 83b1f123e7 Merge branch 'master' into feature/keep-outdated-peep 2019-03-10 22:40:05 -04:00
Dan Ryan d5e446ee7b Merge pull request #3595 from pypa/hide-emojis
Let windows user configure to show emojis
2019-03-10 22:39:39 -04:00
Dan Ryan 26d209b7e2 Merge branch 'master' into hide-emojis 2019-03-10 22:39:18 -04:00
Dan Ryan 32a170e76b Update news fragment 2019-03-10 22:38:49 -04:00
frostming c55c5112b3 move the logic to a function 2019-03-11 08:58:19 +08:00
Dan Ryan 93019f3193 Merge branch 'master' into feature/keep-outdated-peep 2019-03-10 20:26:08 -04:00
Dan Ryan 3131e2fced Rename peep to 005 to make room for kenneth's peep
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-10 16:04:46 -04:00
kennethreitz 11a555b093 Rename PEEP to PEEP-0004.md 2019-03-10 10:01:14 -04:00
kennethreitz 8f0b2cda61 Create PEEP 2019-03-10 10:00:31 -04:00
Dan Ryan 0382e0c9cc Merge branch 'master' into feature/keep-outdated-peep 2019-03-10 04:28:04 -04:00
Dan Ryan 0cc3e254a4 Rename peep to 004
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-10 04:25:44 -04:00
Dan Ryan 6552e8dc8b Add tests for --keep-outdated
- Test that the lockfile doesn't get updated if satisfying constraints
  are pinned already in the lockfile
- Test that pipfile pins are respected
- Test that dependencies in the lockfile with markers that don't apply
  to the current system stay in the lockfile

Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-10 04:18:10 -04:00
Frost Ming d4c8d17024 Merge pull request #3522 from davidjb/patch-2
Docs: clarify quoting in version specs note
2019-03-08 15:43:59 +08:00
Frost Ming 546e3ac1d8 Merge branch 'master' into patch-2 2019-03-08 14:59:55 +08:00
Frost Ming 6b8745d361 Merge pull request #3532 from jamesstidard/docs-code-option-clarfication
docs: code option clarification
2019-03-08 14:58:35 +08:00
frostming d3146d72fa add news 2019-03-08 14:54:54 +08:00
frostming fde365140c let windows user configure to have emojis 2019-03-08 14:48:01 +08:00
Frost Ming c72bc5f39c Merge branch 'master' into docs-code-option-clarfication 2019-03-08 13:39:33 +08:00
Dan Ryan 7413f2fdec Update lockfile and switch to the correct python version for tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-07 19:22:46 -05:00
Frost Ming 7dbd5feee1 Merge pull request #3519 from frob/patch-2
Replace (non-existant) video on docs index.rst with equivalent gif
2019-03-07 21:39:55 +08:00
Frost Ming d7dd54e2a3 Merge branch 'master' into patch-2 2019-03-07 17:36:19 +08:00
Daniel Phillips f22a564a2b Fix pip specifier documentation mistake where 'former' was incorrectly used instead of 'latter' (#3507) 2019-03-07 17:35:59 +08:00
Ori Avtalion db3b743a58 Use HTTPS for gif in README (#3498) 2019-03-07 14:22:57 +08:00
Dan Ryan 93b65fe795 Remove old constraint line from locking function
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-07 01:09:13 -05:00
Dan Ryan ecb3352d0c Merge branch 'master' into feature/keep-outdated-peep
Signed-off-by: Dan Ryan <dan@danryan.co>
2019-03-07 01:03:49 -05:00
Jannis Leidel e2738a8aef Removing jezdez's testimonial (#3536)
As requested
2019-03-07 13:29:27 +08:00
Frost Ming c52d06b75d Merge pull request #3556 from hoboken515/bugfix/3502-trusted-host-custom-port
bugfix/3502 trusted host fails with custom port
2019-03-07 10:10:03 +08:00
Frost Ming bf2df74d72 Merge branch 'master' into bugfix/3502-trusted-host-custom-port 2019-03-07 09:07:15 +08:00
Frost Ming c862978445 Merge pull request #3562 from hroncok/i3292
Update pytest-pypi documentation not to be pytest-httpbin documentation
2019-03-07 09:06:33 +08:00
Dan Ryan 62a45e3323 Merge branch 'master' into bugfix/3502-trusted-host-custom-port 2019-03-06 19:09:01 -05:00