Commit Graph

169 Commits

Author SHA1 Message Date
Dan Ryan 978497183f Merge branch 'master' into proper-case-windows 2018-11-01 19:29:44 -04:00
Dan Ryan 83af37a2d1 Fix uninstallation if comments are present
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-11-01 16:20:45 -04:00
jxltom 9ff61c777b Add tests for locking editable packages with ref 2018-10-30 10:54:04 -04: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
frostming 14be3db996 Add test case for #3105 2018-10-26 17:22:41 +08:00
jxltom 91a63e07e2 Add test on locking package with extras 2018-10-21 12:53:33 +08:00
Dan Ryan 9bdbe3464d syntax error...
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-13 04:42:32 -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 e79f470f83 Merge branch 'master' into fixed-editable-package-with-marker-cannot-lock 2018-10-12 15:34:02 -04:00
Dan Ryan b408fd3dd3 Fix pipenv clean tests
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-10-10 10:18:57 -04:00
Grey Baker e04b84d36b Fix parsing of outline tables 2018-10-09 23:10:47 +01:00
jxltom 6525e31e51 Add test on locking editable package with markers 2018-10-08 13:20:54 +08:00
Dan Ryan 3d33e5a257 Update requirementslib and fix VCS installation
Signed-off-by: Dan Ryan <dan@danryan.co>

Don't re-clone repos now that this works

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

Prune peeps directory from manifest

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

Fix nonetype uris

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

Manually lock requirements?

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

Update requirementslib - leave context before updating sha

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

Fix requirementslib vcs checkouts

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

fix tmpdir implementation

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

final fix for vcs uris

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

Allow for adding requirements objects directly to pipfile

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

Update piptools patch

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan cd5cad30be Refactor CLI for organization and simplicity
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-09-05 12:47:10 +08:00
Dan Ryan fedda7f2c4 Clean up test 2018-09-05 12:47:10 +08:00
Mickaël Schoentgen 25a4b558cd Fix 2 ResourceWarning: unclosed file, in tests 2018-09-01 15:58:33 +02:00
Dan Ryan bd7b6004fe Update requirementslib and re-patch piptools
- Fix attempted hashing of `ssh://` urls
- Fix URL parsing and conversions of `git` and `git+ssh` style vcs urls
- Fixes #2653
- Fixes #2446
- Update lockfile
- Vendor typing
- Add typing to setup.py
- Add click completion patch and update vendoring task
- Fix vendoring script
- Vendor enum34
- Update requirementslib and cleanup vcs check functionality
- Move enum and adjust patched click completion
- Update click completion
- Bump requirementslib again
- Move typing to backports, update tests
- Update tomlkit imports and backport typing module

Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-27 15:59:36 -04:00
Dan Ryan 5ae2433bcf now does it work?
Signed-off-by: Dan Ryan <dan@danryan.co>
2018-08-22 03:18:03 -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
Dan Ryan ced489c39e Merge branch 'master' into master 2018-08-19 21:29:18 -04:00
MarkKoz 86f9f4fccc add test for venv file with a relative path 2018-08-06 12:36:40 -07:00
MarkKoz e4a845fb31 update docstrings for tests 2018-08-06 12:32:54 -07:00
MarkKoz 1fa14eaffd add missing decorator for test_venv_file_with_name 2018-08-06 12:31:58 -07:00
MarkKoz 4844a0b7a1 remove requests package install in tests
We're only interested in testing if the virtual environment can be
successfully created.
2018-08-06 12:31:38 -07:00
MarkKoz 93d158b556 simplify venv location retrieval in tests 2018-08-06 12:30:42 -07:00
MarkKoz bab6429bd9 switch test_venv_file_exists back to test_venv_file_with_name 2018-08-06 12:29:34 -07:00
Alexandros Tzannes 86bbec18d9 Factor-out decorators for class tests 2018-08-06 10:44:10 -07:00
Alexandros Tzannes dd3b210862 Wrap two tests and helpers in a class 2018-08-06 10:41:16 -07:00
Alexandros Tzannes 3cc02ebd5d Break dependency-links test into two separate tests
Use helper functions to reduce code duplication since these two tests
are quasi-identical
2018-08-06 10:30:04 -07:00
Alexandros Tzannes 210a9d46fb Add back git+ssh version of dep-links test
See if it fails n build Kite
2018-08-06 10:04:16 -07:00
Dan Ryan d93d571d5e Merge branch 'master' into test/deplinks 2018-08-05 02:56:01 -04:00
Dan Ryan 0e7ddbccf3 Enable dependency link processing
- Use `PIP_PROCESS_DEPENDENCY_LINKS` to toggle the processing of dependency links
2018-08-05 02:49:18 -04:00
Dan Ryan 610f83bb76 fix inclusion of project name in wrong test 2018-08-04 20:13:20 -04:00
Dan Ryan fed71c78cf Remove old test line 2018-08-04 19:33:26 -04:00
Dan Ryan d2d5aa6bd4 Merge branch 'master' into master 2018-08-04 18:34:21 -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
Alexandros Tzannes 8f1d99256c Skip git+ssh test until we configure BildKite to have an SSH key-pair 2018-08-03 15:21:33 -07:00
Alexandros Tzannes f1cb2287ab Add -v flag to get better insight when it fails 2018-08-03 15:05:56 -07:00
Alexandros Tzannes e47fd53f95 [fixup] skip the git+ssh deplink
test if the git+https test works on Build Kite
2018-08-03 15:05:56 -07:00
Alexandros Tzannes 83ca4fbbb3 Add test for setup.py::dependency-link field 2018-08-03 15:05:56 -07:00
Alexandros Tzannes f65c0dfd63 Adding some git+git and git+ssh tests as examples 2018-08-03 15:05:29 -07:00
MarkKoz 96fec11b29 Fix virtualenv creation failure when a .venv file exists 2018-08-02 21:56:41 -07:00
MarkKoz 42de3d15ed Properly handle pre-existing .venv files 2018-08-02 21:01:34 -07:00
Louie Lu 79349dd8f1 Addressed uranusjr comments 2018-07-30 12:22:52 +08:00
Louie Lu 553ed8258c Add JSONDecodeError handling for get_lockfile_hash
Now will return None when facing JSONDecodeError when loading the lockfile.

do_init will remove the old lockfile and replace it.
2018-07-30 12:22:52 +08:00
Jacob Hayes b1ecc68951 Merge branch 'master' into 2504-fix-array-element-serialization 2018-07-12 15:20:15 -05:00