Commit Graph

26 Commits

Author SHA1 Message Date
Dan Ryan a3b5e8f374 Fix local serving of static resource fixtures
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-22 17:05:57 -05:00
Dan Ryan feab1aed39 Fix failures from missing pipfile before install
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-20 11:27:31 -05:00
Dan Ryan c8c78931f5 Merge branch 'master' into bugfix/3249 2018-11-19 12:20:09 -05:00
Dan Ryan 45e9f6e417 Fix parsing of markers in VCS requirements
- Parsing of markers in non-editable vcs requirements was broken
- This PR adds some VCS repos, some utility pipfile generation functions
  and some fixture helpers
- Fixes #3249

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-18 23:49:57 -05:00
Frost Ming 32f5d85b0b Pop VIRTUAL_ENV env
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 19:42:43 +08:00
Frost Ming 915b3c1334 ignore PIPENV_ACTIVE in testing
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 18:23:28 +08:00
Frost Ming 748d22b2f2 virtualenv fixture and a test case
Signed-off-by: Frost Ming <mianghong@gmail.com>
2018-11-17 13:08:12 +08:00
Dan Ryan 2b90c89d1f Revendor requirementslib
- Implement improvements and bugfixes in codebase
- Remote archives will now resolve properly

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-11 16:30:42 -05:00
Dan Ryan d069dff844 Update project and spinner outputs
Signed-off-by: Dan Ryan <dan@danryan.co>

Try again

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

Fix test config to skip failed removals

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

Update piptools to handle some errors

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

Fix test config to skip failed removals

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

Update tempfile.py

Use vistirs temporary directory implementation

Update temp_dir.py

Force pip to use weakrefs in tempdirs

Fix pip implementation to set name of tempdir

typo fix

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

fix pip tempdir implementation

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

Update tempfiles to use weakrefs

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

fix patch paths

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

Fix pip tempdir implementation

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

Syntax error fix

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

Unconstrain windows tests

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

Update dependencies, add news

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

Fix pythonfinder path search nesting bug

- Fixes #3121

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

Update requirementslib

- Fix subdirectory issue

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

Fix logic error

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

conditional builds

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:26 -04:00
Dan Ryan 6294c57070 Update pythonfinder
Signed-off-by: Dan Ryan <dan@danryan.co>

More debugging info

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

Fix stdout write bugs

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

Fix spinner invocations

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

Create missing directory

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

Filesystem encode envvars

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

convert envvars to strings

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

Update encodings

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

Update vistir to init colorama

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

Update vistir version number

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

add some debugging and vsts changes

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

fix delegator mod

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

Log to stderr so we can see it

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

Log to stderr so we can see it

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

Try importing colorama...

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

change variable setting syntax

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:12 -04:00
Dan Ryan 4dac167657 Vendor boltons
Signed-off-by: Dan Ryan <dan@danryan.co>

Update vendored dependencies

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

Fix file handle leaks

- Fix #3020
- Fix #3088
- Patch delegator
- Add weakref finalizer for tempfiles

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

Fix spinner handlers on windows

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

Fix spinner output and encoding issue

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

fix encoding

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

Fix unicode output on windows, fix tomlkit imports

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

Unvendor boltons, fix compatibility, update merge functionalities

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

Update pythonfinder, vistir version, requirementslib version

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

Fix vendoring script

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

Silence pip version checks

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

Add debugging to locking

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-30 01:07:07 -04:00
Dan Ryan 329183019a fix installation of non-editable requirements
- Fix tests to ensure commands return prior to follow ups

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-13 04:27:21 -04:00
Dan Ryan d5836ed3b0 Just strip https from test mirror index
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-22 03:10:34 -04:00
Dan Ryan b0085bbd97 configure cert bundle
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-22 02:50:58 -04:00
Dan Ryan e934ccc73c Minor adjustments to get CI passing
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-22 02:24:51 -04:00
Alexandros Tzannes 0081918e63 Skip some tests if we have not set-up SSH keys for GitHub 2018-08-03 16:20:59 -07:00
Jacob Hayes aaac6c6429 Replace test PYPI_VENDOR_DIR envvar with explicit package prep 2018-07-11 15:16:46 -05:00
Dan Ryan 39a363b780 Update references to Path
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-27 22:28:31 -04:00
Dan Ryan 470abeffde Update resolve() calls and requirementslib
- Accommodate ramdisks

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-06-13 18:59:43 -04:00
Dan Ryan 55e4eb07c7 Expand short paths on windows during testing
- Fixes #2132

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-05-09 00:40:47 -04:00
Kyle Altendorf 0aeee15c29 Merge branch 'master' into 1847-newlines 2018-05-02 09:23:02 -04:00
Dan Ryan 34caffc797 Backport NamedTemporaryFile for io.open support
- Allows atomic locking to use `newline` argument

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-04-30 23:35:58 -04:00
Kyle Altendorf 6d2e208aae Default to \n, retain consistent \r\n
When writing the Pipfile and Pipfile.lock make an effort to retain
their existing newlines if consistent.  Default to \n (LF) for new
files and files with inconsistent line endings.
2018-04-26 15:50:43 -04:00
Tzu-ping Chung 60a48c0436 Inject environs in another way 2018-04-12 18:03:36 +08:00
Tzu-ping Chung f730dd4899 Fix relative paths in tests 2018-04-12 17:48:53 +08:00
Tzu-ping Chung 4533e68bca Move things around 2018-04-12 17:35:17 +08:00